Binary file plugins/nuggie/images/feed.png has changed
--- a/plugins/nuggie/planet.php Tue Jul 29 06:48:19 2008 -0600
+++ b/plugins/nuggie/planet.php Tue Jul 29 07:00:26 2008 -0600
@@ -147,6 +147,18 @@
return;
}
+ // Add the link to the feed
+ $rss_link = '';
+ if ( defined('ENANO_FEEDBURNER_INCLUDED') )
+ {
+ $rss_link = '<p style="float: left;">
+ <a class="abutton" href="' . makeUrlNS('Planet', $planet_id, 'feed=rss2', true) . '">
+ <img alt=" " src="' . scriptPath . '/plugins/nuggie/images/feed.png" />
+ RSS feed
+ </a>
+ </p>';
+ }
+
// just let the paginator do the rest
$postbit = new NuggiePostbit();
// $q, $tpl_text, $num_results, $result_url, $start = 0, $perpage = 10, $callers = Array(), $header = '', $footer = ''
@@ -158,7 +170,8 @@
0,
10,
array( 'post_id' => array($postbit, 'paginate_handler') ),
- '<span class="menuclear"></span>'
+ '<span class="menuclear"></span>',
+ $rss_link
);
$db->free_result($q);
--- a/plugins/nuggie/postbit.php Tue Jul 29 06:48:19 2008 -0600
+++ b/plugins/nuggie/postbit.php Tue Jul 29 07:00:26 2008 -0600
@@ -540,6 +540,18 @@
$template->tpl_strings['PAGE_NAME'] = $page_name;
}
+ // Add the link to the feed
+ $rss_link = '';
+ if ( defined('ENANO_FEEDBURNER_INCLUDED') )
+ {
+ $rss_link = '<p style="float: left;">
+ <a class="abutton" href="' . makeUrlNS('Blog', $username, 'feed=rss2', true) . '">
+ <img alt=" " src="' . scriptPath . '/plugins/nuggie/images/feed.png" />
+ RSS feed
+ </a>
+ </p>';
+ }
+
$postbit = new NuggiePostbit();
// $q, $tpl_text, $num_results, $result_url, $start = 0, $perpage = 10, $callers = Array(), $header = '', $footer = ''
$html = paginate(
@@ -550,7 +562,8 @@
0,
10,
array( 'post_id' => array($postbit, 'paginate_handler') ),
- '<span class="menuclear"></span>'
+ '<span class="menuclear"></span>',
+ $rss_link
);
$template->header();