OSDN Git Service

Small bug fix to AdminCP.
authorKazuki Przyborowski <kazuki.przyborowski@gmail.com>
Sat, 5 Jun 2010 22:06:25 +0000 (22:06 +0000)
committerKazuki Przyborowski <kazuki.przyborowski@gmail.com>
Sat, 5 Jun 2010 22:06:25 +0000 (22:06 +0000)
git-svn-id: svn://svn.code.sf.net/p/intdb/svn/trunk@517 2b68903e-0b30-0410-9a39-a2e4f3c5be39

inc/admin/main.php
inc/versioninfo.php

index ee2ca76..2a9bf78 100644 (file)
@@ -11,7 +11,7 @@
     Copyright 2004-2010 iDB Support - http://idb.berlios.de/
     Copyright 2004-2010 Game Maker 2k - http://gamemaker2k.org/
 
-    $FileInfo: main.php - Last Update: 06/02/2010 SVN 506 - Author: cooldude2k $
+    $FileInfo: main.php - Last Update: 06/05/2010 SVN 517 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="main.php"||$File3Name=="/main.php") {
@@ -105,6 +105,11 @@ if($Settings['vercheck']!=1&&
        $Settings['vercheck'] = 2; }
 if(!isset($Settings['start_date'])) {
        $Settings['start_date'] = GMTimeStamp(); }
+if(!isset($Settings['SQLThemes'])) {
+       $Settings['SQLThemes'] = 'off'; }
+if($Settings['SQLThemes']!="on"||
+       $Settings['SQLThemes']!="off") {
+       $Settings['SQLThemes'] = 'off'; }
 ?>
 <table class="Table3">
 <tr style="width: 100%; vertical-align: top;">
@@ -750,6 +755,7 @@ $BoardSettings=$pretext2[0]."\n".
 "\$Settings['idburl'] = ".null_string($Settings['idburl']).";\n".
 "\$Settings['enable_https'] = ".null_string($Settings['enable_https']).";\n".
 "\$Settings['weburl'] = ".null_string($Settings['weburl']).";\n".
+"\$Settings['SQLThemes'] = ".null_string($Settings['SQLThemes']).";\n".
 "\$Settings['use_gzip'] = ".null_string($Settings['use_gzip']).";\n".
 "\$Settings['html_type'] = ".null_string($Settings['html_type']).";\n".
 "\$Settings['html_level'] = ".null_string($Settings['html_level']).";\n".
@@ -902,6 +908,7 @@ $BoardSettings=$pretext2[0]."\n".
 "\$Settings['idburl'] = ".null_string($Settings['idburl']).";\n".
 "\$Settings['enable_https'] = ".null_string($Settings['enable_https']).";\n".
 "\$Settings['weburl'] = ".null_string($Settings['weburl']).";\n".
+"\$Settings['SQLThemes'] = ".null_string($Settings['SQLThemes']).";\n".
 "\$Settings['use_gzip'] = ".null_string($Settings['use_gzip']).";\n".
 "\$Settings['html_type'] = ".null_string($Settings['html_type']).";\n".
 "\$Settings['html_level'] = ".null_string($Settings['html_level']).";\n".
index 86b781c..21c1b57 100644 (file)
@@ -11,7 +11,7 @@
     Copyright 2004-2010 iDB Support - http://idb.berlios.de/
     Copyright 2004-2010 Game Maker 2k - http://gamemaker2k.org/
 
-    $FileInfo: versioninfo.php - Last Update: 06/05/2010 SVN 516 - Author: cooldude2k $
+    $FileInfo: versioninfo.php - Last Update: 06/05/2010 SVN 517 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="versioninfo.php"||$File3Name=="/versioninfo.php") {
@@ -27,7 +27,7 @@ function version_info($proname,$subver,$ver,$supver,$reltype,$svnver,$showsvn) {
        return $return_var; }
 // Version number and date stuff. :P
 $VER1[0] = 0; $VER1[1] = 4; $VER1[2] = 0; $VERFull[1] = $VER1[0].".".$VER1[1].".".$VER1[2];
-$VER2[0] = "Alpha"; $VER2[1] = "Al"; $VER2[2] = "SVN"; $SubVerN = 516; $RName = "iDB"; $SFName = "IntDB";
+$VER2[0] = "Alpha"; $VER2[1] = "Al"; $VER2[2] = "SVN"; $SubVerN = 517; $RName = "iDB"; $SFName = "IntDB";
 $SVNDay[0] = 06; $SVNDay[1] = 05; $SVNDay[2] = 2010; $SVNDay[3] = $SVNDay[0]."/".$SVNDay[1]."/".$SVNDay[2];
 $VerInfo['iDB_Ver'] = version_info($RName,$VER1[0],$VER1[1],$VER1[2],$VER2[1],$SubVerN,false);
 $VerInfo['iDB_Ver_SVN'] = version_info($RName,$VER1[0],$VER1[1],$VER1[2],$VER2[1],$SubVerN,true);