From 4ddfdfe0b583bce40b6b8978d67662f31d8384d9 Mon Sep 17 00:00:00 2001 From: Kazuki Przyborowski Date: Wed, 6 May 2009 07:14:31 +0000 Subject: [PATCH] Yet another update to Low View (Lo-Fi). git-svn-id: svn://svn.code.sf.net/p/intdb/svn/trunk@250 2b68903e-0b30-0410-9a39-a2e4f3c5be39 --- inc/lowreplies.php | 11 +---------- inc/members.php | 6 +++--- inc/profilemain.php | 8 ++++---- inc/versioninfo.php | 8 ++++---- inc/xhtml10.php | 18 +++++++++++++++++- inc/xhtml11.php | 17 +++++++++++++++++ setup/setup.php | 2 +- 7 files changed, 47 insertions(+), 23 deletions(-) diff --git a/inc/lowreplies.php b/inc/lowreplies.php index 4fee4cd..4134bb1 100644 --- a/inc/lowreplies.php +++ b/inc/lowreplies.php @@ -299,13 +299,4 @@ $ReplyNum = $i + $PageLimit + 1;
 
+?>
 
diff --git a/inc/members.php b/inc/members.php index 16d0096..8a2f2f4 100644 --- a/inc/members.php +++ b/inc/members.php @@ -8,8 +8,8 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Revised BSD License for more details. - Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/ - Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/ + Copyright 2004-2009 Cool Dude 2k - http://idb.berlios.de/ + Copyright 2004-2009 Game Maker 2k - http://intdb.sourceforge.net/ $FileInfo: members.php - Last Update: 2/22/2008 SVN 232 - Author: cooldude2k $ */ @@ -655,7 +655,7 @@ if($_SESSION['UserID']==0||$_SESSION['UserID']==null) { $tsa_mem = explode(":",$Settings['DefaultTimeZone']); $TimeZoneArray = array("offset" => $Settings['DefaultTimeZone'], "hour" => $tsa_mem[0], "minute" => $tsa_mem[1]); $plusi = 1; $minusi = 12; -$plusnum = 13; $minusnum = 0; +$plusnum = 15; $minusnum = 0; while ($minusi > $minusnum) { if($TimeZoneArray['hour']==-$minusi) { echo "\n"; } diff --git a/inc/profilemain.php b/inc/profilemain.php index 5ed31fd..9434cf9 100644 --- a/inc/profilemain.php +++ b/inc/profilemain.php @@ -8,8 +8,8 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Revised BSD License for more details. - Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/ - Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/ + Copyright 2004-2009 Cool Dude 2k - http://idb.berlios.de/ + Copyright 2004-2009 Game Maker 2k - http://intdb.sourceforge.net/ $FileInfo: profilemain.php - Last Update: 2/22/2008 SVN 232 - Author: cooldude2k $ */ @@ -401,7 +401,7 @@ $profiletitle = " ".$ThemeSet['TitleDivider']." Board Settings"; ?> $minusnum) { echo "\n"; --$minusi; } @@ -591,7 +591,7 @@ $profiletitle = " ".$ThemeSet['TitleDivider']." Profile Editor"; $minusnum) { echo "\n"; --$minusi; } diff --git a/inc/versioninfo.php b/inc/versioninfo.php index 4a0c636..7cc1b88 100644 --- a/inc/versioninfo.php +++ b/inc/versioninfo.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: versioninfo.php - Last Update: 5/04/2009 SVN 249 - Author: cooldude2k $ + $FileInfo: versioninfo.php - Last Update: 5/06/2009 SVN 250 - Author: cooldude2k $ */ $File3Name = basename($_SERVER['SCRIPT_NAME']); if ($File3Name=="versioninfo.php"||$File3Name=="/versioninfo.php") { @@ -26,9 +26,9 @@ function version_info($proname,$subver,$ver,$supver,$reltype,$svnver,$showsvn) { if($showsvn!==true&&$showsvn!=null) { $return_var .= " ".$showsvn." ".$svnver; } return $return_var; } // Version number and date stuff. :P -$VER1[0] = 0; $VER1[1] = 2; $VER1[2] = 6; $VERFull[1] = $VER1[0].".".$VER1[1].".".$VER1[2]; -$VER2[0] = "Pre-Alpha"; $VER2[1] = "PA"; $VER2[2] = "SVN"; $SubVerN = 249; $RName = "iDB"; $SFName = "IntDB"; -$SVNDay[0] = 5; $SVNDay[1] = 04; $SVNDay[2] = 2009; $SVNDay[3] = $SVNDay[0]."/".$SVNDay[1]."/".$SVNDay[2]; +$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 = 250; $RName = "iDB"; $SFName = "IntDB"; +$SVNDay[0] = 5; $SVNDay[1] = 06; $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); diff --git a/inc/xhtml10.php b/inc/xhtml10.php index 0fe1c7b..4b8ccda 100644 --- a/inc/xhtml10.php +++ b/inc/xhtml10.php @@ -38,7 +38,22 @@ if($Settings['output_type']!="xhtml") { if($Settings['output_type']!="html") { $ccstart = "//"; @header("Content-Type: text/html; charset=".$Settings['charset']); } } -if($checklowview===true) { $ThemeSet['CSSType'] = "lowview"; } +if($checklowview===true&&$_GET['act']=="lowview") { + $ThemeSet['CSSType'] = "lowview"; + $ThemeSet['ThemeName'] = "iDB Low Theme"; + $ThemeSet['ThemeMaker'] = "Kazuki"; + $ThemeSet['ThemeVersion'] = "0.2.5"; + $ThemeSet['ThemeVersionType'] = "Pre-Alpha"; + $ThemeSet['ThemeSubVersion'] = "SVN 222"; + $ThemeSet['MakerURL'] = "http://idb.berlios.de/support/?act=lowview"; + $ThemeSet['CopyRight'] = $ThemeSet['ThemeName']." was made by ".$ThemeSet['ThemeMaker'].""; + $ThemeInfo['ThemeName'] = $ThemeSet['ThemeName']; + $ThemeInfo['ThemeMaker'] = $ThemeSet['ThemeMaker']; + $ThemeInfo['ThemeVersion'] = $ThemeSet['ThemeVersion']; + $ThemeInfo['ThemeVersionType'] = $ThemeSet['ThemeVersionType']; + $ThemeInfo['ThemeSubVersion'] = $ThemeSet['ThemeSubVersion']; + $ThemeInfo['MakerURL'] = $ThemeSet['MakerURL']; + $ThemeInfo['CopyRight'] = $ThemeSet['CopyRight']; } if($ThemeSet['CSSType']!="import"&& $ThemeSet['CSSType']!="link"&& $ThemeSet['CSSType']!="lowview"&& @@ -148,3 +163,4 @@ color: #000000; + \ No newline at end of file diff --git a/inc/xhtml11.php b/inc/xhtml11.php index 1173895..92cc154 100644 --- a/inc/xhtml11.php +++ b/inc/xhtml11.php @@ -41,6 +41,22 @@ if($Settings['output_type']!="xhtml") { $ccstart = "//"; @header("Content-Type: text/html; charset=".$Settings['charset']); } } if($checklowview===true) { $ThemeSet['CSSType'] = "lowview"; } +if($checklowview===true&&$_GET['act']=="lowview") { + $ThemeSet['CSSType'] = "lowview"; + $ThemeSet['ThemeName'] = "iDB Low Theme"; + $ThemeSet['ThemeMaker'] = "Kazuki"; + $ThemeSet['ThemeVersion'] = "0.2.5"; + $ThemeSet['ThemeVersionType'] = "Pre-Alpha"; + $ThemeSet['ThemeSubVersion'] = "SVN 222"; + $ThemeSet['MakerURL'] = "http://idb.berlios.de/support/?act=lowview"; + $ThemeSet['CopyRight'] = $ThemeSet['ThemeName']." was made by ".$ThemeSet['ThemeMaker'].""; + $ThemeInfo['ThemeName'] = $ThemeSet['ThemeName']; + $ThemeInfo['ThemeMaker'] = $ThemeSet['ThemeMaker']; + $ThemeInfo['ThemeVersion'] = $ThemeSet['ThemeVersion']; + $ThemeInfo['ThemeVersionType'] = $ThemeSet['ThemeVersionType']; + $ThemeInfo['ThemeSubVersion'] = $ThemeSet['ThemeSubVersion']; + $ThemeInfo['MakerURL'] = $ThemeSet['MakerURL']; + $ThemeInfo['CopyRight'] = $ThemeSet['CopyRight']; } if($ThemeSet['CSSType']!="import"&& $ThemeSet['CSSType']!="link"&& $ThemeSet['CSSType']!="lowview"&& @@ -138,3 +154,4 @@ color: #000000; + \ No newline at end of file diff --git a/setup/setup.php b/setup/setup.php index 8f355cd..49cdc4b 100644 --- a/setup/setup.php +++ b/setup/setup.php @@ -118,7 +118,7 @@ fclose($fp); if(date("I")!=1) { $myofftime = SeverOffSet(); $mydstime = "off"; } if(date("I")==1) { $myofftime = SeverOffSet()-1; $mydstime = "on"; } $plusi = 1; $minusi = 12; -$plusnum = 13; $minusnum = 0; +$plusnum = 15; $minusnum = 0; while ($minusi > $minusnum) { if($myofftime==-$minusi) { echo "\n"; } -- 2.11.0