From: Kazuki Przyborowski Date: Wed, 25 Jun 2008 06:42:33 +0000 (+0000) Subject: Small bug fix. iDB is now valid at www.validome.org. ^_^ X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=992e64bcc055394bfd313c6fd7d72a4c32530295;p=idb%2FiDB.git.git Small bug fix. iDB is now valid at validome.org. ^_^ git-svn-id: svn://svn.code.sf.net/p/intdb/svn/trunk@168 2b68903e-0b30-0410-9a39-a2e4f3c5be39 --- diff --git a/inc/versioninfo.php b/inc/versioninfo.php index 1b38f66..2aa8fdd 100644 --- a/inc/versioninfo.php +++ b/inc/versioninfo.php @@ -11,7 +11,7 @@ Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/ Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/ - $FileInfo: versioninfo.php - Last Update: 06/24/2008 SVN 167 - Author: cooldude2k $ + $FileInfo: versioninfo.php - Last Update: 06/25/2008 SVN 168 - 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] = 2; $VERFull[1] = $VER1[0].".".$VER1[1].".".$VER1[2]; -$VER2[0] = "Pre-Alpha"; $VER2[1] = "PA"; $VER2[2] = "SVN"; $SubVerN = 167; $RName = "iDB"; $SFName = "IntDB"; -$SVNDay[0] = 06; $SVNDay[1] = 24; $SVNDay[2] = 2008; $SVNDay[3] = $SVNDay[0]."/".$SVNDay[1]."/".$SVNDay[2]; +$VER2[0] = "Pre-Alpha"; $VER2[1] = "PA"; $VER2[2] = "SVN"; $SubVerN = 168; $RName = "iDB"; $SFName = "IntDB"; +$SVNDay[0] = 06; $SVNDay[1] = 25; $SVNDay[2] = 2008; $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 22114a1..e7ff2aa 100644 --- a/inc/xhtml10.php +++ b/inc/xhtml10.php @@ -45,6 +45,7 @@ if($ThemeSet['CSSType']!="import"&& if($ThemeSet['CSSType']=="xhtml") { xml_tag_make("xml-stylesheet","type=text/css&href=".$ThemeSet['CSS']); } if($ThemeSet['CSSType']!="xhtml") { $ThemeSet['CSSType'] = "import"; } +@header("Content-Style-Type: text/css"); @header("Content-Script-Type: text/javascript"); if(isset($Settings['showverinfo'])) { $idbmisc['showverinfo'] = $Settings['showverinfo']; } if(!isset($Settings['showverinfo'])) { $idbmisc['showverinfo'] = false; } @@ -84,6 +85,7 @@ if($Settings['html_level']=="Strict") { ?> + diff --git a/inc/xhtml11.php b/inc/xhtml11.php index 4b5c4d8..aa27897 100644 --- a/inc/xhtml11.php +++ b/inc/xhtml11.php @@ -36,7 +36,6 @@ else { if (stristr($_SERVER["HTTP_USER_AGENT"],"W3C_Validator")) { xml_doc_start("1.0",$Settings['charset']); } else { $ccstart = "//"; @header("Content-Type: text/html; charset=".$Settings['charset']); } } } -@header("Content-Script-Type: text/javascript"); if($Settings['output_type']!="xhtml") { if($Settings['output_type']!="html") { $ccstart = "//"; @@ -48,6 +47,8 @@ if($ThemeSet['CSSType']!="import"&& if($ThemeSet['CSSType']=="xhtml") { xml_tag_make("xml-stylesheet","type=text/css&href=".$ThemeSet['CSS']); } if($ThemeSet['CSSType']!="xhtml") { $ThemeSet['CSSType'] = "import"; } +@header("Content-Style-Type: text/css"); +@header("Content-Script-Type: text/javascript"); if(isset($Settings['showverinfo'])) { $idbmisc['showverinfo'] = $Settings['showverinfo']; } if(!isset($Settings['showverinfo'])) { $idbmisc['showverinfo'] = false; } if($Settings['showverinfo']!==true) { @@ -74,6 +75,7 @@ if($Settings['idburl']!="localhost"&&$Settings['idburl']!=null) { +