From a58d877108f6b7ff6712c6261815c6092c7f6949 Mon Sep 17 00:00:00 2001 From: Neil Drumm Date: Wed, 23 Aug 2006 05:55:38 +0000 Subject: #66569 by m3avrck. Put all the feed icons in the same place. --- modules/aggregator/aggregator.module | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'modules/aggregator/aggregator.module') diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module index bcd08b8ef..e32f95c99 100644 --- a/modules/aggregator/aggregator.module +++ b/modules/aggregator/aggregator.module @@ -1085,11 +1085,12 @@ function aggregator_page_list($sql, $header, $categorize) { // arg(1) is undefined if we are at the top aggregator URL // is there a better way to do this? if (!arg(1)) { - $form['feed_icon'] = array('#value' => theme('feed_icon', url('aggregator/rss'))); + drupal_add_feed(url('aggregator/rss')); } elseif (arg(1) == 'categories' && arg(2) && !arg(3)) { - $form['feed_icon'] = array('#value' => theme('feed_icon', url('aggregator/rss/' . arg(2)))); + drupal_add_feed(url('aggregator/rss/'. arg(2))); } + return $form; } -- cgit v1.2.3