diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-08-23 05:55:38 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-08-23 05:55:38 +0000 |
commit | a58d877108f6b7ff6712c6261815c6092c7f6949 (patch) | |
tree | 6c76f23e2bc4caf442d7643f3fe0fd189c20f3f4 /modules/blog | |
parent | 32e22f1f9a69618ba94e2015cf4f9d5c8ebb80e1 (diff) | |
download | brdo-a58d877108f6b7ff6712c6261815c6092c7f6949.tar.gz brdo-a58d877108f6b7ff6712c6261815c6092c7f6949.tar.bz2 |
#66569 by m3avrck. Put all the feed icons in the same place.
Diffstat (limited to 'modules/blog')
-rw-r--r-- | modules/blog/blog.module | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/blog/blog.module b/modules/blog/blog.module index b4892e738..b0227e66d 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -163,7 +163,7 @@ function blog_page_user($uid) { $output .= node_view(node_load($node->nid), 1); } $output .= theme('pager', NULL, variable_get('default_nodes_main', 10)); - $output .= theme('feed_icon', url("blog/$account->uid/feed")); + drupal_add_feed(url('blog/'. $account->uid .'/feed')); drupal_add_link(array('rel' => 'alternate', 'type' => 'application/rss+xml', @@ -190,7 +190,7 @@ function blog_page_last() { $output .= node_view(node_load($node->nid), 1); } $output .= theme('pager', NULL, variable_get('default_nodes_main', 10)); - $output .= theme('feed_icon', url('blog/feed')); + drupal_add_feed(url('blog/feed')); drupal_add_link(array('rel' => 'alternate', 'type' => 'application/rss+xml', @@ -310,5 +310,3 @@ function blog_block($op = 'list', $delta = 0) { } } } - - |