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 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'pages') 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' )); -- cgit 1.4.1