From 9709598a524a009c9d18bd4b7147cd95bd6f4bd2 Mon Sep 17 00:00:00 2001 From: Neil Drumm <drumm@3064.no-reply.drupal.org> Date: Sat, 5 Aug 2006 22:17:31 +0000 Subject: [PATCH] Fixing the CSS for theme maintainence and install pages. --- includes/theme.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/theme.inc b/includes/theme.inc index 1e576f3584a2..79392b76520f 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('<link rel="shortcut icon" href="'. base_path() .'misc/favicon.ico" type="image/x-icon" />'); $output = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\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('<link rel="shortcut icon" href="'. base_path() .'misc/favicon.ico" type="image/x-icon" />'); $output = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n"; $output .= '<html xmlns="http://www.w3.org/1999/xhtml">'; -- GitLab