diff options
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) { } } } - - |