From 74db7a24d9c2230b104979f4e4981c57ff73de71 Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Sat, 11 Dec 2010 14:05:05 -0500 Subject: 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. --- theme/layouts/4.5/headers.php | 3 --- theme/layouts/4.5/layout.tpl | 1 - theme/layouts/4.5/navigation.css | 11 +---------- theme/layouts/4.5/style.css | 1 - theme/layouts/6.2/layout.tpl | 7 ------- theme/layouts/7/layout.tpl | 7 ------- theme/layouts/subtle/layout.tpl | 7 ------- 7 files changed, 1 insertion(+), 36 deletions(-) (limited to 'theme/layouts') 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 { body.quotes div#banner { background-image: url("/theme/images/headers/quotes.png"); } -body.poll div#banner { - background-image: url("/theme/images/headers/potw.png"); -} /* AID-Based Headers */ Projects
  • Fourm
  • Wiki
  • -
  • Poll
  • Quotes
  • Log
  • 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 { background-image: url("/theme/images/Links_ro.gif"); } -ul#bannernav li#bannernav-poll a { - background-image: url("/theme/images/Poll.gif"); -} - -body.poll ul#bannernav li#bannernav-poll a, -ul#bannernav li#bannernav-poll a:hover { - background-image: url("/theme/images/Poll_ro.gif"); -} - ul#bannernav li#bannernav-quotes a { background-image: url("/theme/images/Quotes.gif"); } @@ -170,4 +161,4 @@ body.fourm ul#bannernav li#bannernav-search input { margin-top: 0px; font-size: 1.1em !important; margin-left: 28px; -} +} 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 { } body.fourm div#wrap, -body.poll div#wrap, body.quotes div#wrap, body.admin div#wrap { background-image: url(/theme/images/bg_body.gif); diff --git a/theme/layouts/6.2/layout.tpl b/theme/layouts/6.2/layout.tpl index 6ba1d1e..d0991ff 100755 --- a/theme/layouts/6.2/layout.tpl +++ b/theme/layouts/6.2/layout.tpl @@ -66,13 +66,6 @@ AudioPlayer.setup("http://fourisland.com/theme/js/audio-player/player.swf", { - > - - Polls - Polls - - - > Quotes diff --git a/theme/layouts/7/layout.tpl b/theme/layouts/7/layout.tpl index 2cacae5..5f722a3 100755 --- a/theme/layouts/7/layout.tpl +++ b/theme/layouts/7/layout.tpl @@ -146,13 +146,6 @@ AudioPlayer.setup("http://fourisland.com/theme/js/audio-player/player.swf", { - > - - Polls - Polls - - - > Quotes diff --git a/theme/layouts/subtle/layout.tpl b/theme/layouts/subtle/layout.tpl index ac57aa7..227c87b 100755 --- a/theme/layouts/subtle/layout.tpl +++ b/theme/layouts/subtle/layout.tpl @@ -58,13 +58,6 @@ AudioPlayer.setup("http://fourisland.com/theme/js/audio-player/player.swf", { - > - - Polls - Polls - - - > Quotes -- cgit 1.4.1