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. --- includes/theme.inc | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) (limited to 'includes/theme.inc') diff --git a/includes/theme.inc b/includes/theme.inc index e5b5ccbed..0bd2416bf 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -137,7 +137,7 @@ function theme_header() { $output .= ""; $output .= ""; $output .= " ". (drupal_get_title() ? drupal_get_title() : variable_get('site_name', "drupal")) .""; - $output .= theme_head(); + $output .= drupal_get_html_head(); $output .= " "; @@ -461,26 +461,6 @@ function theme_xml_icon($url) { return "
\"".
"; } -/** - * Execute hook _head which is run at the start of the page, and output should - * be in the head tags. - * - * @param $main (optional) - * - * @return a string containing the @a error output. - */ -function theme_head($main = 0) { - global $base_url; - $output .= ""; - $output .= "\n"; - $output .= "\n"; - $head = module_invoke_all("head", $main); - $output .= implode($head, "\n"); - return $output; -} - /** * Execute hook _footer() which is run at the end of the page right before the * \ tag. -- cgit v1.2.3