diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-01-25 20:38:03 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-01-25 20:38:03 +0000 |
commit | dbcda92b76b5e75b5d657a39a3ba8abc9828490a (patch) | |
tree | 19afd90594f7d4239843824fe56a491143f8545a /modules/blog | |
parent | 01b8e7fdf05cf44ac9d76bbefd3b9c1bb1d473f7 (diff) | |
download | brdo-dbcda92b76b5e75b5d657a39a3ba8abc9828490a.tar.gz brdo-dbcda92b76b5e75b5d657a39a3ba8abc9828490a.tar.bz2 |
- Patch #16021 by tangent: changed the format "/blog/feed/52" to "/blog/52/feed".
Diffstat (limited to 'modules/blog')
-rw-r--r-- | modules/blog/blog.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/blog/blog.module b/modules/blog/blog.module index 6070d193d..dc40360c5 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -162,9 +162,9 @@ function blog_page_user($uid) { $output .= node_view(node_load(array('nid' => $node->nid)), 1); } $output .= theme('pager', NULL, variable_get('default_nodes_main', 10)); - $output .= theme('xml_icon', url("blog/feed/$account->uid")); + $output .= theme('xml_icon', url("blog/$account->uid/feed")); - drupal_set_html_head('<link rel="alternate" type="application/rss+xml" title="RSS - '. $title .'" href="'. url("blog/feed/$account->uid") .'" />'); + drupal_set_html_head('<link rel="alternate" type="application/rss+xml" title="RSS - '. $title .'" href="'. url("blog/$account->uid/feed") .'" />'); print theme('page', $output); } else { |