OSDN Git Service

Fixed GZip ^_^ and another temp fix for /idb/inc/calendars.php <_<
authorKazuki Przyborowski <kazuki.przyborowski@gmail.com>
Thu, 28 Jun 2007 07:08:22 +0000 (07:08 +0000)
committerKazuki Przyborowski <kazuki.przyborowski@gmail.com>
Thu, 28 Jun 2007 07:08:22 +0000 (07:08 +0000)
git-svn-id: svn://svn.code.sf.net/p/intdb/svn/trunk@32 2b68903e-0b30-0410-9a39-a2e4f3c5be39

inc/calendars.php
inc/filename.php
inc/misc/setcheck.php
setup/setup.php

index 2f8dfbd..b5f33ae 100644 (file)
@@ -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: calendars.php - Last Update: 06/24/2007 SVN 27 - Author: cooldude2k $
+    $FileInfo: calendars.php - Last Update: 06/28/2007 SVN 32 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="calendars.php"||$File3Name=="/calendars.php") {
@@ -47,6 +47,8 @@ $EventStart=mysql_result($result,$is,"TimeStamp");
 $EventEnd=mysql_result($result,$is,"TimeStampEnd");
 $EventDay = GMTimeChange("j",$EventStart,$_SESSION['UserTimeZone'],0,$_SESSION['UserDST']);
 $EventDayEnd = GMTimeChange("j",$EventEnd,$_SESSION['UserTimeZone'],0,$_SESSION['UserDST']);
+$EventMonthEnd = GMTimeChange("m",$EventEnd,$_SESSION['UserTimeZone'],0,$_SESSION['UserDST']);
+if($EventMonthEnd!=$MyMonth) { $EventDayEnd = $CountDays; }
 $oldeventname=$EventName;
 $EventName1 = substr($EventName,0,10);
 if (strlen($EventName)>10) { $EventName1 = $EventName1."..."; }
index abe9a6e..55c5175 100644 (file)
@@ -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: 06/27/2007 SVN 31 - Author: cooldude2k $
+    $FileInfo: filename.php - Last Update: 06/28/2007 SVN 32 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="filename.php"||$File3Name=="/filename.php") {
@@ -44,8 +44,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 = 31; $RName = "iDB"; $SFName = "IntDB";
-$SVNDay[0] = 06; $SVNDay[1] = 27; $SVNDay[2] = 2007; $SVNDay[3] = $SVNDay[0]."/".$SVNDay[1]."/".$SVNDay[2];
+$VER2[0] = "Pre-Alpha"; $VER2[1] = "PA"; $VER2[2] = "SVN"; $SubVerN = 32; $RName = "iDB"; $SFName = "IntDB";
+$SVNDay[0] = 06; $SVNDay[1] = 28; $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);
index 83b1995..e05a45f 100644 (file)
     Copyright 2004-2007 Cool Dude 2k - http://intdb.sourceforge.net/
     Copyright 2004-2007 Game Maker 2k - http://upload.idb.s1.jcink.com/
 
-    $FileInfo: setcheck.php - Last Update: 06/27/2007 SVN 29 - Author: cooldude2k $
+    $FileInfo: setcheck.php - Last Update: 06/28/2007 SVN 32 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="setcheck.php"||$File3Name=="/setcheck.php") {
        require('index.php');
        exit(); }
 if(!isset($_GET['debug'])) { $_GET['debug'] = false; }
-if(!isset($GZipEncode)) { $GZipEncode = 'none'; }
+if(!isset($GZipEncode)) { $GZipEncode = array("Type" => "none"); }
+if(!is_array($GZipEncode)) { $GZipEncode = array("Type" => "none"); }
 if(!isset($preact)) { $preact = null; }
 if(!isset($Settings['hash_type'])) { $Settings['hash_type'] = null; }
 if(!isset($Error)) { $Error = null; }
index 6d41446..b494264 100644 (file)
@@ -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: setup.php - Last Update: 06/27/2007 SVN 29 - Author: cooldude2k $
+    $FileInfo: setup.php - Last Update: 06/28/2007 SVN 32 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="setup.php"||$File3Name=="/setup.php") {
@@ -80,7 +80,6 @@ fclose($fp);
 </tr><tr>
        <td style="width: 50%;"><label class="TextBoxLabel" for="WebURL">Insert The WebSite URL:</label></td>
        <td style="width: 50%;"><input type="text" class="TextBox" name="WebURL" size="20" id="WebURL" value="<?php echo $prehost.$_SERVER['HTTP_HOST']."/"; ?>" /></td>
-<?php /*
 </tr><tr>
        <td style="width: 50%;"><label class="TextBoxLabel" title="Can save some bandwidth." for="UseGzip">Do you want to HTTP Content Compression:</label></td>
        <td style="width: 50%;"><select size="1" class="TextBox" name="GZip" id="UseGzip">
@@ -89,7 +88,6 @@ fclose($fp);
        <option value="gzip">Only GZip</option>
        <option value="deflate">Only Deflate</option>
        </select></td>
-*/ ?>
 </tr><tr>
        <td style="width: 50%;"><label class="TextBoxLabel" for="HTMLType">HTML Type to use:</label></td>
        <td style="width: 50%;"><select size="1" class="TextBox" name="HTMLType" id="HTMLType">
@@ -97,7 +95,7 @@ fclose($fp);
        <option value="xhtml11">XHTML 1.1</option>
        </select></td>
 </tr><tr>
-       <td style="width: 50%;"><label class="TextBoxLabel" for="HTMLLevel">HTML level only for XHTML 1.0/HTML 4.01:</label></td>
+       <td style="width: 50%;"><label class="TextBoxLabel" for="HTMLLevel">HTML level only for XHTML 1.0:</label></td>
        <td style="width: 50%;"><select size="1" class="TextBox" name="HTMLLevel" id="HTMLLevel">
        <option value="Transitional">Transitional</option>
        <option value="Strict">Strict</option>
@@ -176,7 +174,6 @@ echo "<option value=\"".$showmin."\">0:".$showmin." minutes</option>\n"; }
 <table style="text-align: left;">
 <tr style="text-align: left;">
 <td style="width: 100%;">
-<input type="hidden" name="GZip" value="off" style="display: none;" />
 <input type="hidden" name="SetupType" value="install" style="display: none;" />
 <input type="hidden" name="act" value="Part4" style="display: none;" />
 <input type="submit" class="Button" value="Install Board" name="Install_Board" />