[Openupload-svn-update] SF.net SVN: openupload:[301] trunk/www/setup.inc.php
Status: Beta
Brought to you by:
tsdogs
|
From: <ts...@us...> - 2009-04-18 10:50:29
|
Revision: 301
http://openupload.svn.sourceforge.net/openupload/?rev=301&view=rev
Author: tsdogs
Date: 2009-04-18 10:50:19 +0000 (Sat, 18 Apr 2009)
Log Message:
-----------
Jochen Derwae - a few html fixes
Modified Paths:
--------------
trunk/www/setup.inc.php
Modified: trunk/www/setup.inc.php
===================================================================
--- trunk/www/setup.inc.php 2009-04-18 10:50:00 UTC (rev 300)
+++ trunk/www/setup.inc.php 2009-04-18 10:50:19 UTC (rev 301)
@@ -1,5 +1,40 @@
<?php
+/**
+ * Project: OpenUpload
+ * File: index.php
+ *
+ * LICENSE:
+ *
+ * Copyright 2008-2009 Alessandro Briosi
+ *
+ * This file is part of OpenUpload.
+ *
+ * OpenUpload is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * OpenUpload is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with OpenUpload; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * @link http://openupload.sf.net/
+ * @copyright 2008 Alessandro Briosi
+ * @author Alessandro Briosi <tsdogs at briosix dot org>
+ * @package OpenUpload
+ * @version 0.4
+ *
+ * 2009-04-16 - Jochen Derwae - www.coaladesign.com
+ * There was a small inconsistency in the html code at the bottom: body start tag was missing,
+ * head was closed before the styles and the root div wasn't closed
+ */
+
if (!defined('__VALID_CALLING_SCRIPT')) die('DIRECT ACCESS IS DENIED');
ob_start();
@@ -223,11 +258,11 @@
array ( 'id' => 2, 'ip' => '0.0.0.0/0', 'access' => 'allow', 'priority' => 9999999),
),
'langs' => array (
- array ('id' => 'en', 'name' => 'English', 'locale' => 'en_EN', 'browser' => '[en];[en-EN];[en-US]', 'charset' => 'utf8', 'active' => 1),
- array ('id' => 'it', 'name' => 'Italiano', 'locale' => 'it_IT.utf8', 'browser' => '[it];[it-IT]', 'charset' => 'utf8', 'active' => 1),
- array ('id' => 'fr', 'name' => 'Français', 'locale' => 'fr_FR.utf8', 'browser' => '[fr];[fr-FR]', 'charset' => 'utf8', 'active' => 1),
- array ('id' => 'de', 'name' => 'Deutsch', 'locale' => 'de_DE.utf8', 'browser' => '[de];[de-DE]', 'charset' => 'utf8', 'active' => 1),
- array ('id' => 'zh_CN', 'name' => '中文', 'locale' => 'zh_CN.utf8', 'browser' => '[zh];[zh-CN]', 'charset' => 'utf8', 'active' => 1),
+ array ('id' => 'en', 'name' => 'English', 'locale' => 'en_EN', 'browser' => '[en];[en-EN];[en-US]', 'charset' => 'utf-8', 'active' => 1),
+ array ('id' => 'it', 'name' => 'Italiano', 'locale' => 'it_IT.utf8', 'browser' => '[it];[it-IT]', 'charset' => 'utf-8', 'active' => 1),
+ array ('id' => 'fr', 'name' => 'Français', 'locale' => 'fr_FR.utf8', 'browser' => '[fr];[fr-FR]', 'charset' => 'utf-8', 'active' => 1),
+ array ('id' => 'de', 'name' => 'Deutsch', 'locale' => 'de_DE.utf8', 'browser' => '[de];[de-DE]', 'charset' => 'utf-8', 'active' => 1),
+ array ('id' => 'zh_CN', 'name' => '中文', 'locale' => 'zh_CN.utf8', 'browser' => '[zh];[zh-CN]', 'charset' => 'utf-8', 'active' => 1),
),
'users' => array (
array ( 'id' => 1, 'login' => '%1', 'password' => '%2', 'name' => 'Administrator', 'group_name' => '%3', 'email' => '%6',
@@ -548,7 +583,7 @@
<TD><input type="text" name="www_root" size="50" value="<?php echo $CONFIG['WWW_ROOT']; ?>"></TD></TR>
<TR><TD>DATA PATH:</TD>
<TD><input type="text" name="data_path" size="50" value="<?php echo $CONFIG['DATA_PATH']; ?>"></TD></TR>
-<TR><TD colspan="2"><input type="submit" value="Next >>"</TD></TR>
+<TR><TD colspan="2"><input type="submit" value="Next >>"></TD></TR>
</table>
</form>
<?php
@@ -1452,7 +1487,7 @@
?>
<html>
-<head><TITLE>OpenUpload Setup Script</TITLE></head>
+<head><TITLE>OpenUpload Setup Script</TITLE>
<style>
body {
font-family: Helvetica, Arial;
@@ -1547,6 +1582,8 @@
text-decoration: none;
}
</style>
+</head>
+<body>
<div>
<div id="header">
<div id="logo"><img src="<?php echo $path; ?>/img/openupload.jpg" border="0"></div>
@@ -1592,5 +1629,6 @@
<br /> <br />
<!-- footer -->
<div id="footer"><a href="http://openupload.sf.net">Open Upload</a> - Created by Alessandro Briosi © 2009</div>
+</div>
</body>
</html>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|