OSDN Git Service

Yet another small update.
authorKazuki Przyborowski <kazuki.przyborowski@gmail.com>
Wed, 3 Jun 2009 00:15:12 +0000 (00:15 +0000)
committerKazuki Przyborowski <kazuki.przyborowski@gmail.com>
Wed, 3 Jun 2009 00:15:12 +0000 (00:15 +0000)
git-svn-id: svn://svn.code.sf.net/p/intdb/svn/trunk@257 2b68903e-0b30-0410-9a39-a2e4f3c5be39

inc/versioninfo.php
inc/xhtml10.php
inc/xhtml11.php
mysql.php

index 313a361..eca77e5 100644 (file)
@@ -11,7 +11,7 @@
     Copyright 2004-2009 Cool Dude 2k - http://idb.berlios.de/
     Copyright 2004-2009 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: versioninfo.php - Last Update: 5/30/2009 SVN 256 - Author: cooldude2k $
+    $FileInfo: versioninfo.php - Last Update: 6/02/2009 SVN 257 - 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] = 7; $VERFull[1] = $VER1[0].".".$VER1[1].".".$VER1[2];
-$VER2[0] = "Pre-Alpha"; $VER2[1] = "PA"; $VER2[2] = "SVN"; $SubVerN = 256; $RName = "iDB"; $SFName = "IntDB";
-$SVNDay[0] = 5; $SVNDay[1] = 30; $SVNDay[2] = 2009; $SVNDay[3] = $SVNDay[0]."/".$SVNDay[1]."/".$SVNDay[2];
+$VER2[0] = "Pre-Alpha"; $VER2[1] = "PA"; $VER2[2] = "SVN"; $SubVerN = 257; $RName = "iDB"; $SFName = "IntDB";
+$SVNDay[0] = 6; $SVNDay[1] = 02; $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);
index 4b8ccda..c54d63e 100644 (file)
@@ -11,7 +11,7 @@
     Copyright 2004-2009 Cool Dude 2k - http://idb.berlios.de/
     Copyright 2004-2009 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: xhtml10.php - Last Update: 5/04/2009 SVN 249 - Author: cooldude2k $
+    $FileInfo: xhtml10.php - Last Update: 6/02/2009 SVN 257 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="xhtml10.php"||$File3Name=="/xhtml10.php") {
@@ -78,7 +78,7 @@ if($checklowview===true&&$_GET['act']!="lowview") { $extext = "<a href=\"".url_m
 if($checklowview===true&&$_GET['act']=="lowview") {  $extext = "<a href=\"".url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index'])."\">Hi-Version</a>"; }
 $endpagevar = "<div class=\"copyright\">Powered by ".$iDBURL1.$RName."</a> &copy; ".$GM2kURL." @ ".$csryear." - ".$cryear." <br />\n".$ThemeSet['CopyRight']." | ".$extext; 
 @header("Content-Language: en");
-@header("Vary: Accept");
+@header("Vary: Accept-Encoding");
 // Check if we are on a secure HTTP connection
 if($_SERVER['HTTPS']=="on") { $prehost = "https://"; }
 if($_SERVER['HTTPS']!="on") { $prehost = "http://"; }
@@ -108,6 +108,9 @@ if($Settings['html_level']=="Strict") { ?>
 <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $Settings['charset']; ?>" />
 <meta http-equiv="Content-Style-Type" content="text/css" />
 <meta http-equiv="Content-Script-Type" content="text/javascript" />
+<meta http-equiv="Cache-Control" content="private, no-cache, must-revalidate" />
+<meta http-equiv="Pragma" content="private, no-cache, must-revalidate" />
+<meta http-equiv="Expires" content="<?php echo gmdate("D, d M Y H:i:s")." GMT"; ?>" />
 <base href="<?php echo $BoardURL; ?>" />
 <?php if($Settings['showverinfo']=="on") { ?>
 <meta name="Generator" content="<?php echo $VerInfo['iDB_Ver_Show']; ?>" />
@@ -137,12 +140,16 @@ if($Settings['html_level']=="Strict") { ?>
 <link rel="Generator" href="http://idb.berlios.de/" title="<?php echo $iDB; ?>" />
 <?php } echo "\n"; ?>
 <?php if($ThemeSet['CSSType']=="import") { ?>
-<style type="text/css"><?php echo "\n@import url(\"".$ThemeSet['CSS']."\");\n"; ?></style>
+<style type="text/css">
+/* Import the theme css file */
+<?php echo "\n@import url(\"".$ThemeSet['CSS']."\");\n"; ?>
+</style><?php } if($ThemeSet['CSSType']=="link") { ?>
 <?php } if($ThemeSet['CSSType']=="link") { ?>
 <link rel="prefetch alternate stylesheet" href="<?php echo $ThemeSet['CSS']; ?>" />
 <link rel="stylesheet" type="text/css" href="<?php echo $ThemeSet['CSS']; ?>" />
 <?php } if($ThemeSet['CSSType']=="lowview") { ?>
 <style type="text/css">
+/* (Low View / Lo-Fi ) version start */
 body {
 background-color: #FFFFFF;
 color: #000000;
index 92cc154..bc01c4b 100644 (file)
@@ -11,7 +11,7 @@
     Copyright 2004-2009 Cool Dude 2k - http://idb.berlios.de/
     Copyright 2004-2009 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: xhtml11.php - Last Update: 5/04/2009 SVN 249 - Author: cooldude2k $
+    $FileInfo: xhtml11.php - Last Update: 6/02/2009 SVN 257 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="xhtml11.php"||$File3Name=="/xhtml11.php") {
@@ -81,7 +81,7 @@ if($checklowview===true&&$_GET['act']!="lowview") { $extext = "<a href=\"".url_m
 if($checklowview===true&&$_GET['act']=="lowview") {  $extext = "<a href=\"".url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index'])."\">Hi-Version</a>"; }
 $endpagevar = "<div class=\"copyright\">Powered by ".$iDBURL1.$RName."</a> &copy; ".$GM2kURL." @ ".$csryear." - ".$cryear." <br />\n".$ThemeSet['CopyRight']." | ".$extext; 
 @header("Content-Language: en");
-@header("Vary: Accept");
+@header("Vary: Accept-Encoding");
 // Check if we are on a secure HTTP connection
 if($_SERVER['HTTPS']=="on") { $prehost = "https://"; }
 if($_SERVER['HTTPS']!="on") { $prehost = "http://"; }
@@ -99,6 +99,9 @@ if($Settings['idburl']!="localhost"&&$Settings['idburl']!=null) {
 <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $Settings['charset']; ?>" />
 <meta http-equiv="Content-Style-Type" content="text/css" />
 <meta http-equiv="Content-Script-Type" content="text/javascript" />
+<meta http-equiv="Cache-Control" content="private, no-cache, must-revalidate" />
+<meta http-equiv="Pragma" content="private, no-cache, must-revalidate" />
+<meta http-equiv="Expires" content="<?php echo gmdate("D, d M Y H:i:s")." GMT"; ?>" />
 <base href="<?php echo $BoardURL; ?>" />
 <?php if($Settings['showverinfo']=="on") { ?>
 <meta name="Generator" content="<?php echo $VerInfo['iDB_Ver_Show']; ?>" />
@@ -128,12 +131,15 @@ if($Settings['idburl']!="localhost"&&$Settings['idburl']!=null) {
 <link rel="Generator" href="http://idb.berlios.de/" title="<?php echo $iDB; ?>" />
 <?php } echo "\n"; ?>
 <?php if($ThemeSet['CSSType']=="import") { ?>
-<style type="text/css"><?php echo "\n@import url(\"".$ThemeSet['CSS']."\");\n"; ?></style>
-<?php } if($ThemeSet['CSSType']=="link") { ?>
+<style type="text/css">
+/* Import the theme css file */
+<?php echo "\n@import url(\"".$ThemeSet['CSS']."\");\n"; ?>
+</style><?php } if($ThemeSet['CSSType']=="link") { ?>
 <link rel="prefetch alternate stylesheet" href="<?php echo $ThemeSet['CSS']; ?>" />
 <link rel="stylesheet" type="text/css" href="<?php echo $ThemeSet['CSS']; ?>" />
 <?php } if($ThemeSet['CSSType']=="lowview") { ?>
 <style type="text/css">
+/* (Low View / Lo-Fi ) version start */
 body {
 background-color: #FFFFFF;
 color: #000000;
index 7f12a8f..55ce4bb 100644 (file)
--- a/mysql.php
+++ b/mysql.php
@@ -11,7 +11,7 @@
     Copyright 2004-2009 Cool Dude 2k - http://idb.berlios.de/
     Copyright 2004-2009 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: mysql.php - Last Update: 5/08/2009 SVN 251 - Author: cooldude2k $
+    $FileInfo: mysql.php - Last Update: 6/02/2009 SVN 257 - Author: cooldude2k $
 */
 //@ini_set("display_errors", true); 
 //@ini_set("display_startup_errors", true);
@@ -153,9 +153,9 @@ if($cookieSecure===true) {
 @session_set_cookie_params(0, $cbasedir, $cookieDomain, 1); }
 if($cookieSecure===false) {
 @session_set_cookie_params(0, $cbasedir, $cookieDomain); } }
-@session_cache_limiter("private, must-revalidate");
-@header("Cache-Control: private, must-revalidate"); // IE 6 Fix
-@header("Pragma: private, must-revalidate");
+@session_cache_limiter("private, no-cache, must-revalidate");
+@header("Cache-Control: private, no-cache, must-revalidate");
+@header("Pragma: private, no-cache, must-revalidate");
 @header("Date: ".gmdate("D, d M Y H:i:s")." GMT");
 @header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
 @header("Expires: ".gmdate("D, d M Y H:i:s")." GMT");