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/admin/header.tpl | 5 -----
theme/admin/welcome.tpl | 4 ----
theme/header.tpl | 13 -------------
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 -------
10 files changed, 1 insertion(+), 58 deletions(-)
(limited to 'theme')
diff --git a/theme/admin/header.tpl b/theme/admin/header.tpl
index 62beb89..6def3fe 100755
--- a/theme/admin/header.tpl
+++ b/theme/admin/header.tpl
@@ -22,7 +22,6 @@
- >DASHBOARD
- >POSTS
- - >POLLS
- >QUOTES
- >LINKS
- FOUR ISLAND
@@ -43,10 +42,6 @@
- >Manage Pending Posts
- >Moderate Comments
-
- - >Write a new poll
- - >Manage Polls
-
- >Manage Quotes
- >Moderate Quotes
diff --git a/theme/admin/welcome.tpl b/theme/admin/welcome.tpl
index dc4e246..6c37c93 100755
--- a/theme/admin/welcome.tpl
+++ b/theme/admin/welcome.tpl
@@ -8,10 +8,6 @@
There are unmoderated comments.
-
- There are polls.
-
-
There are quotes, including flagged quotes. There are also unmoderated quotes.
diff --git a/theme/header.tpl b/theme/header.tpl
index 014e34b..bd1df91 100755
--- a/theme/header.tpl
+++ b/theme/header.tpl
@@ -53,12 +53,6 @@
-
-