From 893957c41481a0cd5eb624096337762ffa54ff28 Mon Sep 17 00:00:00 2001
From: Starla Insigna
Date: Sun, 9 Aug 2009 09:14:58 -0400
Subject: Created layout 7
The following changes were also made in this revision:
* All HTML was changed to XHTML and a !DOCTYPE was included to reflect this
* Rewrote quotes tracking system to be much less complicated and actually working
* Changed quotes rendering to look more like Chirpy than Rash
* Fixed comment textarea bug
* Rewrote a ton of CSS so it's not as bloated
* Added a JavaScript confirmation when deleting a comment
* AJAXified voting on the POTW
* AJAXified voting and flagging quotes
* AJAXified commenting
* AJAXified voting on posts
* Added DateFinder back after it was accidentally deleted in Layout 4.5
The following database changes must be performed as soon as possible:
* Fix title of NO post (the < is missing the semicolon)
* Restore post Frasty Tha Snaman from a backup
* Reset "flag" field of all rows in "rash_quotes" to 0
* Remove the "vote" and "flag" columns of "rash_tracking"
* Rename the "quote_id" column of "rash_tracking" to "vote"
The following external code changes must also be performed as soon as possible:
* Add the following line to the end of the // Four Island block in The Fourm's functions.php:
require('/svr/www/hatkirby/fourisland/main/includes/specialdates.php');
---
theme/addresses.tpl | 8 +-
theme/admin/deleteDraft.tpl | 8 +-
theme/admin/deletePending.tpl | 8 +-
theme/admin/deletePost.tpl | 8 +-
theme/admin/deletedDraft.tpl | 8 +-
theme/admin/deletedPending.tpl | 8 +-
theme/admin/deletedPost.tpl | 8 +-
theme/admin/draftSuccess.tpl | 12 +-
theme/admin/editDraft.tpl | 26 +-
theme/admin/editPending.tpl | 14 +-
theme/admin/editPost.tpl | 14 +-
theme/admin/index.tpl | 46 ++--
theme/admin/maintenanceMode.tpl | 24 +-
theme/admin/manageDrafts.tpl | 36 +--
theme/admin/managePending.tpl | 40 +--
theme/admin/managePendingQuotes.tpl | 30 +-
theme/admin/managePosts.tpl | 36 +--
theme/admin/moderateComments.tpl | 36 +--
theme/admin/newPoll.tpl | 18 +-
theme/admin/pendingSuccess.tpl | 12 +-
theme/admin/pollrss.tpl | 10 +-
theme/admin/postSuccess.tpl | 12 +-
theme/admin/viewComment.tpl | 20 +-
theme/admin/write.tpl | 26 +-
theme/archive.tpl | 6 +-
theme/comments.tpl | 130 +++++----
theme/css.php | 32 +--
theme/css/blog.php | 18 +-
theme/css/bubbles.css | 91 +++---
theme/css/day.css | 4 -
theme/css/holiday.php | 43 ++-
theme/css/ie.css | 44 ---
theme/css/night.css | 25 --
theme/css/print.css | 38 ++-
theme/css/quotes.css | 61 ++++
theme/css/website.css | 458 +++++++++++++++----------------
theme/datefinder.tpl | 0
theme/errors/404.tpl | 202 +++++++-------
theme/footer.tpl | 91 +++---
theme/fuhsdiufgsadiufgaisfioas.tpl | 4 +-
theme/header.tpl | 293 +++++++++++++-------
theme/holidates.tpl | 15 +
theme/images/fourisland_header.png | Bin 24124 -> 0 bytes
theme/images/fourisland_header_night.png | Bin 19678 -> 0 bytes
theme/images/header-repeat.png | Bin 0 -> 218 bytes
theme/images/header.png | Bin 0 -> 16617 bytes
theme/images/icons/xhtml_valid.png | Bin 0 -> 718 bytes
theme/images/no-ie6.png | Bin 18666 -> 0 bytes
theme/login.tpl | 17 --
theme/maintenance.tpl | 8 +-
theme/msg.tpl | 2 +-
theme/msg2.tpl | 2 +-
theme/new-comment.tpl | 8 +
theme/pingbacks.tpl | 21 +-
theme/poll.tpl | 64 ++---
theme/pollIndex.tpl | 43 ++-
theme/polloftheweek.tpl | 86 +++---
theme/post.tpl | 135 +++++----
theme/postLogin.tpl | 16 --
theme/quotes/add.tpl | 22 +-
theme/quotes/browse.tpl | 92 ++++++-
theme/quotes/pagenumbers.tpl | 24 +-
theme/quotes/search.tpl | 34 +--
theme/related.tpl | 21 +-
64 files changed, 1396 insertions(+), 1222 deletions(-)
mode change 100755 => 100644 theme/css.php
delete mode 100755 theme/css/day.css
delete mode 100644 theme/css/ie.css
delete mode 100755 theme/css/night.css
create mode 100644 theme/css/quotes.css
mode change 100755 => 100644 theme/css/website.css
delete mode 100755 theme/datefinder.tpl
mode change 100755 => 100644 theme/footer.tpl
mode change 100755 => 100644 theme/header.tpl
create mode 100644 theme/holidates.tpl
delete mode 100755 theme/images/fourisland_header.png
delete mode 100644 theme/images/fourisland_header_night.png
create mode 100644 theme/images/header-repeat.png
create mode 100644 theme/images/header.png
create mode 100644 theme/images/icons/xhtml_valid.png
delete mode 100755 theme/images/no-ie6.png
delete mode 100755 theme/login.tpl
create mode 100644 theme/new-comment.tpl
delete mode 100755 theme/postLogin.tpl
(limited to 'theme')
diff --git a/theme/addresses.tpl b/theme/addresses.tpl
index 5b06a7a..6912405 100755
--- a/theme/addresses.tpl
+++ b/theme/addresses.tpl
@@ -1,9 +1,9 @@
-Click here for information about this page.
+Click here for information about this page.
-Calling all email-harvesting robots!
+Calling all email-harvesting robots!
-Come fetch 1000 juicy email addresses here:
+Come fetch 1000 juicy email addresses here:
-
+
diff --git a/theme/admin/deleteDraft.tpl b/theme/admin/deleteDraft.tpl
index 346604e..0b37a97 100755
--- a/theme/admin/deleteDraft.tpl
+++ b/theme/admin/deleteDraft.tpl
@@ -1,6 +1,6 @@
-Delete a Draft
+
Delete a Draft
-Are you ABSOLUTELY SURE that you want to delete this draft?
+
Are you ABSOLUTELY SURE that you want to delete this draft?
-Yes
-Ummm.... actually I'd rather not
+Yes
+Ummm.... actually I'd rather not
diff --git a/theme/admin/deletePending.tpl b/theme/admin/deletePending.tpl
index 03541f2..6a365c1 100755
--- a/theme/admin/deletePending.tpl
+++ b/theme/admin/deletePending.tpl
@@ -1,6 +1,6 @@
-Delete a Pending Post
+
Delete a Pending Post
-Are you ABSOLUTELY SURE that you want to delete this pending post?
+
Are you ABSOLUTELY SURE that you want to delete this pending post?
-Yes
-Ummm.... actually I'd rather not
+Yes
+Ummm.... actually I'd rather not
diff --git a/theme/admin/deletePost.tpl b/theme/admin/deletePost.tpl
index 8c08112..c3ef82b 100755
--- a/theme/admin/deletePost.tpl
+++ b/theme/admin/deletePost.tpl
@@ -1,6 +1,6 @@
-Delete a Post
+
Delete a Post
-Are you ABSOLUTELY SURE that you want to delete this post?
+
Are you ABSOLUTELY SURE that you want to delete this post?
-Yes
-Ummm.... actually I'd rather not
+Yes
+Ummm.... actually I'd rather not
diff --git a/theme/admin/deletedDraft.tpl b/theme/admin/deletedDraft.tpl
index dd449f6..edd0b55 100755
--- a/theme/admin/deletedDraft.tpl
+++ b/theme/admin/deletedDraft.tpl
@@ -1,6 +1,6 @@
You've just deleted a draft!
-
+
diff --git a/theme/admin/deletedPending.tpl b/theme/admin/deletedPending.tpl
index 220aa11..71100d6 100755
--- a/theme/admin/deletedPending.tpl
+++ b/theme/admin/deletedPending.tpl
@@ -1,6 +1,6 @@
You've just deleted a pending post!
-
+
diff --git a/theme/admin/deletedPost.tpl b/theme/admin/deletedPost.tpl
index 12cc68a..a1e77ef 100755
--- a/theme/admin/deletedPost.tpl
+++ b/theme/admin/deletedPost.tpl
@@ -1,6 +1,6 @@
You've just deleted a post!
-
+
diff --git a/theme/admin/draftSuccess.tpl b/theme/admin/draftSuccess.tpl
index 7d76d2a..aa0616e 100755
--- a/theme/admin/draftSuccess.tpl
+++ b/theme/admin/draftSuccess.tpl
@@ -1,8 +1,8 @@
Congradulations, you've just made/edited a draft!
-
+
diff --git a/theme/admin/editDraft.tpl b/theme/admin/editDraft.tpl
index 29c1fea..1431e79 100755
--- a/theme/admin/editDraft.tpl
+++ b/theme/admin/editDraft.tpl
@@ -1,14 +1,14 @@
-Edit a draft
+
Edit a draft
-
+
+ Draft Title:
+
+ Tags (comma-seperated):
+ Post Type:
+ Draft
+ Normal (Article-style) Post
+ High-Priority Post
+ Instant Post
+
+
+
diff --git a/theme/admin/editPending.tpl b/theme/admin/editPending.tpl
index 355e156..47859a5 100755
--- a/theme/admin/editPending.tpl
+++ b/theme/admin/editPending.tpl
@@ -1,8 +1,8 @@
-Edit a pending post
+
Edit a pending post
-
- Post Title:
-
- Tags (comma-seperated):
-
-
+
+ Post Title:
+
+ Tags (comma-seperated):
+
+
diff --git a/theme/admin/editPost.tpl b/theme/admin/editPost.tpl
index f7e44e3..99e90a4 100755
--- a/theme/admin/editPost.tpl
+++ b/theme/admin/editPost.tpl
@@ -1,8 +1,8 @@
-Edit a post
+
Edit a post
-
- Post Title:
-
- Tags (comma-seperated):
-
-
+
+ Post Title:
+
+ Tags (comma-seperated):
+
+
diff --git a/theme/admin/index.tpl b/theme/admin/index.tpl
index 866c900..4e57dd9 100755
--- a/theme/admin/index.tpl
+++ b/theme/admin/index.tpl
@@ -1,32 +1,32 @@
-Admin Panel
+
Admin Panel
-Welcome to the ubiquitous administration panel!
+Welcome to the ubiquitous administration panel!
-Blog
+Blog
-
+
-Poll
+Poll
-
+
-Quotes
+Quotes
-
+
-Administration
+Administration
-
+
diff --git a/theme/admin/maintenanceMode.tpl b/theme/admin/maintenanceMode.tpl
index 401d0ab..4247a62 100644
--- a/theme/admin/maintenanceMode.tpl
+++ b/theme/admin/maintenanceMode.tpl
@@ -1,15 +1,15 @@
-Maintenance Mode
+Maintenance Mode
-Here you can enable/disable Maintenance Mode. When Maintenance Mode is enabled, no one can access Four Island except localhost.
+Here you can enable/disable Maintenance Mode. When Maintenance Mode is enabled, no one can access Four Island except localhost.
-
-
- >On
- >Off
-
-
-
+
+
+ />On
+ />Off
+
+
+
-
- Back to Admin Panel
-
+
+ Back to Admin Panel
+
diff --git a/theme/admin/manageDrafts.tpl b/theme/admin/manageDrafts.tpl
index 8a498ac..142033a 100755
--- a/theme/admin/manageDrafts.tpl
+++ b/theme/admin/manageDrafts.tpl
@@ -1,24 +1,24 @@
-Manage Drafts
+Manage Drafts
-
-
- Draft Title
- Draft Author
- Actions
-
+
+
+ Draft Title
+ Draft Author
+ Actions
+
-
-
-
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
+
-Back to Admin Panel
+Back to Admin Panel
diff --git a/theme/admin/managePending.tpl b/theme/admin/managePending.tpl
index 8cce14c..6c98bf8 100755
--- a/theme/admin/managePending.tpl
+++ b/theme/admin/managePending.tpl
@@ -1,26 +1,26 @@
-Manage Pending
+Manage Pending
-
-
- Pending Post Title
- Pending Post Author
- Actions
-
+
+
+ Pending Post Title
+ Pending Post Author
+ Actions
+
-
-
-
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
+
-Back to Admin Panel
+Back to Admin Panel
diff --git a/theme/admin/managePendingQuotes.tpl b/theme/admin/managePendingQuotes.tpl
index 2d4a108..e993aae 100755
--- a/theme/admin/managePendingQuotes.tpl
+++ b/theme/admin/managePendingQuotes.tpl
@@ -1,21 +1,21 @@
-Manage Pending Quotes
+Manage Pending Quotes
-
-
- Quote
- Actions
-
+
+
+ Quote
+ Actions
+
-
-
+
+
-
-
-
-
-
+
+
+
+
+
-
+
-Back to Admin Panel
+Back to Admin Panel
diff --git a/theme/admin/managePosts.tpl b/theme/admin/managePosts.tpl
index 7e37b1f..41a2456 100755
--- a/theme/admin/managePosts.tpl
+++ b/theme/admin/managePosts.tpl
@@ -1,24 +1,24 @@
-Manage Posts
+Manage Posts
-
-
- Post Title
- Post Author
- Actions
-
+
+
+ Post Title
+ Post Author
+ Actions
+
-
-
-
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
+
-Back to Admin Panel
+Back to Admin Panel
diff --git a/theme/admin/moderateComments.tpl b/theme/admin/moderateComments.tpl
index f3da51c..7b41016 100755
--- a/theme/admin/moderateComments.tpl
+++ b/theme/admin/moderateComments.tpl
@@ -1,24 +1,24 @@
-Moderate Comments
+Moderate Comments
-
-
- Title of Article Commented Upon
- Comment Author
- Actions
-
+
+
+ Title of Article Commented Upon
+ Comment Author
+ Actions
+
-
-
-
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
+
-Back to Admin Panel
+Back to Admin Panel
diff --git a/theme/admin/newPoll.tpl b/theme/admin/newPoll.tpl
index 5f1d2a4..debc8f1 100755
--- a/theme/admin/newPoll.tpl
+++ b/theme/admin/newPoll.tpl
@@ -1,10 +1,10 @@
-Congradulations! You've successfully added a Poll RSS. Now it's time to add the new Poll Of The Week:
+Congradulations! You've successfully added a Poll RSS. Now it's time to add the new Poll Of The Week:
-
- Question:
- Option 1:
- Option 2:
- Option 3:
- Option 4:
-
-
+
+ Question:
+ Option 1:
+ Option 2:
+ Option 3:
+ Option 4:
+
+
diff --git a/theme/admin/pendingSuccess.tpl b/theme/admin/pendingSuccess.tpl
index 64adbe6..51b115f 100755
--- a/theme/admin/pendingSuccess.tpl
+++ b/theme/admin/pendingSuccess.tpl
@@ -1,8 +1,8 @@
Congradulations, you've just made/edited a pending post!
-
+
diff --git a/theme/admin/pollrss.tpl b/theme/admin/pollrss.tpl
index 5ea628f..b58ebbb 100755
--- a/theme/admin/pollrss.tpl
+++ b/theme/admin/pollrss.tpl
@@ -1,6 +1,6 @@
-Write a Poll RSS
+
Write a Poll RSS
-
-
-
-
+
+
+
+
diff --git a/theme/admin/postSuccess.tpl b/theme/admin/postSuccess.tpl
index 12920fe..0f27964 100755
--- a/theme/admin/postSuccess.tpl
+++ b/theme/admin/postSuccess.tpl
@@ -1,8 +1,8 @@
Congradulations, you've just made/edited a post!
-
+
diff --git a/theme/admin/viewComment.tpl b/theme/admin/viewComment.tpl
index ae2ee46..8b52fa0 100755
--- a/theme/admin/viewComment.tpl
+++ b/theme/admin/viewComment.tpl
@@ -1,12 +1,12 @@
-
-
-
-
+
+
+
+
-
-
-
on
-
+
+
+
on
+
-Back to Comment Moderation
-Back to Admin Panel
+Back to Comment Moderation
+Back to Admin Panel
diff --git a/theme/admin/write.tpl b/theme/admin/write.tpl
index 0d8fb24..0371ace 100755
--- a/theme/admin/write.tpl
+++ b/theme/admin/write.tpl
@@ -1,14 +1,14 @@
-Write a post
+
Write a post
-
- Post Title:
-
- Tags (comma-seperated):
- Post Type:
- Draft
- Normal (Article-style) Post
- High-Priority Post
- Instant Post
-
-
-
+
+ Post Title:
+
+ Tags (comma-seperated):
+ Post Type:
+ Draft
+ Normal (Article-style) Post
+ High-Priority Post
+ Instant Post
+
+
+
diff --git a/theme/archive.tpl b/theme/archive.tpl
index f08c0f2..21cc567 100755
--- a/theme/archive.tpl
+++ b/theme/archive.tpl
@@ -1,8 +1,8 @@
-
+
-
+
- |
+ |
diff --git a/theme/comments.tpl b/theme/comments.tpl
index 1ca7ab2..5e1c564 100755
--- a/theme/comments.tpl
+++ b/theme/comments.tpl
@@ -1,51 +1,48 @@
-
+
-
+
-
+
-
+
+ on
-
-
+
+
+
+
+
+
+
-
+function postComment()
+{
+ jQuery("#newComment textarea, #newComment input, #newComment button").attr("disabled", "disabled");
+ jQuery("#flash").text("Processing....").slideDown();
+ jQuery.ajax({
+ type: "POST",
+ url: "/post.php",
+ data: ({
+ id: "",
+ comment: jQuery("#newComment textarea").val(),
+ username: jQuery("#newComment input:text[name=username]").val(),
+ email: jQuery("#newComment input:text[name=email]").val(),
+ website: jQuery("#newComment input:text[name=website]").val(),
+ recaptcha_challenge_field: jQuery("#newComment input[name=recaptcha_challenge_field]").val(),
+ recaptcha_response_field: jQuery("#newComment input[name=recaptcha_response_field]").val()
+ }),
+ dataType: "text",
+ success: function(msg) {
+ if (msg.indexOf("textBubble") != -1)
+ {
+ jQuery("#flash").text("Your comment has been posted.");
+ jQuery("#newComment").html(msg);
+ } else {
+ jQuery("#newComment textarea, #newComment input, #newComment button").removeAttr("disabled");
+ jQuery("#flash").text(msg);
+ }
+ },
+ error: function() {
+ jQuery("#newComment textarea, #newComment input, #newComment button").removeAttr("disabled");
+ jQuery("#flash").text("There was an error posting your comment.");
+ }
+ });
+}
+
+
-
diff --git a/theme/css.php b/theme/css.php
old mode 100755
new mode 100644
index 352caaa..8c8b7ec
--- a/theme/css.php
+++ b/theme/css.php
@@ -22,32 +22,10 @@ require('../headerproc.php');
header('Content-type: text/css');
-include('../../security/config.php');
-include('../includes/db.php');
-include('../includes/specialdates.php');
-
-include("css/website.css");
-include("css/bubbles.css");
-
-if (sd_ifNoSpecialDay())
-{
- if ($_GET['id'] == 'day')
- {
- include("css/day.css");
- } else if ($_GET['id'] == 'night')
- {
- include("css/night.css");
- }
-} else {
- include("css/holiday.php");
-}
-
-if ($_GET['cat'] == 'home')
-{
- include('css/blog.php');
-} else if ($_GET['cat'] == 'panel')
-{
- include('css/blog.php');
-}
+include('css/website.css');
+include('css/blog.php');
+include('css/bubbles.css');
+include('css/quotes.css');
+include('css/holiday.php');
?>
diff --git a/theme/css/blog.php b/theme/css/blog.php
index bef21dd..4c69e57 100644
--- a/theme/css/blog.php
+++ b/theme/css/blog.php
@@ -21,6 +21,8 @@
if (!defined('S_INCLUDE_FILE')) {define('S_INCLUDE_FILE',1);}
require('headerproc.php');
+include_once('../../security/config.php');
+include_once('../includes/db.php');
?>
@@ -82,13 +84,14 @@ span.post-day {
div.post-title {
float: left;
margin-left: 10px;
- width: 500px; /* 430px */
+ width: 90%; /* 500px */
}
div.entry {
clear: both;
padding-top: 10px;
- font: 75%/150% Arial, "Trebuchet MS", Tahoma;
+ /*font-size: 75%;
+ line-height: 150%;*/
}
div.entry ol,
@@ -218,5 +221,14 @@ div.post-date-4 {
span.post-vote {
float: right;
position: relative;
- top: -10px;
+ top: -2em;
+ right: 1em;
+}
+
+span.post-rating {
+ font-size: big;
+}
+
+span.post-action-done {
+ opacity: 0.2;
}
diff --git a/theme/css/bubbles.css b/theme/css/bubbles.css
index 920b917..fb2c6d0 100755
--- a/theme/css/bubbles.css
+++ b/theme/css/bubbles.css
@@ -1,27 +1,14 @@
-/* Normal Bubble */
-
-div.bubble {
- width: auto;
- font-size: 0.75em;
- margin-bottom: 14px;
- font: 1em "Lucida Grande", Lucida, Verdana, sans-serif;
-}
-
-div.bubble blockquote {
- margin: 0px;
- padding: 0px;
- border: 1px solid #c9c2c1;
- background-color: #fff;
-}
-
-div.bubble blockquote div {
- margin: 10px;
- padding: 0px;
+.rounded {
+ -moz-border-radius: 10px;
+ -webkit-border-radius: 10px;
+ -khtml-border-radius: 10px;
+ border-radius: 10px;
+ padding: 4px;
}
-div.bubble cite {
+div.module + cite {
position: relative;
- top: 6px;
+ top: -1em;
margin: 0;
padding: 7px 0px 0px 15px;
background: transparent url(/theme/images/tip.gif) no-repeat 20px 0;
@@ -29,56 +16,46 @@ div.bubble cite {
font-size: small;
}
-/* Rounded Bubble */
-div.bubble div.rounded {
- margin-bottom: 10px;
- border: 3px solid #fff;
- background-color: #b7e0ff;
-}
-
-div.bubble div.rounded blockquote,
-div.bubble div.navbar-rounded blockquote {
- border: 0;
- background-color: transparent;
+div.module.unrounded + cite {
+ top: -0.9em;
}
-div.bubble div.rounded blockquote div {
- margin: 0px 10px;
+div.module.bquote + cite {
+ top: -0.8em;
}
-div.bubble cite.rounded {
+div.module.rounded + cite {
margin: 0px;
- padding: 19px 0 0 15px;
background: transparent url(/theme/images/tip-rounded.gif) no-repeat 15px 0;
}
-/* Pimped Bubble */
-
-div.pimped {
- font-size: 0.9em;
-}
-
-div.pimped div.rounded {
+div.module.pimped {
color: #fff;
border: 3px solid #fff;
- background-color: #111;
+ background-color: #111 !important;
+ padding-top: 5px;
+ padding-bottom: 5px;
}
-div.pimped cite.rounded {
- background: transparent url(/theme/images/tip-pimped.gif) no-repeat 15px 0;
+div.module.pimped + cite {
+ background: transparent url(/theme/images/tip-pimped.gif) no-repeat 20px 0;
}
-div.bubble div.bquote blockquote {
- margin: 0;
- padding: 4px 0;
- border: 1px solid #c9c2c1;
- background-color: #fff;
+div.module {
+ margin: auto 10px 14px 10px;
+ margin-left: 10px;
+ margin-right: 10px;
+ font-size: 0.9em;
+ background-color: #B7E0FF !important;
+ border: 3px solid #FFFFFF;
}
-.rounded {
- -moz-border-radius: 10px;
- -webkit-border-radius: 10px;
- -khtml-border-radius: 10px;
- border-radius: 10px;
- padding: 4px;
+div.module.unrounded {
+ background-color: white !important;
+ border: 1px solid #c9c2c1 !important;
+ padding: 5px;
+}
+
+div.module.sidebar {
+ width: 250px;
}
diff --git a/theme/css/day.css b/theme/css/day.css
deleted file mode 100755
index 16fc9a6..0000000
--- a/theme/css/day.css
+++ /dev/null
@@ -1,4 +0,0 @@
-body {
- background-color: aqua;
- background-image: url(/theme/images/backgrounds/island6.PNG);
-}
diff --git a/theme/css/holiday.php b/theme/css/holiday.php
index 65c1826..a1639c7 100755
--- a/theme/css/holiday.php
+++ b/theme/css/holiday.php
@@ -21,6 +21,9 @@
if (!defined('S_INCLUDE_FILE')) {define('S_INCLUDE_FILE',1);}
require('headerproc.php');
+include('../includes/specialdates.php');
+
+$bgcolor='aqua';
if (sd_isSpecialDay('Four Island A'))
{
@@ -93,20 +96,44 @@ if (sd_isSpecialDay('Four Island A'))
} elseif (sd_isSpecialDay('Valentines Day'))
{
$bgimgm = 'valentines';
+} else {
+ $bgimgm = 'island6';
+}
+
+?>
+
+div#window {
+ background-color: ;
+ background-image: url(/theme/images/backgrounds/.PNG);
+ background-position: bottom left;
+ background-repeat: repeat-x;
+ background-attachment: fixed;
+ padding: 0 !important;
}
-$bodyID = $_GET['id'];
-if (!isset($bgcolor))
+
- include("css/day.css");
-} else {
- include("css/night.css");
+div#content div#actual-content {
+ background-color: rgba(255, 255, 255, 0.5);
}
+
-body {
- background-image: url(/theme/images/backgrounds/.PNG) !important;
+div#content div#actual-content {
+ background-color: rgba(0, 0, 0, 0.75);
}
+
+.light-at-night {
+ color: #536482;
+}
+
+
diff --git a/theme/css/ie.css b/theme/css/ie.css
deleted file mode 100644
index ad0ebcc..0000000
--- a/theme/css/ie.css
+++ /dev/null
@@ -1,44 +0,0 @@
-body * {
- overflow: hidden;
-}
-
-dl.icon {
- height: 50px;
-}
-
-#wrap {
- text-align: center;
- background:transparent;
- filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99FFFFFF,endColorstr=#99FFFFFF);
- zoom: 1;
-}
-
-#wrap #page-body {
- text-align: left;
-}
-
-body#night #wrap {
- filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000);
-}
-
-div#fi-navbar ul li a {
- position: relative;
- top: -0.4em;
-}
-
-div.bubble cite {
- position: static;
- padding-top: 4px;
-}
-
-div.bubble cite.rounded {
- padding-top: 13px;
-}
-
-div.pimped cite.rounded {
- padding-top: 14px;
-}
-
-span.post-vote {
- position: static;
-}
diff --git a/theme/css/night.css b/theme/css/night.css
deleted file mode 100755
index 222b1d4..0000000
--- a/theme/css/night.css
+++ /dev/null
@@ -1,25 +0,0 @@
-body {
- background-color: black;
- background-image: url(/theme/images/backgrounds/island6night.PNG);
-}
-
-div#wrap {
- background-color: rgba(0, 0, 0, 0.75);
-}
-
-div#banner {
- background-color: black;
- background-image: url(/theme/images/fourisland_header_night.png);
-}
-
-div#fi-navbar ul li.active img {
- background-color: black;
- outline: black solid .5em;
-}
-
-#rightbar .sidebar .pimped cite,
-.post .entry .bubble cite,
-#footer,
-body.quotes #content {
- color: #555555;
-}
diff --git a/theme/css/print.css b/theme/css/print.css
index ce872e0..ef7959a 100755
--- a/theme/css/print.css
+++ b/theme/css/print.css
@@ -1,36 +1,34 @@
-body {
- width: 100% !important;
-}
-
-div#footer, div#rightbar, div#push {
+div#sidebar, div#footer .foot-module, div#newComment {
display: none;
}
-div#banner {
- background-image: none;
- height: auto !important;
+div#content div#window, div#content div#actual-content {
+ background-color: white;
+ padding: 0;
+ -moz-border-radius: 0;
+ -webkit-border-radius: 0;
+ -khtml-border-radius: 0;
+ border-radius: 0;
+ margin: 0;
}
-div#banner h1 a {
- text-indent: 0 !important;
- color: black;
- text-align: center;
- height: auto !important;
-}
-
-span.print {
- display: inline;
-}
-
div#cleardiv {
clear: none;
}
div#content {
- width: 100%;
+ width: 95%;
}
div.post-title {
width: 90%;
}
+div#banner a {
+ text-indent: 0 !important;
+ color: black;
+ text-align: center;
+ height: auto !important;
+ font-size: 4em;
+ padding-top: 1em;
+}
diff --git a/theme/css/quotes.css b/theme/css/quotes.css
new file mode 100644
index 0000000..72d5189
--- /dev/null
+++ b/theme/css/quotes.css
@@ -0,0 +1,61 @@
+ul.quote-list {
+ list-style-type: none;
+}
+
+li.quote {
+ margin: 0 0 1em;
+ padding-bottom: 0.1em;
+ background-color: #FCFCFC;
+}
+
+h3.quote-header {
+ background-color: #F7F7F7;
+ border: 1px solid #F4F4F4;
+ margin: 0;
+ padding: 0.25em 0.75em;
+}
+
+li.quote, h3.quote-header {
+ -moz-border-radius-topleft: 0.5em;
+ -moz-border-radius-topright: 0.5em;
+ -webkit-border-top-left-radius: 0.5em;
+ -webkit-border-top-right-radius: 0.5em;
+ -khtml-border-top-left-radius: 0.5em;
+ -khtml-border-top-right-radius: 0.5em;
+ border-top-left-radius: 0.5em;
+ border-top-right-radius: 0.5em;
+}
+
+span.quote-date {
+ font-size: 70%;
+}
+
+blockquote.quote-body {
+ font-family: Consolas, Monaco, Courier New, monospace;
+ font-size: 12px;
+ margin: 0.5em 0.75em;
+ padding: 0;
+ position: static;
+ width: 100%;
+}
+
+ul.quote-list li:hover {
+ background: #FFFCEC;
+}
+
+ul.quote-list li:hover h3.quote-header {
+ background: #FEC;
+ border-color: #FFE9C9;
+}
+
+span.quote-action-done {
+ opacity: 0.2;
+}
+
+span.quote-update-result {
+ float: right;
+ text-transform: uppercase;
+ font-size: 70%;
+ position: relative;
+ top: -1.2em;
+}
diff --git a/theme/css/website.css b/theme/css/website.css
old mode 100755
new mode 100644
index f0f2a0e..145bcdf
--- a/theme/css/website.css
+++ b/theme/css/website.css
@@ -1,14 +1,6 @@
-/* Four Island CSS */
-
-body {
- background: repeat-x bottom left fixed;
- font-family: Arial, FreeSans;
- margin: 0px;
- padding: 0px 0px 30px !important;
-}
-
-body.fourm {
- font-family: Verdana, Helvetica, Arial, sans-serif;
+* {
+ margin: 0;
+ padding: 0;
}
/* Effects */
@@ -27,349 +19,345 @@ body.fourm {
}
form textarea:focus, form input:focus {
- border: 2px solid #900;
- background-color: #FEFFB2;
+ border: 2px solid #900;
+ background-color: #FEFFB2;
}
/* Links */
a:link {
- color: blue;
- font-weight: bold;
- text-decoration: none;
+ color: blue;
+ font-weight: bold;
+ text-decoration: none;
}
a:visited, a:active {
- color: blue;
- text-decoration: none;
+ color: blue;
+ text-decoration: none;
}
a:hover, a:focus {
- color: blue;
- font-weight: bold;
- text-decoration: none;
- font-variant: small-caps;
- text-transform: capitalize;
+ color: blue;
+ font-weight: bold;
+ text-decoration: none;
+ font-variant: small-caps;
+ text-transform: capitalize;
}
a img {
- border: 0;
+ border: 0;
}
-/* Random Elements */
+/* Body */
-* {
- margin:0pt;
- padding:0pt;
+body {
+ font-family: "Lucida Grande", "Arial", sans;
+ background-color: #111;
}
-p {margin-top: 1em;}
-ul, ol {margin-top: 1em; margin-bottom: 1em}
-
-img.center, img[align="center"] {
- display: block;
- margin-left: auto;
- margin-right: auto;
+div#header {
+ width: 100%;
+ height: 200px;
+ background-image: url(http://fourisland.com/theme/images/header-repeat.png);
+ background-repeat: repeat-x;
}
-acronym, abbr, span.caps {
- cursor: help;
+div#banner {
+ width: 800px;
+ height: 200px;
+ margin: 0 auto;
+ background-image: url(http://fourisland.com/theme/images/header.png);
+ background-position: bottom right;
}
-acronym, abbr {
- border-bottom: 1px dashed #999;
+div#header a {
+ width: 800px;
+ height: 200px;
+ text-indent: -5000px;
+ display: block;
}
-blockquote {
- padding-left: 10px;
- border-left: 3px solid #CCC;
- font-family: Helvetica, sans-serif;
- font-size: 14px;
- margin: 10px 0 10px 50px;
+div#sidebar {
+ width: 21%;
+ float: left;
}
-pre {
- line-height: 12px;
+div#content {
+ width: 69%;
+ float: right;
+ padding-left: 5%;
+ padding-right: 5%;
+ padding-top: 20px;
}
-/* Banner */
-
-div#banner, div#fi-banner {
- background-repeat: no-repeat;
- width: 900px; /*728*/
- height: 200px;
- float: left;
-/* margin-top: 21px; */
+div#content div.rounded {
+ padding: 10px;
}
-div#banner {
- background: white url("/theme/images/fourisland_header.png") center no-repeat;
- width: 100%;
+div#footer {
+ width: 100%;
+ padding-top: 20px;
+ padding-bottom: 20px;
}
-body div#banner h1, body div#fi-banner h1 {
- margin: 0;
+div#footer div.foot-module {
+ margin: 0 auto;
+ float: left;
+ width: 20%;
+ margin-left: 4%;
+ color: white;
+ font-size: 0.9em;
}
-body div#banner h1 a, body div#fi-banner h1 a {
- display: block;
- width: 900px;
- height: 200px;
- text-indent: -5000px;
- text-decoration: none;
- margin: 0;
+div#footer a {
+ color: white;
+ border-bottom: 1px dotted white;
}
-div#banner h1, div#fi-banner h1 {
- margin: 0;
- font-size: 3.0em;
- font-weight: normal;
+div#footer div.foot-module ul {
+ list-style-type: square;
}
-/* NavBar */
-
-div#fi-navbar {
- position: relative;
- background-color: #b7e0ff;
- width: auto;
- margin-bottom: 14px;
- font: 0.9em "Lucida Grande", Lucida, Verdana, sans-serif;
- height: 1.9em;
- clear: both;
+div#footer p {
+ font-size: 0.5em;
+ color: white;
+ text-align: center;
}
-div#fi-navbar div {
- padding: .001em 0;
- margin: 10px;
+div#page-content {
+ background-color: #00ff00; /*#8B4513;*/
+ padding-bottom: 10px;
}
-div#fi-navbar ul {
- margin: .25em 0;
- padding-left: 1em;
- text-align: center;
+body[id^=fourm] div#page div#content code {
+ display: block;
+ border: solid black 1px;
+ background-color: #FFFF64;
+ width: 485px;
+ overflow: visible;
}
-div#fi-navbar ul li {
- display: inline;
- font-family: Verdana, sans-serif;
- font-size: 1.1em;
+body[id^=fourm] div#content h2 {
+ color: #59770e;
+ margin: 0px 0px 2px;
+ border-bottom: 1px dotted #CCCCCC;
+ letter-spacing: -1px;
+ font-size: 140%;
+ padding-bottom: 3px;
}
-div#fi-navbar ul li+li:before {
- content: " - ";
+body#fourm div#actual-content {
+ font-size: 60%;
}
-div#fi-navbar ul li img,
-div#fi-navbar ul li.active span {
- display: none;
+ul#navbar {
+ text-align: center;
+ margin-top: 0;
}
-div#fi-navbar ul li.active img {
- display: inline;
- background-color: white;
- outline: white solid .5em;
- margin: 0 .5em;
+ul#navbar li {
+ display: inline;
+ font-family: Verdana, sans-serif;
+ font-size: 1.1em;
}
-div#fi-navbar div.bubble blockquote {
- background: none;
- font-size: 0.9em;
+ul#navbar li+li:before {
+ content: " - ";
}
-div#fi-navbar div.bubble blockquote a {
- color: blue;
+ul#navbar li img, ul#navbar li.active span {
+ display: none;
}
-/* Sidebar */
-
-div#rightbar {
- float: left;
- width: 270px; /*210*/
+ul#navbar li.active img {
+ display: inline;
+ background-color: white;
+ outline: white solid .5em;
+ margin: 0 .5em;
}
-div.sidebar {
- width: 250px; /*250*/ /*240*/ /*210*/
- padding: 0 10px;
- margin-bottom: 5px;
+.invisible {
+ display: none;
}
-div.sidebar h3 {
- font-family: Verdana, Helvetica, Arial, sans-serif;
- margin: 5px 0 0 0;
- font-weight: bold;
- color: #333333;
+a img {
+ border: 0;
}
-div.sidebar p {
- font-size: 0.8em;
- margin: 3px 0;
+p {
+ margin-top: 1em;
}
-div.sidebar ul {
- list-style-type: none;
- padding: 0;
- margin: 0;
- line-height: normal !important;
- list-style-image: none !important;
-}
-
-div#sidebar ul li {
- margin-top: 4px;
+ul, ol {
+ margin-top: 1em;
+ margin-bottom: 1em;
}
-
-div#sidebar ul li a {
- display: block;
- width: 230px;
+
+.center, img[align="center"] {
+ display: block;
+ margin: 0 auto !important;
}
-div#sidebar li img {
- border: 0;
- height: 16px;
- width: 16px;
+acronym, abbr, span.caps {
+ cursor: help;
}
-/* Layout */
+acronym, abbr {
+ border-bottom: 1px dashed #999;
+}
-#wrap {
- width: 910px;
- margin: 10px auto;
- padding: 0;
- background-color: white;
- background-color: rgba(255, 255, 255, 0.5);
- border: 4px solid gray;
+pre {
+ background: #eee;
+ padding: 10px;
+ border: 2px solid #c94a29;
+ overflow: auto;
+ margin: 15px 0;
+ font-family: Courier, Monospace;
}
-#page-body {
- margin: 0 30px;
- clear: both;
- position: relative;
+ul pre, ol pre {
+ margin-left: -3em;
}
-body.fourm #page-body {
- margin: 0 10px 0 25px;
- width: 95%;
- font-size: 62.5%;
+div.autosize {
+ margin-bottom: 6px !important;
}
-#phpBB3-page-body {
- margin: 4px 0 !important;
- clear: both;
+ul blockquote, ol blockquote {
+ position: relative;
+ left: -3em;
+ width: 110%;
}
-/* Content */
-
-div#content {
- float: right;
- width: 555px; /*465*/ /*555*/
+.comment ul, .comment ol {
+ margin-left: 3em;
}
-body#day div#page div#content code {
- display: block;
- border: solid black 1px;
- background-color: #FFFF64;
- width: 485px;
- overflow: visible;
+ul div.bquote blockquote, ol div.bquote blockquote {
+ left: 0;
}
-div#content h2 {
- color: #59770e;
- margin: 0px 0px 2px;
- border-bottom: 1px dotted #CCCCCC;
- letter-spacing: -1px;
- font: normal 140%/100% "Trebuchet MS", Tahoma, Arial;
- padding-bottom: 3px;
+li+br {
+ display: none;
}
-/* Random Divs/Spans */
+/* Tables */
-div.cleardiv {
- clear: both;
-}
-
-div#footer {
- clear: both;
- padding: .5em 0 1em 0;
- margin-top: .5em;
- text-align: center;
- font-size: .68em;
- border-top: 1px black solid;
+table.webmail {
+ border: 0;
+ width: 100%;
}
-div#footer ul.rows li {
- display: list-item;
+table.webmail, table.webmail td {
+ border-spacing: 0;
}
-div#footer ul {
- padding: 0;
- margin: 0;
- list-style-type: none;
+table.webmail tr {
+ background-color: #3CE4ED;
}
-div#footer ul li {
- display: inline;
- margin-right: 1em;
+table.webmail tr.even {
+ background-color: #39B7CD;
}
-div#footer ul li img {
- width: 20px;
- height: 20px;
- vertical-align: top;
+table.webmail th {
+ background-color: #FF9912;
+ text-align: left;
}
-div#content ul {
- list-style: url(/theme/images/bullet_disk_big.png);
+/* Sidebar */
+
+div#rightbar {
+ float: left;
+ width: 270px; /*210*/
}
-div#content a img {
- border: solid transparent 1px;
+div.sidebar {
+ width: 250px; /*250*/ /*240*/ /*210*/
+ padding: 0 10px;
+ margin-bottom: 5px;
}
-div#content a:hover img {
- border: dashed gray 1px;
+div.sidebar h3 {
+ font-family: Verdana, Helvetica, Arial, sans-serif;
+ margin: 5px 0 0 0;
+ font-weight: bold;
+ color: #333333;
}
-div#hatbar.quotes-options ul {
- list-style: none;
+div.sidebar p {
+ font-size: 0.8em;
+ margin: 3px 0;
}
-div.autosize {
- margin-bottom: 6px !important;
+div#sidebar ul.hatnav {
+ list-style-type: none;
+ padding-left: 24px;
+ margin-top: 0 !important;
+ line-height: normal !important;
+ list-style-image: none !important;
}
-ul blockquote, ol blockquote {
- position: relative;
- left: -3em;
- width: 110%;
+div#sidebar ul {
+ list-style-type: none;
+}
+
+div#sidebar ul.hatnav li {
+ text-align: right;
+ border: 1px gray solid;
+ padding-top: 2px;
+ padding-bottom: 2px;
+ background-color: #111;
+ color: white;
+}
+
+div#sidebar ul.hatnav li a {
+ display: block;
+ width: 230px;
+ color: white;
}
-li+br {
- display: none;
+div#sidebar li img {
+ border: 0;
+ height: 16px;
+ width: 16px;
}
-.invisible {
- display: none;
+div#sidebar ul.hatnav li.active {
+ background-color:#00FF00;
+ border: none;
}
-/* Tables */
+div#sidebar ul.hatnav li:hover {
+ background-color:yellow;
+ border: none;
+}
-table.webmail {
- border: 0;
- width: 100%;
+div#sidebar ul li.active a, div#sidebar ul li a:hover {
+ color: black;
}
-table.webmail, table.webmail td {
- border-spacing: 0;
+div.cleardiv {
+ clear: both;
}
-table.webmail tr {
- background-color: #3CE4ED;
+.nobr {
+ white-space: nowrap;
}
-table.webmail tr.even {
- background-color: #39B7CD;
+textarea {
+ width: 99%;
}
-table.webmail th {
- background-color: #FF9912;
- text-align: left;
+div#flash {
+ position: fixed;
+ left: 0;
+ top: 0;
+ width: 100%;
+ background-color: yellow;
+ padding: 10px 0;
+ text-align: center;
+ border-bottom: 1px solid black;
+ display: none;
+ z-index: 9999;
}
diff --git a/theme/datefinder.tpl b/theme/datefinder.tpl
deleted file mode 100755
index e69de29..0000000
diff --git a/theme/errors/404.tpl b/theme/errors/404.tpl
index 3010548..1474b42 100755
--- a/theme/errors/404.tpl
+++ b/theme/errors/404.tpl
@@ -1,100 +1,102 @@
-Hello, my name is Waddle Dee
-
-
- Aaaa.... well... I'm really sorry, but I can't find the page you're looking for. Really, I'm so sorry! Please don't tell Hat Kirby! This is
- the 17'th page I lost this week!
-
-
-
- Oh wait. Here we go. We can't find your page because... hmmm... oh not again... It seems Kirby ate the page you are looking for.
- Yes, I'm really sorry! He gets really hungry sometimes (all of the time) but we try to keep him fed.
-
-
-
-
- Anyway, instead of talking to me, you can:
-
-
-
-
-
- I'm sure you'll have fun.
-
-
-
- Oh, oh! More info has come in! You may not be able to find the page because of:
-
-
-
- An out-of-date bookmark/favourite
- A search engine that has an out-of-date listing for us
- A mis-typed address
-
-
-
-
-
- Oh, oh! More info has come in!
-
-
-
- You did a search on
- for " ". However, their index appears to be out of date. Because Kirby ate the page, no doubt.
-
-
-
- All is not lost! Why not try one of these links?
-
-
-
-
-
- I'm sure you'll have fun.
-
-
-
-
-
- Oh, oh! More info has come in!
-
-
-
- You were referred to this page by:
-
- I guess they didn't know that Kirby ate the page.
-
-
-
-
- Wait a minute! That's us! Uh oh! It looks like one of our own links is broken!
- I'm really sorry about this, and I'll try to fix it before Hatkirby notices.
- Please PM "hatkirby" on The Fourm, or post a topic about it in "Fourscore Improvements". Thanks!
-
-
-
-
- Why not try one of these links?
-
-
-
-
-
- I'm sure you'll have fun.
-
-
-
-
- Oh wait, I have to go. Hatkirby's coming and I better have an explation for her this time!
-
+
+
Hello, my name is Waddle Dee
+
+
+ Aaaa.... well... I'm really sorry, but I can't find the page you're looking for. Really, I'm so sorry! Please don't tell Hat Kirby! This is
+ the 17'th page I lost this week!
+
+
+
+ Oh wait. Here we go. We can't find your page because... hmmm... oh not again... It seems Kirby ate the page you are looking for.
+ Yes, I'm really sorry! He gets really hungry sometimes (all of the time) but we try to keep him fed.
+
+
+
+
+ Anyway, instead of talking to me, you can:
+
+
+
+
+
+ I'm sure you'll have fun.
+
+
+
+ Oh, oh! More info has come in! You may not be able to find the page because of:
+
+
+
+ An out-of-date bookmark/favourite
+ A search engine that has an out-of-date listing for us
+ A mis-typed address
+
+
+
+
+
+ Oh, oh! More info has come in!
+
+
+
+ You did a search on
+ for " ". However, their index appears to be out of date. Because Kirby ate the page, no doubt.
+
+
+
+ All is not lost! Why not try one of these links?
+
+
+
+
+
+ I'm sure you'll have fun.
+
+
+
+
+
+ Oh, oh! More info has come in!
+
+
+
+ You were referred to this page by:
+
+ I guess they didn't know that Kirby ate the page.
+
+
+
+
+ Wait a minute! That's us! Uh oh! It looks like one of our own links is broken!
+ I'm really sorry about this, and I'll try to fix it before Hatkirby notices.
+ Please PM "hatkirby" on The Fourm, or post a topic about it in "Fourscore Improvements". Thanks!
+
+
+
+
+ Why not try one of these links?
+
+
+
+
+
+ I'm sure you'll have fun.
+
+
+
+
+ Oh wait, I have to go. Hatkirby's coming and I better have an explation for her this time!
+
+
diff --git a/theme/footer.tpl b/theme/footer.tpl
old mode 100755
new mode 100644
index eecbdcf..950b16e
--- a/theme/footer.tpl
+++ b/theme/footer.tpl
@@ -1,45 +1,60 @@
-
+
+
+
+
+
+
+
+
+