From f802d66a315d2c6fb1e37d628c02b20ab130e655 Mon Sep 17 00:00:00 2001 From: Kazuki Przyborowski Date: Tue, 3 Jul 2007 21:54:15 +0000 Subject: [PATCH] Fixed iDB bug in /idb/inc/xhtml10.php and /idb/inc/xhtml11.php git-svn-id: svn://svn.code.sf.net/p/intdb/svn/trunk@37 2b68903e-0b30-0410-9a39-a2e4f3c5be39 --- inc/filename.php | 6 +++--- inc/xhtml10.php | 4 ++-- inc/xhtml11.php | 4 ++-- setup/mktable.php | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/inc/filename.php b/inc/filename.php index 0bf25c0..d674fab 100644 --- a/inc/filename.php +++ b/inc/filename.php @@ -11,7 +11,7 @@ Copyright 2004-2007 Cool Dude 2k - http://intdb.sourceforge.net/ Copyright 2004-2007 Game Maker 2k - http://upload.idb.s1.jcink.com/ - $FileInfo: filename.php - Last Update: 07/02/2007 SVN 36 - Author: cooldude2k $ + $FileInfo: filename.php - Last Update: 07/03/2007 SVN 37 - Author: cooldude2k $ */ $File3Name = basename($_SERVER['SCRIPT_NAME']); if ($File3Name=="filename.php"||$File3Name=="/filename.php") { @@ -48,8 +48,8 @@ function version_info($proname,$subver,$ver,$supver,$reltype,$svnver,$showsvn) { if($showsvn!=true&&$showsvn!=null) { $return_var .= " ".$showsvn." ".$svnver; } return $return_var; } $VER1[0] = 0; $VER1[1] = 1; $VER1[2] = 5; $VERFull[1] = $VER1[0].".".$VER1[1].".".$VER1[2]; -$VER2[0] = "Pre-Alpha"; $VER2[1] = "PA"; $VER2[2] = "SVN"; $SubVerN = 36; $RName = "iDB"; $SFName = "IntDB"; -$SVNDay[0] = 07; $SVNDay[1] = 02; $SVNDay[2] = 2007; $SVNDay[3] = $SVNDay[0]."/".$SVNDay[1]."/".$SVNDay[2]; +$VER2[0] = "Pre-Alpha"; $VER2[1] = "PA"; $VER2[2] = "SVN"; $SubVerN = 37; $RName = "iDB"; $SFName = "IntDB"; +$SVNDay[0] = 07; $SVNDay[1] = 03; $SVNDay[2] = 2007; $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/inc/xhtml10.php b/inc/xhtml10.php index 7a0244c..c68342d 100644 --- a/inc/xhtml10.php +++ b/inc/xhtml10.php @@ -11,7 +11,7 @@ Copyright 2004-2007 Cool Dude 2k - http://intdb.sourceforge.net/ Copyright 2004-2007 Game Maker 2k - http://upload.idb.s1.jcink.com/ - $FileInfo: xhtml10.php - Last Update: 07/02/2007 SVN 36 - Author: cooldude2k $ + $FileInfo: xhtml10.php - Last Update: 07/03/2007 SVN 37 - Author: cooldude2k $ */ $File3Name = basename($_SERVER['SCRIPT_NAME']); if ($File3Name=="xhtml10.php"||$File3Name=="/xhtml10.php") { @@ -40,7 +40,7 @@ if($ThemeSet['CSSType']!="import"&& $ThemeSet['CSSType']!="xml") { $ThemeSet['CSSType'] = "import"; } if($Settings['output_type']=="xhtml") { - xml_tag_make("xml-stylesheet","type=text/css&href=".$ThemeSet['CSS'); } + xml_tag_make("xml-stylesheet","type=text/css&href=".$ThemeSet['CSS']); } if($Settings['output_type']!="xhtml") { $ThemeSet['CSSType'] = "import"; } @header("Content-Script-Type: text/javascript"); if(isset($Settings['showverinfo'])) { $idbmisc['showverinfo'] = $Settings['showverinfo']; } diff --git a/inc/xhtml11.php b/inc/xhtml11.php index f014fc2..d67ebc9 100644 --- a/inc/xhtml11.php +++ b/inc/xhtml11.php @@ -11,7 +11,7 @@ Copyright 2004-2007 Cool Dude 2k - http://intdb.sourceforge.net/ Copyright 2004-2007 Game Maker 2k - http://upload.idb.s1.jcink.com/ - $FileInfo: xhtml11.php - Last Update: 07/02/2007 SVN 36 - Author: cooldude2k $ + $FileInfo: xhtml11.php - Last Update: 07/03/2007 SVN 37 - Author: cooldude2k $ */ $File3Name = basename($_SERVER['SCRIPT_NAME']); if ($File3Name=="xhtml11.php"||$File3Name=="/xhtml11.php") { @@ -43,7 +43,7 @@ if($ThemeSet['CSSType']!="import"&& $ThemeSet['CSSType']!="xml") { $ThemeSet['CSSType'] = "import"; } if($Settings['output_type']=="xhtml") { - xml_tag_make("xml-stylesheet","type=text/css&href=".$ThemeSet['CSS'); } + xml_tag_make("xml-stylesheet","type=text/css&href=".$ThemeSet['CSS']); } if($Settings['output_type']!="xhtml") { $ThemeSet['CSSType'] = "import"; } if(isset($Settings['showverinfo'])) { $idbmisc['showverinfo'] = $Settings['showverinfo']; } if(!isset($Settings['showverinfo'])) { $idbmisc['showverinfo'] = false; } diff --git a/setup/mktable.php b/setup/mktable.php index 787d244..8982115 100644 --- a/setup/mktable.php +++ b/setup/mktable.php @@ -12,7 +12,7 @@ Copyright 2004-2007 Game Maker 2k - http://upload.idb.s1.jcink.com/ iDB Installer made by Game Maker 2k - http://idb.berlios.net/ - $FileInfo: mktable.php - Last Update: 07/01/2007 SVN 35 - Author: cooldude2k $ + $FileInfo: mktable.php - Last Update: 07/03/2007 SVN 37 - Author: cooldude2k $ */ $File3Name = basename($_SERVER['SCRIPT_NAME']); if ($File3Name=="mktable.php"||$File3Name=="/mktable.php") { @@ -53,6 +53,6 @@ $query = "INSERT INTO ".$_POST['tableprefix']."permissions VALUES (1, 1, 'Admin' mysql_query($query); $query = "INSERT INTO ".$_POST['tableprefix']."catpermissions VALUES (1, 1, 'Admin', 1, 'yes'), (2, 2, 'Moderator', 1, 'yes'), (3, 3, 'Member', 1, 'yes'), (4, 4, 'Guest', 1, 'yes'), (5, 5, 'Banned', 1, 'no'), (6, 6, 'Validate', 1, 'yes');"; mysql_query($query); -$query = "INSERT INTO ".$_POST['tableprefix']."smileys VALUES (1, 'smile.gif', 'Happy', ':)', 'smileys/', 'yes', 'no'), (2, 'tongue.gif', 'Tongue', ':P', 'smileys/', 'yes', 'yes'), (3, 'tongue2.gif', 'Tongue', ':tongue:', 'smileys/', 'yes', 'yes'), (4, 'sweat.gif', 'Sweat', ':sweat:', 'smileys/', 'yes', 'yes'), (5, 'laugh.gif', 'lol', ':lol:', 'smileys/', 'yes', 'yes'), (6, 'cool.gif', 'Cool', 'B)', 'smileys/', 'yes', 'no'), (7, 'sleep.gif', 'Sleep', '-_-', 'smileys/', 'yes', 'no'), (8, 'sad.gif', 'Sad', ':(', 'smileys/', 'yes', 'no'), (9, 'angry.gif', 'Angry', ':angry:', 'smileys/', 'yes', 'yes'), (10, 'huh.gif', 'huh', ':huh:', 'smileys/', 'yes', 'yes'), (11, 'ohmy.gif', 'ohmy', ':o', 'smileys/', 'yes', 'yes'), (12, 'hmm.gif', 'hmm', ':unsure:', 'smileys/', 'yes', 'yes'), (13, 'mad.gif', 'Mad', ':mad:', 'smileys/', 'yes', 'yes'), (14, 'wub.gif', 'Wub', ':wub:', 'smileys/', 'yes', 'yes'), (15, 'x.gif', 'X', ':x:', 'smileys/', 'yes', 'yes');"; +$query = "INSERT INTO ".$_POST['tableprefix']."smileys VALUES (1, 'smile.gif', 'Happy', ':)', 'smileys/', 'yes', 'no'), (2, 'tongue.gif', 'Tongue', ':P', 'smileys/', 'yes', 'yes'), (3, 'tongue2.gif', 'Tongue', ':tongue:', 'smileys/', 'yes', 'yes'), (4, 'sweat.gif', 'Sweat', ':sweat:', 'smileys/', 'yes', 'yes'), (5, 'sweat.gif', 'Sweat', '^_^', 'smileys/', 'no', 'yes'), (6, 'laugh.gif', 'lol', ':lol:', 'smileys/', 'yes', 'yes'), (7, 'cool.gif', 'Cool', 'B)', 'smileys/', 'yes', 'no'), (8, 'sleep.gif', 'Sleep', '-_-', 'smileys/', 'yes', 'no'), (9, 'sad.gif', 'Sad', ':(', 'smileys/', 'yes', 'no'), (10, 'angry.gif', 'Angry', ':angry:', 'smileys/', 'yes', 'yes'), (11, 'huh.gif', 'huh', ':huh:', 'smileys/', 'yes', 'yes'), (12, 'ohmy.gif', 'ohmy', ':o', 'smileys/', 'yes', 'yes'), (13, 'hmm.gif', 'hmm', ':unsure:', 'smileys/', 'yes', 'yes'), (14, 'mad.gif', 'Mad', ':mad:', 'smileys/', 'yes', 'yes'), (15, 'wub.gif', 'Wub', ':wub:', 'smileys/', 'yes', 'yes'), (16, 'x.gif', 'X', ':x:', 'smileys/', 'yes', 'yes');"; mysql_query($query); ?> \ No newline at end of file -- 2.11.0