summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorNeil Drumm <drumm@3064.no-reply.drupal.org>2006-08-05 22:17:31 +0000
committerNeil Drumm <drumm@3064.no-reply.drupal.org>2006-08-05 22:17:31 +0000
commit9709598a524a009c9d18bd4b7147cd95bd6f4bd2 (patch)
tree2e43d82c6aae4d0a9d2ab7773ceda6d7a62999db /includes
parent6f22da35408dfeee09e12938cdec570cfb5b7793 (diff)
downloadbrdo-9709598a524a009c9d18bd4b7147cd95bd6f4bd2.tar.gz
brdo-9709598a524a009c9d18bd4b7147cd95bd6f4bd2.tar.bz2
Fixing the CSS for theme maintainence and install pages.
Diffstat (limited to 'includes')
-rw-r--r--includes/theme.inc4
1 files changed, 2 insertions, 2 deletions
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('<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">';