summary refs log tree commit diff stats
path: root/includes/header.php
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2009-03-28 09:52:01 -0400
committerStarla Insigna <hatkirby@fourisland.com>2009-03-28 09:52:01 -0400
commit623c36e777ddf7566f338619a21c07e2f1775b71 (patch)
tree8d4306a72c63a533934c45351947b1b33c1476f7 /includes/header.php
parent142a61668c243e88c3ab8b1e9105602f5f97d348 (diff)
downloadfourisland-623c36e777ddf7566f338619a21c07e2f1775b71.tar.gz
fourisland-623c36e777ddf7566f338619a21c07e2f1775b71.tar.bz2
fourisland-623c36e777ddf7566f338619a21c07e2f1775b71.zip
Improved rendering in IE
Now, Four Island doesn't look downright disgusting in IE, even though there are still a couple more problems to be fixed. Also, a small amount of CSS
housekeeping was done.
Diffstat (limited to 'includes/header.php')
-rwxr-xr-xincludes/header.php12
1 files changed, 9 insertions, 3 deletions
diff --git a/includes/header.php b/includes/header.php index 8b9810a..427ad93 100755 --- a/includes/header.php +++ b/includes/header.php
@@ -24,12 +24,18 @@ require('headerproc.php');
24 24
25$headerTemp = new FITemplate('header'); 25$headerTemp = new FITemplate('header');
26 26
27if ((date('G') >= 20) || (date('G') <= 6)) 27if (!isset($_GET['emulateTime']))
28{ 28{
29 $bodyID = 'night'; 29 if ((date('G') >= 20) || (date('G') <= 6))
30 {
31 $bodyID = 'night';
32 } else {
33 $bodyID = 'day';
34 }
30} else { 35} else {
31 $bodyID = 'day'; 36 $bodyID = $_GET['emulateTime'];
32} 37}
38
33$headerTemp->add('BODYID',$bodyID); 39$headerTemp->add('BODYID',$bodyID);
34$headerTemp->add('CATEGORY',(isset($pageCategory)) ? $pageCategory : 'none'); 40$headerTemp->add('CATEGORY',(isset($pageCategory)) ? $pageCategory : 'none');
35$headerTemp->add('AID',(isset($pageAID)) ? $pageAID : 'none'); 41$headerTemp->add('AID',(isset($pageAID)) ? $pageAID : 'none');