summary refs log tree commit diff stats
path: root/theme/admin
diff options
context:
space:
mode:
authorStarla Insigna <starla4444@gmail.com>2010-12-11 14:05:05 -0500
committerStarla Insigna <starla4444@gmail.com>2010-12-11 14:05:05 -0500
commit74db7a24d9c2230b104979f4e4981c57ff73de71 (patch)
tree3059bb0a955a662cd9e04208eb6276071cea4c8a /theme/admin
parent9efe4feaf5e19e51a18a229a6db36c5508e9faea (diff)
downloadfourisland-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/admin')
-rwxr-xr-xtheme/admin/header.tpl5
-rwxr-xr-xtheme/admin/welcome.tpl4
2 files changed, 0 insertions, 9 deletions
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 @@
22 <ul id="mainNav"> 22 <ul id="mainNav">
23 <li><a href="/admin/"<!--HOMEACTIVECAT-->>DASHBOARD</a></li> 23 <li><a href="/admin/"<!--HOMEACTIVECAT-->>DASHBOARD</a></li>
24 <li><a href="/admin/posts.php"<!--POSTSACTIVECAT-->>POSTS</a></li> 24 <li><a href="/admin/posts.php"<!--POSTSACTIVECAT-->>POSTS</a></li>
25 <li><a href="/admin/polls.php"<!--POLLSACTIVECAT-->>POLLS</a></li>
26 <li><a href="/admin/quotes.php"<!--QUOTESACTIVECAT-->>QUOTES</a></li> 25 <li><a href="/admin/quotes.php"<!--QUOTESACTIVECAT-->>QUOTES</a></li>
27 <li><a href="/admin/links.php"<!--LINKSACTIVECAT-->>LINKS</a></li> 26 <li><a href="/admin/links.php"<!--LINKSACTIVECAT-->>LINKS</a></li>
28 <li class="logout"><a href="/">FOUR ISLAND</a></li> 27 <li class="logout"><a href="/">FOUR ISLAND</a></li>
@@ -43,10 +42,6 @@
43 <li><a href="/admin/pending.php"<!--PENDINGACTIVE-->>Manage Pending Posts</a></li> 42 <li><a href="/admin/pending.php"<!--PENDINGACTIVE-->>Manage Pending Posts</a></li>
44 <li><a href="/admin/comments.php"<!--COMMENTSACTIVE-->>Moderate Comments</a></li> 43 <li><a href="/admin/comments.php"<!--COMMENTSACTIVE-->>Moderate Comments</a></li>
45 <!--END POSTSISACTIVECAT--> 44 <!--END POSTSISACTIVECAT-->
46 <!--BEGIN POLLSISACTIVECAT-->
47 <li><a href="/admin/newPoll.php"<!--NEWPOLLACTIVE-->>Write a new poll</a></li>
48 <li><a href="/admin/polls.php"<!--POLLSACTIVE-->>Manage Polls</a></li>
49 <!--END POLLSISACTIVECAT-->
50 <!--BEGIN QUOTESISACTIVECAT--> 45 <!--BEGIN QUOTESISACTIVECAT-->
51 <li><a href="/admin/quotes.php"<!--QUOTESACTIVE-->>Manage Quotes</a></li> 46 <li><a href="/admin/quotes.php"<!--QUOTESACTIVE-->>Manage Quotes</a></li>
52 <li><a href="/admin/modquotes.php"<!--MODQUOTESACTIVE-->>Moderate Quotes</a></li> 47 <li><a href="/admin/modquotes.php"<!--MODQUOTESACTIVE-->>Moderate Quotes</a></li>
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
@@ -9,9 +9,5 @@
9</p> 9</p>
10 10
11<p> 11<p>
12 There are <!--POLLS--> polls.
13</p>
14
15<p>
16 There are <!--QUOTES--> quotes, including <!--FLAGGED--> flagged quotes. There are also <!--MODCOM--> unmoderated quotes. 12 There are <!--QUOTES--> quotes, including <!--FLAGGED--> flagged quotes. There are also <!--MODCOM--> unmoderated quotes.
17</p> 13</p>