From 5e0bfcd150c5275184dd8cdc7fda2f8bd139d84d Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Fri, 3 Jul 2009 02:13:23 +0000 Subject: forgot to include this in a previous check-in --- views/rss/pageshells/pageshell.php | 46 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 views/rss/pageshells/pageshell.php diff --git a/views/rss/pageshells/pageshell.php b/views/rss/pageshells/pageshell.php new file mode 100644 index 000000000..2dfc8917f --- /dev/null +++ b/views/rss/pageshells/pageshell.php @@ -0,0 +1,46 @@ +\n"; + + + + // Set title + if (empty($vars['title'])) { + $title = $vars['config']->sitename; + } else if (empty($vars['config']->sitename)) { + $title = $vars['title']; + } else { + $title = $vars['config']->sitename . ": " . $vars['title']; + } + + // Remove RSS from URL + $url = str_replace('?view=rss','',full_url()); + $url = str_replace('&view=rss','',full_url()); + +?> + + > + + <![CDATA[<?php echo $title; ?>]]> + + + + + \ No newline at end of file -- cgit v1.2.3