diff options
author | Starla Insigna <starla4444@gmail.com> | 2010-12-11 14:05:05 -0500 |
---|---|---|
committer | Starla Insigna <starla4444@gmail.com> | 2010-12-11 14:05:05 -0500 |
commit | 74db7a24d9c2230b104979f4e4981c57ff73de71 (patch) | |
tree | 3059bb0a955a662cd9e04208eb6276071cea4c8a /theme/layouts/4.5 | |
parent | 9efe4feaf5e19e51a18a229a6db36c5508e9faea (diff) | |
download | fourisland-74db7a24d9c2230b104979f4e4981c57ff73de71.tar.gz fourisland-74db7a24d9c2230b104979f4e4981c57ff73de71.tar.bz2 fourisland-74db7a24d9c2230b104979f4e4981c57ff73de71.zip |
Made Four Island 2 a little more sane
I spent the last few hours sanitizing the database and fixing huge bugs in the code. Among the changes made were: - "Theoretically related posts" have been removed due to the lack of FULLTEXT index support in InnoDB tables - Removed tons of stripslashes() calls that were used to remove slashes from records before I realized (while doing all of this work) that magic_quotes_gpc was on for some reason. I mean, like, come on! - Replaced all non-library uses of htmlentities() with htmlspecialchars(), which basically does the same thing except it doesn't mangle Unicode. - Completely eradicated polls. Note that this does mean that all database backups prior to December 11th 2010 are now incompatible with Four Island.
Diffstat (limited to 'theme/layouts/4.5')
-rwxr-xr-x | theme/layouts/4.5/headers.php | 3 | ||||
-rwxr-xr-x | theme/layouts/4.5/layout.tpl | 1 | ||||
-rwxr-xr-x | theme/layouts/4.5/navigation.css | 11 | ||||
-rwxr-xr-x | theme/layouts/4.5/style.css | 1 |
4 files changed, 1 insertions, 15 deletions
diff --git a/theme/layouts/4.5/headers.php b/theme/layouts/4.5/headers.php index bb5a179..ee84e2d 100755 --- a/theme/layouts/4.5/headers.php +++ b/theme/layouts/4.5/headers.php | |||
@@ -73,9 +73,6 @@ body.webs div#banner { | |||
73 | body.quotes div#banner { | 73 | body.quotes div#banner { |
74 | background-image: url("/theme/images/headers/quotes.png"); | 74 | background-image: url("/theme/images/headers/quotes.png"); |
75 | } | 75 | } |
76 | body.poll div#banner { | ||
77 | background-image: url("/theme/images/headers/potw.png"); | ||
78 | } | ||
79 | /* AID-Based Headers */ | 76 | /* AID-Based Headers */ |
80 | <?php | 77 | <?php |
81 | } | 78 | } |
diff --git a/theme/layouts/4.5/layout.tpl b/theme/layouts/4.5/layout.tpl index 27abd83..bb43e95 100755 --- a/theme/layouts/4.5/layout.tpl +++ b/theme/layouts/4.5/layout.tpl | |||
@@ -45,7 +45,6 @@ AudioPlayer.setup("http://fourisland.com/theme/js/audio-player/player.swf", { | |||
45 | <LI id="bannernav-projects"><A HREF="http://projects.fourisland.com/"><B><SPAN>Projects</SPAN></B></A></LI> | 45 | <LI id="bannernav-projects"><A HREF="http://projects.fourisland.com/"><B><SPAN>Projects</SPAN></B></A></LI> |
46 | <LI id="bannernav-fourm"><A HREF="/fourm/"><B><SPAN>Fourm</SPAN></B></A></LI> | 46 | <LI id="bannernav-fourm"><A HREF="/fourm/"><B><SPAN>Fourm</SPAN></B></A></LI> |
47 | <LI id="bannernav-wiki"><A HREF="/wiki/"><B><SPAN>Wiki</SPAN></B></A></LI> | 47 | <LI id="bannernav-wiki"><A HREF="/wiki/"><B><SPAN>Wiki</SPAN></B></A></LI> |
48 | <LI id="bannernav-poll"><A HREF="/poll/"><B><SPAN>Poll</SPAN></B></A></LI> | ||
49 | <LI id="bannernav-quotes"><A HREF="/quotes/"><B><SPAN>Quotes</SPAN></B></A></LI> | 48 | <LI id="bannernav-quotes"><A HREF="/quotes/"><B><SPAN>Quotes</SPAN></B></A></LI> |
50 | <LI id="bannernav-<!--LOWERLOGDATA-->"><A HREF="/fourm/ucp.php?mode=log<!--LOGDATA-->&redirect=<!--REDIRPAGE-->&sid=<!--SID-->"><B><SPAN>Log<!--LOGDATA--></SPAN></B></A></LI> | 49 | <LI id="bannernav-<!--LOWERLOGDATA-->"><A HREF="/fourm/ucp.php?mode=log<!--LOGDATA-->&redirect=<!--REDIRPAGE-->&sid=<!--SID-->"><B><SPAN>Log<!--LOGDATA--></SPAN></B></A></LI> |
51 | <!--BEGIN PANEL--> | 50 | <!--BEGIN PANEL--> |
diff --git a/theme/layouts/4.5/navigation.css b/theme/layouts/4.5/navigation.css index 4d3156b..386ac26 100755 --- a/theme/layouts/4.5/navigation.css +++ b/theme/layouts/4.5/navigation.css | |||
@@ -89,15 +89,6 @@ ul#bannernav li#bannernav-webs a:hover { | |||
89 | background-image: url("/theme/images/Links_ro.gif"); | 89 | background-image: url("/theme/images/Links_ro.gif"); |
90 | } | 90 | } |
91 | 91 | ||
92 | ul#bannernav li#bannernav-poll a { | ||
93 | background-image: url("/theme/images/Poll.gif"); | ||
94 | } | ||
95 | |||
96 | body.poll ul#bannernav li#bannernav-poll a, | ||
97 | ul#bannernav li#bannernav-poll a:hover { | ||
98 | background-image: url("/theme/images/Poll_ro.gif"); | ||
99 | } | ||
100 | |||
101 | ul#bannernav li#bannernav-quotes a { | 92 | ul#bannernav li#bannernav-quotes a { |
102 | background-image: url("/theme/images/Quotes.gif"); | 93 | background-image: url("/theme/images/Quotes.gif"); |
103 | } | 94 | } |
@@ -170,4 +161,4 @@ body.fourm ul#bannernav li#bannernav-search input { | |||
170 | margin-top: 0px; | 161 | margin-top: 0px; |
171 | font-size: 1.1em !important; | 162 | font-size: 1.1em !important; |
172 | margin-left: 28px; | 163 | margin-left: 28px; |
173 | } | 164 | } |
diff --git a/theme/layouts/4.5/style.css b/theme/layouts/4.5/style.css index a8b9306..7e8c2c4 100755 --- a/theme/layouts/4.5/style.css +++ b/theme/layouts/4.5/style.css | |||
@@ -17,7 +17,6 @@ body.fourm div#content { | |||
17 | } | 17 | } |
18 | 18 | ||
19 | body.fourm div#wrap, | 19 | body.fourm div#wrap, |
20 | body.poll div#wrap, | ||
21 | body.quotes div#wrap, | 20 | body.quotes div#wrap, |
22 | body.admin div#wrap { | 21 | body.admin div#wrap { |
23 | background-image: url(/theme/images/bg_body.gif); | 22 | background-image: url(/theme/images/bg_body.gif); |