diff options
author | Starla Insigna <hatkirby@fourisland.com> | 2008-12-10 14:46:23 -0500 |
---|---|---|
committer | Starla Insigna <hatkirby@fourisland.com> | 2008-12-10 14:46:23 -0500 |
commit | 98bb56988ea9efa9983a3045e2583a091ffd2ff8 (patch) | |
tree | d744dd811467d52c6d94e0cf15ad39bd4659eb96 | |
parent | 973b420608ee303ad9d68b068121a46a8cffee42 (diff) | |
download | fourisland-98bb56988ea9efa9983a3045e2583a091ffd2ff8.tar.gz fourisland-98bb56988ea9efa9983a3045e2583a091ffd2ff8.tar.bz2 fourisland-98bb56988ea9efa9983a3045e2583a091ffd2ff8.zip |
Replaced all "www" subdomain links
For some reason, the source is full of www subdomain links. The rewriting engine doesn't seem to rewrite correctly, so most www subdomain links forward to the original URL, not the rewritten URL, which is the base of the Pingback error.
-rwxr-xr-x | pages/admin.php | 1 | ||||
-rwxr-xr-x | rss.php | 6 | ||||
-rwxr-xr-x | theme/admin/viewComment.tpl | 2 | ||||
-rwxr-xr-x | theme/footer.tpl | 2 |
4 files changed, 5 insertions, 6 deletions
diff --git a/pages/admin.php b/pages/admin.php index 1767a83..b21948c 100755 --- a/pages/admin.php +++ b/pages/admin.php | |||
@@ -559,7 +559,6 @@ if (isLoggedIn()) | |||
559 | $template->add('CODEDEMAIL', md5(strtolower($getuser3['email']))); | 559 | $template->add('CODEDEMAIL', md5(strtolower($getuser3['email']))); |
560 | $template->add('TEXT', parseBBCode($getcomment3['comment'])); | 560 | $template->add('TEXT', parseBBCode($getcomment3['comment'])); |
561 | $template->add('DATE', date("F dS Y \a\\t g:i:s a",strtotime($getcomment3['pubDate']))); | 561 | $template->add('DATE', date("F dS Y \a\\t g:i:s a",strtotime($getcomment3['pubDate']))); |
562 | $template->add('CODEDDEF',urlencode('http://www.fourisland.com/images/error404.png')); | ||
563 | } else { | 562 | } else { |
564 | $template = new FITemplate('msg'); | 563 | $template = new FITemplate('msg'); |
565 | $template->add('BACK', 'the previous page'); | 564 | $template->add('BACK', 'the previous page'); |
diff --git a/rss.php b/rss.php index 1758049..49ee070 100755 --- a/rss.php +++ b/rss.php | |||
@@ -229,7 +229,7 @@ foreach ($items as $key => $value) | |||
229 | <item> | 229 | <item> |
230 | <title><?php echo($value['title']); ?></title> | 230 | <title><?php echo($value['title']); ?></title> |
231 | 231 | ||
232 | <link>http://www.fourisland.com/blog/<?php echo($value['slug']); ?>/</link> | 232 | <link>http://fourisland.com/blog/<?php echo($value['slug']); ?>/</link> |
233 | 233 | ||
234 | <description><?php echo(stripslashes(htmlentities(parseBBCode($value['text'])))); ?></description> | 234 | <description><?php echo(stripslashes(htmlentities(parseBBCode($value['text'])))); ?></description> |
235 | 235 | ||
@@ -242,7 +242,7 @@ foreach ($items as $key => $value) | |||
242 | <item> | 242 | <item> |
243 | <title>Quote #<?php echo($value['id']); ?></title> | 243 | <title>Quote #<?php echo($value['id']); ?></title> |
244 | 244 | ||
245 | <link>http://www.fourisland.com/quotes/<?php echo(urlencode($value['id'])); ?>.php</link> | 245 | <link>http://fourisland.com/quotes/<?php echo(urlencode($value['id'])); ?>.php</link> |
246 | 246 | ||
247 | <description><?php echo(htmlentities(nl2br($value['quote']))); ?></description> | 247 | <description><?php echo(htmlentities(nl2br($value['quote']))); ?></description> |
248 | 248 | ||
@@ -257,7 +257,7 @@ foreach ($items as $key => $value) | |||
257 | <item> | 257 | <item> |
258 | <title>Comment on <?php echo($value['title']); ?> by <?php echo($value['username']); ?></title> | 258 | <title>Comment on <?php echo($value['title']); ?> by <?php echo($value['username']); ?></title> |
259 | 259 | ||
260 | <link>http://www.fourisland.com/comments/<?php echo($value['id']); ?>/</link> | 260 | <link>http://fourisland.com/comments/<?php echo($value['id']); ?>/</link> |
261 | 261 | ||
262 | <description><?php echo(stripslashes(htmlentities(parseBBCode($value['comment'])))); ?></description> | 262 | <description><?php echo(stripslashes(htmlentities(parseBBCode($value['comment'])))); ?></description> |
263 | 263 | ||
diff --git a/theme/admin/viewComment.tpl b/theme/admin/viewComment.tpl index 9254f1d..ae2ee46 100755 --- a/theme/admin/viewComment.tpl +++ b/theme/admin/viewComment.tpl | |||
@@ -1,7 +1,7 @@ | |||
1 | <DIV CLASS="bubble"> | 1 | <DIV CLASS="bubble"> |
2 | <BLOCKQUOTE> | 2 | <BLOCKQUOTE> |
3 | <DIV> | 3 | <DIV> |
4 | <IMG SRC="http://www.gravatar.com/avatar.php?gravatar_id=<!--CODEDEMAIL-->&rating=G&size=40&default=<!--CODEDDEF-->"> | 4 | <IMG SRC="http://www.gravatar.com/avatar/<!--CODEDEMAIL-->?s=32&d=identicon&r=G"> |
5 | <!--TEXT--> | 5 | <!--TEXT--> |
6 | </DIV> | 6 | </DIV> |
7 | </BLOCKQUOTE> | 7 | </BLOCKQUOTE> |
diff --git a/theme/footer.tpl b/theme/footer.tpl index 7a81d2b..a740887 100755 --- a/theme/footer.tpl +++ b/theme/footer.tpl | |||
@@ -301,7 +301,7 @@ | |||
301 | 301 | ||
302 | <DIV ID="footer"> | 302 | <DIV ID="footer"> |
303 | <UL CLASS="rows"> | 303 | <UL CLASS="rows"> |
304 | <LI><span xmlns:dc="http://purl.org/dc/elements/1.1/" property="dc:title">Four Island</span> by <a xmlns:cc="http://creativecommons.org/ns#" href="http://www.fourisland.com" property="cc:attributionName" rel="cc:attributionURL">Starla Insigna</a> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/">Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License</a>.</LI> | 304 | <LI><span xmlns:dc="http://purl.org/dc/elements/1.1/" property="dc:title">Four Island</span> by <a xmlns:cc="http://creativecommons.org/ns#" href="http://fourisland.com" property="cc:attributionName" rel="cc:attributionURL">Starla Insigna</a> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/">Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License</a>.</LI> |
305 | <LI><A HREF="/wiki/privacy-policy/">Privacy Policy</A></LI> | 305 | <LI><A HREF="/wiki/privacy-policy/">Privacy Policy</A></LI> |
306 | </UL> | 306 | </UL> |
307 | 307 | ||