diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-12-14 13:28:11 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-12-14 13:28:11 +0000 |
commit | b9034559db97985bc7ff7f8bb83b1f6fb23948e4 (patch) | |
tree | 2c794f478dd3d9682e9b64f99c8228d91ceddb78 | |
parent | 51c4d6aac0623f1bee058fe997d9fd84d447d384 (diff) | |
download | brdo-b9034559db97985bc7ff7f8bb83b1f6fb23948e4.tar.gz brdo-b9034559db97985bc7ff7f8bb83b1f6fb23948e4.tar.bz2 |
- Patch #93079 by chx: not able to select database.
-rw-r--r-- | includes/theme.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/includes/theme.inc b/includes/theme.inc index ccdc9fcb3..fda5f49ab 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -406,7 +406,7 @@ function theme_page($content) { function theme_maintenance_page($content, $messages = TRUE, $partial = FALSE) { drupal_set_header('Content-Type: text/html; charset=utf-8'); - drupal_add_css('misc/maintenance.css', 'module', 'all', FALSE); + drupal_set_html_head('<style type="text/css" media="all">@import "'. base_path() .'misc/maintenance.css";</style>'); 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"; @@ -414,7 +414,6 @@ function theme_maintenance_page($content, $messages = TRUE, $partial = FALSE) { $output .= '<head>'; $output .= ' <title>'. strip_tags(drupal_get_title()) .'</title>'; $output .= drupal_get_html_head(); - $output .= drupal_get_css(); $output .= drupal_get_js(); $output .= '</head>'; $output .= '<body>'; |