diff options
Diffstat (limited to 'includes/theme.inc')
-rw-r--r-- | includes/theme.inc | 22 |
1 files changed, 1 insertions, 21 deletions
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 .= "<html xmlns=\"http://www.w3.org/1999/xhtml\">"; $output .= "<head>"; $output .= " <title>". (drupal_get_title() ? drupal_get_title() : variable_get('site_name', "drupal")) ."</title>"; - $output .= theme_head(); + $output .= drupal_get_html_head(); $output .= " <style type=\"text/css\" media=\"all\">"; $output .= " @import url(misc/drupal.css);"; $output .= " </style>"; @@ -462,26 +462,6 @@ function theme_xml_icon($url) { } /** - * 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 .= "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />"; - $output .= "<base href=\"$base_url/\" />\n"; - $output .= "<style type=\"text/css\">\n"; - $output .= "@import url(misc/drupal.css);\n"; - $output .= "</style>\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 * \</body> tag. * |