From a1247d574e9872b564abcd2850bc33becac9577b Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Mon, 1 Mar 2010 17:31:52 -0500 Subject: Changed most absolute URLs to relative URLs Because Four Island is often viewed using a subdomain or an IP address in lieu of the actual domain name, relative URLs are needed to render the page correctly in most circumstances. --- pages/blog.php | 2 +- pages/quotes.php | 14 +++++++------- theme/header.tpl | 44 ++++++++++++++++++++++---------------------- theme/layouts/4.5/layout.tpl | 6 +++--- theme/layouts/6.2/layout.tpl | 20 ++++++++++---------- theme/layouts/7/layout.tpl | 22 +++++++++++----------- theme/layouts/7/style.css | 4 ++-- 7 files changed, 56 insertions(+), 56 deletions(-) diff --git a/pages/blog.php b/pages/blog.php index 1024ebb..af5ddbf 100755 --- a/pages/blog.php +++ b/pages/blog.php @@ -26,7 +26,7 @@ $pageCategory = 'blog'; $pageAID = 'archive'; $hatNav = array( array( 'title' => 'Archive', - 'url' => 'http://fourisland.com/blog/', + 'url' => '/blog/', 'icon' => '16-file-archive')); $template = new FITemplate('post'); diff --git a/pages/quotes.php b/pages/quotes.php index 17057c2..4fce952 100755 --- a/pages/quotes.php +++ b/pages/quotes.php @@ -25,31 +25,31 @@ require('headerproc.php'); $pageCategory = 'quotes'; $hatNav = array( array( 'title' => 'Latest', - 'url' => 'http://fourisland.com/quotes/latest.php', + 'url' => '/quotes/latest.php', 'icon' => '16-star-hot' ), array( 'title' => 'Best', - 'url' => 'http://fourisland.com/quotes/top.php', + 'url' => '/quotes/top.php', 'icon' => 'medal_gold_1' ), array( 'title' => 'Worst', - 'url' => 'http://fourisland.com/quotes/bottom.php', + 'url' => '/quotes/bottom.php', 'icon' => '16-message-warn' ), array( 'title' => 'Browse All', - 'url' => 'http://fourisland.com/quotes/browse.php', + 'url' => '/quotes/browse.php', 'icon' => '16-file-archive' ), array( 'title' => 'Random', - 'url' => 'http://fourisland.com/quotes/random.php', + 'url' => '/quotes/random.php', 'icon' => '16-clock' ), array( 'title' => 'Add', - 'url' => 'http://fourisland.com/quotes/add.php', + 'url' => '/quotes/add.php', 'icon' => '16-em-pencil' ), array( 'title' => 'Search', - 'url' => 'http://fourisland.com/quotes/search.php', + 'url' => '/quotes/search.php', 'icon' => 'book_open' )); diff --git a/theme/header.tpl b/theme/header.tpl index 896ded5..014e34b 100755 --- a/theme/header.tpl +++ b/theme/header.tpl @@ -3,9 +3,9 @@ <!--EXTRATITLE-->Four Island - - - + + + @@ -19,7 +19,7 @@
@@ -63,12 +63,12 @@ @@ -76,12 +76,12 @@ @@ -108,7 +108,7 @@