summaryrefslogtreecommitdiff
path: root/modules/aggregator
diff options
context:
space:
mode:
authorNeil Drumm <drumm@3064.no-reply.drupal.org>2006-08-23 05:55:38 +0000
committerNeil Drumm <drumm@3064.no-reply.drupal.org>2006-08-23 05:55:38 +0000
commita58d877108f6b7ff6712c6261815c6092c7f6949 (patch)
tree6c76f23e2bc4caf442d7643f3fe0fd189c20f3f4 /modules/aggregator
parent32e22f1f9a69618ba94e2015cf4f9d5c8ebb80e1 (diff)
downloadbrdo-a58d877108f6b7ff6712c6261815c6092c7f6949.tar.gz
brdo-a58d877108f6b7ff6712c6261815c6092c7f6949.tar.bz2
#66569 by m3avrck. Put all the feed icons in the same place.
Diffstat (limited to 'modules/aggregator')
-rw-r--r--modules/aggregator/aggregator.module5
1 files changed, 3 insertions, 2 deletions
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;
}