summaryrefslogtreecommitdiff
path: root/modules/blog.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-01-25 20:38:03 +0000
committerDries Buytaert <dries@buytaert.net>2005-01-25 20:38:03 +0000
commitdbcda92b76b5e75b5d657a39a3ba8abc9828490a (patch)
tree19afd90594f7d4239843824fe56a491143f8545a /modules/blog.module
parent01b8e7fdf05cf44ac9d76bbefd3b9c1bb1d473f7 (diff)
downloadbrdo-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.module')
-rw-r--r--modules/blog.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/blog.module b/modules/blog.module
index 6070d193d..dc40360c5 100644
--- a/modules/blog.module
+++ b/modules/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 {