diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-04-24 16:34:36 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-04-24 16:34:36 +0000 |
commit | a76a1e1f3f5b641663ef3d00a752ec1cbd1d4ee9 (patch) | |
tree | 77a2538001468623dc122943f019daeb6fce9be1 /modules/blog.module | |
parent | 79a5700c57e8ed86b4aab66022a448df978d2e3f (diff) | |
download | brdo-a76a1e1f3f5b641663ef3d00a752ec1cbd1d4ee9.tar.gz brdo-a76a1e1f3f5b641663ef3d00a752ec1cbd1d4ee9.tar.bz2 |
- Patch 20910 by chx: centralize print theme page.
Diffstat (limited to 'modules/blog.module')
-rw-r--r-- | modules/blog.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/blog.module b/modules/blog.module index 45007956b..faad60764 100644 --- a/modules/blog.module +++ b/modules/blog.module @@ -149,7 +149,7 @@ function blog_page_user($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/$account->uid/feed") .'" />'); - print theme('page', $output); + return $output; } else { drupal_not_found(); @@ -173,7 +173,7 @@ function blog_page_last() { $output .= theme('xml_icon', url('blog/feed')); drupal_set_html_head('<link rel="alternate" type="application/rss+xml" title="RSS - blogs" href="'. url('blog/feed') .'" />'); - print theme('page', $output); + return $output; } /** |