OSDN Git Service

Small bug fix. :o
authorKazuki Przyborowski <kazuki.przyborowski@gmail.com>
Tue, 19 Jul 2011 03:52:43 +0000 (03:52 +0000)
committerKazuki Przyborowski <kazuki.przyborowski@gmail.com>
Tue, 19 Jul 2011 03:52:43 +0000 (03:52 +0000)
git-svn-id: svn://svn.code.sf.net/p/intdb/svn/trunk@721 2b68903e-0b30-0410-9a39-a2e4f3c5be39

inc/endpage.php
inc/versioninfo.php

index 5c0d6fa..d2328ee 100644 (file)
@@ -11,7 +11,7 @@
     Copyright 2004-2011 iDB Support - http://idb.berlios.de/
     Copyright 2004-2011 Game Maker 2k - http://gamemaker2k.org/
 
-    $FileInfo: endpage.php - Last Update: 07/13/2011 SVN 709 - Author: cooldude2k $
+    $FileInfo: endpage.php - Last Update: 07/18/2011 SVN 721 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="endpage.php"||$File3Name=="/endpage.php") {
@@ -24,8 +24,8 @@ if($_SESSION['UserDST']=="off") { $MyDST = $checktimea['hour']; }
 if($MyDST>=0) { $TimeSign = "+"; }
 if($MyDST<0) { $TimeSign = "-"; $MyDST = abs($MyDST); }
 $MyDST = $MyDST.":".$checktimea['minute'];
-$MyTimeNow = GMTimeGet("g:i:s a",$_SESSION['UserTimeZone'],0,$_SESSION['UserDST']);
-$MyFullTimeNow = GMTimeGet("F j Y, g:i:s a",$_SESSION['UserTimeZone'],0,$_SESSION['UserDST']);
+$MyTimeNow = GMTimeGet($Settings['idb_time_format'],$_SESSION['UserTimeZone'],0,$_SESSION['UserDST']);
+$MyFullTimeNow = GMTimeGet("F j Y, ".$Settings['idb_time_format'],$_SESSION['UserTimeZone'],0,$_SESSION['UserDST']);
 $endpagevar=$endpagevar."<br />The time now is <span class=\"ctimenow\" title=\"".$MyFullTimeNow."\">".$MyTimeNow."</span> ".$ThemeSet['LineDivider']." All times are UTC ".$TimeSign." ".$MyDST; }
 function execution_time($starttime) {
 list($uetime, $etime) = explode(" ", microtime());
index 48b576a..75e04d9 100644 (file)
@@ -11,7 +11,7 @@
     Copyright 2008-2011 iDB Support - http://idb.berlios.de/
     Copyright 2008-2011 Game Maker 2k - http://gamemaker2k.org/
 
-    $FileInfo: versioninfo.php - Last Update: 07/18/2011 SVN 720 - Author: cooldude2k $
+    $FileInfo: versioninfo.php - Last Update: 07/18/2011 SVN 721 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="versioninfo.php"||$File3Name=="/versioninfo.php") {
@@ -27,7 +27,7 @@ function version_info($proname,$subver,$ver,$supver,$reltype,$svnver,$showsvn) {
        return $return_var; }
 // Version number and date stuff. :P
 $VER1[0] = 0; $VER1[1] = 4; $VER1[2] = 7; $VERFull[1] = $VER1[0].".".$VER1[1].".".$VER1[2];
-$VER2[0] = "Alpha"; $VER2[1] = "Al"; $VER2[2] = "SVN"; $SubVerN = 720;
+$VER2[0] = "Alpha"; $VER2[1] = "Al"; $VER2[2] = "SVN"; $SubVerN = 721;
 $SVNDay[0] = 07; $SVNDay[1] = 18; $SVNDay[2] = 2011; $SVNDay[3] = $SVNDay[0]."/".$SVNDay[1]."/".$SVNDay[2];
 $AltName = "RDB"; $AltName2 = "ReneeDB"; $RName = "iDB"; $SFName = "IntDB";
 $RFullName = "Internet Discussion Boards"; $AltFullName = "Renee Discussion Boards"; $AltGM2k = "ReneeDB Team";