From 6fc2070a22cda40d174db205847dca4c214eeea6 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 14 Jan 2004 22:30:09 +0000 Subject: Patch 5114 by Kjartan: - Adds drupal_set_header() and drupal_get_headers(). - Cache now stores custom headers. - Replace theme_head() with drupal_get_html_head(), added drupal_set_html_head(). - Added RSS autodiscover links to node, blog and taxonomy pages. --- modules/blog.module | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/blog.module') diff --git a/modules/blog.module b/modules/blog.module index eb0a52d79..5ee3470ce 100644 --- a/modules/blog.module +++ b/modules/blog.module @@ -125,6 +125,7 @@ function blog_page_user($uid) { $output .= theme('pager', NULL, variable_get("default_nodes_main", 10)); $output .= theme('xml_icon', url("blog/feed/$account->uid")); + drupal_set_html_head('uid") .'">'); print theme("page", $output, $title); } @@ -141,6 +142,7 @@ function blog_page_last() { $output .= theme('pager', NULL, variable_get("default_nodes_main", 10)); $output .= theme('xml_icon', url('blog/feed')); + drupal_set_html_head(''); print theme("page", $output); } -- cgit v1.2.3