# HG changeset patch # User Dan # Date 1217336426 21600 # Node ID 58840db7b4727d97ae647a8ecbd70b45e109cfec # Parent 421242ebbece63db19ffd9c93fb10350cec43c72 Added the link to the RSS feeds diff -r 421242ebbece -r 58840db7b472 plugins/nuggie/images/feed.png Binary file plugins/nuggie/images/feed.png has changed diff -r 421242ebbece -r 58840db7b472 plugins/nuggie/planet.php --- 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 = '
+ + + RSS feed + +
'; + } + // 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') ), - '' + '', + $rss_link ); $db->free_result($q); diff -r 421242ebbece -r 58840db7b472 plugins/nuggie/postbit.php --- 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 = '+ + + RSS feed + +
'; + } + $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') ), - '' + '', + $rss_link ); $template->header();