From 9709598a524a009c9d18bd4b7147cd95bd6f4bd2 Mon Sep 17 00:00:00 2001 From: Neil Drumm Date: Sat, 5 Aug 2006 22:17:31 +0000 Subject: Fixing the CSS for theme maintainence and install pages. --- includes/theme.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes/theme.inc') diff --git a/includes/theme.inc b/includes/theme.inc index 1e576f358..79392b765 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -398,7 +398,7 @@ function theme_page($content) { function theme_maintenance_page($content, $messages = TRUE, $partial = FALSE) { drupal_set_header('Content-Type: text/html; charset=utf-8'); - theme('add_style', 'misc/maintenance.css'); + drupal_add_css('misc/maintenance.css', 'core'); drupal_set_html_head(''); $output = "\n"; @@ -428,7 +428,7 @@ function theme_maintenance_page($content, $messages = TRUE, $partial = FALSE) { function theme_install_page($content) { drupal_set_header('Content-Type: text/html; charset=utf-8'); - theme('add_style', 'misc/maintenance.css'); + drupal_add_css('misc/maintenance.css', 'core'); drupal_set_html_head(''); $output = "\n"; $output .= ''; -- cgit v1.2.3