From 11fe5217b30f9a41e69c103608533d7a37755660 Mon Sep 17 00:00:00 2001 From: Kazuki Przyborowski Date: Fri, 17 Jul 2009 22:29:23 +0000 Subject: [PATCH] Small bug fixes. git-svn-id: svn://svn.code.sf.net/p/intdb/svn/trunk@273 2b68903e-0b30-0410-9a39-a2e4f3c5be39 --- inc/admin/categories.php | 16 ++++++++-------- inc/admin/forums.php | 18 +++++++++--------- inc/admin/main.php | 10 +++++----- inc/admin/table.php | 4 ++-- inc/versioninfo.php | 6 +++--- setup/license.php | 6 +++--- setup/presetup.php | 6 +++--- setup/setup.php | 6 +++--- 8 files changed, 36 insertions(+), 36 deletions(-) diff --git a/inc/admin/categories.php b/inc/admin/categories.php index 050f124..c46cf76 100644 --- a/inc/admin/categories.php +++ b/inc/admin/categories.php @@ -11,7 +11,7 @@ Copyright 2004-2009 iDB Support - http://idb.berlios.de/ Copyright 2004-2009 Game Maker 2k - http://gamemaker2k.org/ - $FileInfo: categories.php - Last Update: 7/16/2009 SVN 272 - Author: cooldude2k $ + $FileInfo: categories.php - Last Update: 7/17/2009 SVN 273 - Author: cooldude2k $ */ $File3Name = basename($_SERVER['SCRIPT_NAME']); if ($File3Name=="categories.php"||$File3Name=="/categories.php") { @@ -57,7 +57,7 @@ $admincptitle = " ".$ThemeSet['TitleDivider']." Adding new Category"; -
"> +"> @@ -211,7 +211,7 @@ $admincptitle = " ".$ThemeSet['TitleDivider']." Deleting a Category";
-"> +"> @@ -346,7 +346,7 @@ if(!isset($_POST['id'])) {
-"> +"> @@ -423,7 +423,7 @@ $CategoryType = strtolower($CategoryType);
-"> +"> @@ -570,7 +570,7 @@ if(!isset($_POST['id'])) {
-"> +"> @@ -714,7 +714,7 @@ $PermissionName = stripcslashes(htmlspecialchars($PermissionName, ENT_QUOTES, $S
-"> +"> @@ -767,7 +767,7 @@ mysql_query($query); } if(isset($_POST['id'])&&$_POST['subact']=="create") {
-"> +"> diff --git a/inc/admin/forums.php b/inc/admin/forums.php index 56ab7f7..7fbaa15 100644 --- a/inc/admin/forums.php +++ b/inc/admin/forums.php @@ -11,7 +11,7 @@ Copyright 2004-2009 iDB Support - http://idb.berlios.de/ Copyright 2004-2009 Game Maker 2k - http://gamemaker2k.org/ - $FileInfo: forums.php - Last Update: 6/16/2009 SVN 264 - Author: cooldude2k $ + $FileInfo: forums.php - Last Update: 7/17/2009 SVN 273 - Author: cooldude2k $ */ $File3Name = basename($_SERVER['SCRIPT_NAME']); if ($File3Name=="forums.php"||$File3Name=="/forums.php") { @@ -57,7 +57,7 @@ $admincptitle = " ".$ThemeSet['TitleDivider']." Adding new Forum";
-"> +"> @@ -247,7 +247,7 @@ $admincptitle = " ".$ThemeSet['TitleDivider']." Deleting a Forum";
-"> +"> @@ -365,7 +365,7 @@ if(!isset($_POST['id'])) {
-"> +"> @@ -450,7 +450,7 @@ $ForumType = strtolower($ForumType); $CanHaveTopics = strtolower($CanHaveTopics)
-"> +"> @@ -642,7 +642,7 @@ if(!isset($_POST['id'])) {
-"> +"> @@ -802,7 +802,7 @@ $PermissionName = stripcslashes(htmlspecialchars($PermissionName, ENT_QUOTES, $S
-"> +"> @@ -966,7 +966,7 @@ mysql_query($query); } if(isset($_POST['id'])&&$_POST['subact']=="create") {
-"> +"> @@ -1209,4 +1209,4 @@ $admincptitle = " ".$ThemeSet['TitleDivider']." Updating Settings";
-
 
\ No newline at end of file +
 
diff --git a/inc/admin/main.php b/inc/admin/main.php index 8e398a4..3ffba5a 100644 --- a/inc/admin/main.php +++ b/inc/admin/main.php @@ -11,7 +11,7 @@ Copyright 2004-2009 iDB Support - http://idb.berlios.de/ Copyright 2004-2009 Game Maker 2k - http://gamemaker2k.org/ - $FileInfo: main.php - Last Update: 6/16/2009 SVN 264 - Author: cooldude2k $ + $FileInfo: main.php - Last Update: 7/17/2009 SVN 273 - Author: cooldude2k $ */ $File3Name = basename($_SERVER['SCRIPT_NAME']); if ($File3Name=="main.php"||$File3Name=="/main.php") { @@ -171,7 +171,7 @@ $tsa = array("offset" => $Settings['DefaultTimeZone'], "hour" => $ts_array[0], "
-"> +"> @@ -375,7 +375,7 @@ require('settings.php'); $admincptitle = " ".$ThemeSet['TitleDivider']." Databas
-"> +"> @@ -445,7 +445,7 @@ require('settings.php'); $admincptitle = " ".$ThemeSet['TitleDivider']." Board I
-"> +"> @@ -500,4 +500,4 @@ fclose($fp); } if($_POST['update']=="now"&&$_GET['act']!=null) {
-
 
\ No newline at end of file +
 
diff --git a/inc/admin/table.php b/inc/admin/table.php index 93ea2f1..2536d45 100644 --- a/inc/admin/table.php +++ b/inc/admin/table.php @@ -11,7 +11,7 @@ Copyright 2004-2009 iDB Support - http://idb.berlios.de/ Copyright 2004-2009 Game Maker 2k - http://gamemaker2k.org/ - $FileInfo: table.php - Last Update: 7/16/2009 SVN 272 - Author: cooldude2k $ + $FileInfo: table.php - Last Update: 7/17/2009 SVN 273 - Author: cooldude2k $ */ $File3Name = basename($_SERVER['SCRIPT_NAME']); if ($File3Name=="table.php"||$File3Name=="/table.php") { @@ -75,7 +75,7 @@ if ($File3Name=="table.php"||$File3Name=="/table.php") {
Category Tool
- +
diff --git a/inc/versioninfo.php b/inc/versioninfo.php index 680079e..57e78f5 100644 --- a/inc/versioninfo.php +++ b/inc/versioninfo.php @@ -11,7 +11,7 @@ Copyright 2004-2009 iDB Support - http://idb.berlios.de/ Copyright 2004-2009 Game Maker 2k - http://gamemaker2k.org/ - $FileInfo: versioninfo.php - Last Update: 7/16/2009 SVN 272 - Author: cooldude2k $ + $FileInfo: versioninfo.php - Last Update: 7/17/2009 SVN 273 - Author: cooldude2k $ */ $File3Name = basename($_SERVER['SCRIPT_NAME']); if ($File3Name=="versioninfo.php"||$File3Name=="/versioninfo.php") { @@ -27,8 +27,8 @@ function version_info($proname,$subver,$ver,$supver,$reltype,$svnver,$showsvn) { return $return_var; } // Version number and date stuff. :P $VER1[0] = 0; $VER1[1] = 2; $VER1[2] = 8; $VERFull[1] = $VER1[0].".".$VER1[1].".".$VER1[2]; -$VER2[0] = "Pre-Alpha"; $VER2[1] = "PA"; $VER2[2] = "SVN"; $SubVerN = 272; $RName = "iDB"; $SFName = "IntDB"; -$SVNDay[0] = 7; $SVNDay[1] = 16; $SVNDay[2] = 2009; $SVNDay[3] = $SVNDay[0]."/".$SVNDay[1]."/".$SVNDay[2]; +$VER2[0] = "Pre-Alpha"; $VER2[1] = "PA"; $VER2[2] = "SVN"; $SubVerN = 273; $RName = "iDB"; $SFName = "IntDB"; +$SVNDay[0] = 7; $SVNDay[1] = 17; $SVNDay[2] = 2009; $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); $VerInfo['iDB_Full_Ver'] = version_info($RName,$VER1[0],$VER1[1],$VER1[2],$VER2[0],$SubVerN,false); diff --git a/setup/license.php b/setup/license.php index be778ae..947a127 100644 --- a/setup/license.php +++ b/setup/license.php @@ -12,7 +12,7 @@ Copyright 2004-2009 Game Maker 2k - http://gamemaker2k.org/ iDB Installer made by Game Maker 2k - http://idb.berlios.net/ - $FileInfo: license.php - Last Update: 6/16/2009 SVN 264 - Author: cooldude2k $ + $FileInfo: license.php - Last Update: 7/17/2009 SVN 273 - Author: cooldude2k $ */ $File3Name = basename($_SERVER['SCRIPT_NAME']); if ($File3Name=="presetup.php"||$File3Name=="/presetup.php") { @@ -23,7 +23,7 @@ if(!isset($SetupDir['convert'])) { $SetupDir['convert'] = "setup/convert/"; } ?> - \ No newline at end of file + diff --git a/setup/presetup.php b/setup/presetup.php index dfd9322..08c5196 100644 --- a/setup/presetup.php +++ b/setup/presetup.php @@ -12,7 +12,7 @@ Copyright 2004-2009 Game Maker 2k - http://gamemaker2k.org/ iDB Installer made by Game Maker 2k - http://idb.berlios.net/ - $FileInfo: presetup.php - Last Update: 6/16/2009 SVN 264 - Author: cooldude2k $ + $FileInfo: presetup.php - Last Update: 7/17/2009 SVN 273 - Author: cooldude2k $ */ $File3Name = basename($_SERVER['SCRIPT_NAME']); if ($File3Name=="presetup.php"||$File3Name=="/presetup.php") { @@ -30,7 +30,7 @@ if($Error!="Yes") { ?>
Category Tool
- +

@@ -43,4 +43,4 @@ if(!isset($SetupDir['convert'])) { $SetupDir['convert'] = "setup/convert/"; }
-
+ @@ -71,4 +71,4 @@ if($Error!="Yes") { - \ No newline at end of file + diff --git a/setup/setup.php b/setup/setup.php index 0465625..459f4e0 100644 --- a/setup/setup.php +++ b/setup/setup.php @@ -12,7 +12,7 @@ Copyright 2004-2009 Game Maker 2k - http://gamemaker2k.org/ iDB Installer made by Game Maker 2k - http://idb.berlios.net/ - $FileInfo: setup.php - Last Update: 6/16/2009 SVN 264 - Author: cooldude2k $ + $FileInfo: setup.php - Last Update: 7/17/2009 SVN 273 - Author: cooldude2k $ */ $File3Name = basename($_SERVER['SCRIPT_NAME']); if ($File3Name=="setup.php"||$File3Name=="/setup.php") { @@ -45,7 +45,7 @@ $fp = fopen("./settingsbak.php","w+"); fwrite($fp, $BoardSettings); fclose($fp); ?> - +
@@ -183,4 +183,4 @@ echo "\n"; } - \ No newline at end of file + -- 2.11.0