diff options
author | Starla Insigna <hatkirby@fourisland.com> | 2010-03-28 09:42:25 -0400 |
---|---|---|
committer | Starla Insigna <hatkirby@fourisland.com> | 2010-03-28 09:42:25 -0400 |
commit | ec5b2499fff7cd30e1c221dbd63b37ef507d41b8 (patch) | |
tree | 33155a39a545717958a45593c84cbbca4051bd4e /theme | |
parent | 93d3209110d435d43cc9016aa6cf4acff6028011 (diff) | |
download | fourisland-ec5b2499fff7cd30e1c221dbd63b37ef507d41b8.tar.gz fourisland-ec5b2499fff7cd30e1c221dbd63b37ef507d41b8.tar.bz2 fourisland-ec5b2499fff7cd30e1c221dbd63b37ef507d41b8.zip |
Added April Fools Day joke
Diffstat (limited to 'theme')
-rw-r--r-- | theme/images/afd-l7.png | bin | 0 -> 11912 bytes | |||
-rwxr-xr-x | theme/layouts/4.5/layout.tpl | 2 | ||||
-rwxr-xr-x | theme/layouts/6.2/style.php | 4 | ||||
-rwxr-xr-x | theme/layouts/7/holiday.php | 11 |
4 files changed, 15 insertions, 2 deletions
diff --git a/theme/images/afd-l7.png b/theme/images/afd-l7.png new file mode 100644 index 0000000..4d61fc5 --- /dev/null +++ b/theme/images/afd-l7.png | |||
Binary files differ | |||
diff --git a/theme/layouts/4.5/layout.tpl b/theme/layouts/4.5/layout.tpl index 6155d57..ea5884e 100755 --- a/theme/layouts/4.5/layout.tpl +++ b/theme/layouts/4.5/layout.tpl | |||
@@ -35,7 +35,7 @@ | |||
35 | <DIV ID="banner-nav"> | 35 | <DIV ID="banner-nav"> |
36 | <UL ID="bannernav"> | 36 | <UL ID="bannernav"> |
37 | <LI id="bannernav-home"><A HREF="/" REL="home"><B><SPAN>Home</SPAN></B></A></LI> | 37 | <LI id="bannernav-home"><A HREF="/" REL="home"><B><SPAN>Home</SPAN></B></A></LI> |
38 | <LI id="bannernav-projects"><A HREF="http://projects.fourisland.com"><B><SPAN>Projects</SPAN></B></A></LI> | 38 | <LI id="bannernav-projects"><A HREF="http://projects.fourisland.com/"><B><SPAN>Projects</SPAN></B></A></LI> |
39 | <LI id="bannernav-fourm"><A HREF="/fourm/"><B><SPAN>Fourm</SPAN></B></A></LI> | 39 | <LI id="bannernav-fourm"><A HREF="/fourm/"><B><SPAN>Fourm</SPAN></B></A></LI> |
40 | <LI id="bannernav-wiki"><A HREF="/wiki/"><B><SPAN>Wiki</SPAN></B></A></LI> | 40 | <LI id="bannernav-wiki"><A HREF="/wiki/"><B><SPAN>Wiki</SPAN></B></A></LI> |
41 | <LI id="bannernav-poll"><A HREF="/poll/"><B><SPAN>Poll</SPAN></B></A></LI> | 41 | <LI id="bannernav-poll"><A HREF="/poll/"><B><SPAN>Poll</SPAN></B></A></LI> |
diff --git a/theme/layouts/6.2/style.php b/theme/layouts/6.2/style.php index 7dff742..5cea4f8 100755 --- a/theme/layouts/6.2/style.php +++ b/theme/layouts/6.2/style.php | |||
@@ -22,9 +22,11 @@ if (!defined('S_INCLUDE_FILE')) {define('S_INCLUDE_FILE',1);} | |||
22 | 22 | ||
23 | require('headerproc.php'); | 23 | require('headerproc.php'); |
24 | 24 | ||
25 | include_once('../includes/specialdates.php'); | ||
26 | |||
25 | include('layouts/6.2/style.css'); | 27 | include('layouts/6.2/style.css'); |
26 | 28 | ||
27 | if (((date('G') >= 20) || (date('G') <= 6)) || isset($_GET['night']) && !isset($_GET['day'])) | 29 | if ((((date('G') >= 20) || (date('G') <= 6)) || (isset($_GET['night']) && !isset($_GET['day']))) && sd_ifNoSpecialDay()) |
28 | { | 30 | { |
29 | include('layouts/6.2/night.css'); | 31 | include('layouts/6.2/night.css'); |
30 | } else { | 32 | } else { |
diff --git a/theme/layouts/7/holiday.php b/theme/layouts/7/holiday.php index d9a9c10..54499a9 100755 --- a/theme/layouts/7/holiday.php +++ b/theme/layouts/7/holiday.php | |||
@@ -100,6 +100,17 @@ if (sd_isSpecialDay('Four Island A')) | |||
100 | $bgimgm = 'island6'; | 100 | $bgimgm = 'island6'; |
101 | } | 101 | } |
102 | 102 | ||
103 | if (sd_isSpecialDay('April Fools Day')) | ||
104 | { | ||
105 | ?> | ||
106 | |||
107 | div#banner { | ||
108 | background-image: url(/theme/images/afd-l7.png); | ||
109 | } | ||
110 | |||
111 | <?php | ||
112 | } | ||
113 | |||
103 | ?> | 114 | ?> |
104 | 115 | ||
105 | div#window { | 116 | div#window { |