From: Cash Costello Date: Fri, 3 Jul 2009 02:13:23 +0000 (+0000) Subject: forgot to include this in a previous check-in X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=5e0bfcd150c5275184dd8cdc7fda2f8bd139d84d;p=lorea%2Felgg.git forgot to include this in a previous check-in --- 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