diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-08-23 16:41:19 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-08-23 16:41:19 +0000 |
commit | f2ce877d43ce72173a8eaaee5ec76640fe2ab6c5 (patch) | |
tree | 471c3df085e6ce44830ece1bf0239026bb4f0f37 /includes/theme.inc | |
parent | 7b7ab29a22099da05c6e287847561194f9762981 (diff) | |
download | brdo-f2ce877d43ce72173a8eaaee5ec76640fe2ab6c5.tar.gz brdo-f2ce877d43ce72173a8eaaee5ec76640fe2ab6c5.tar.bz2 |
- Patch #145218 by profix898, bennybobw, Crell, forngren et al: use href instead of @import for CSS.
Diffstat (limited to 'includes/theme.inc')
-rw-r--r-- | includes/theme.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/theme.inc b/includes/theme.inc index 4921d3a8d..715183408 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -943,9 +943,9 @@ function theme_placeholder($text) { function theme_maintenance_page($content, $show_messages = TRUE) { // Set required headers. drupal_set_header('Content-Type: text/html; charset=utf-8'); - drupal_set_html_head('<style type="text/css" media="all">@import "'. base_path() .'misc/maintenance.css";</style>'); - drupal_set_html_head('<style type="text/css" media="all">@import "'. base_path() . drupal_get_path('module', 'system') .'/defaults.css";</style>'); - drupal_set_html_head('<style type="text/css" media="all">@import "'. base_path() . drupal_get_path('module', 'system') .'/system.css";</style>'); + drupal_set_html_head('<link type="text/css" rel="stylesheet" media="all" href="'. base_path() .'misc/maintenance.css" />'); + drupal_set_html_head('<link type="text/css" rel="stylesheet" media="all" href="'. base_path() . drupal_get_path('module', 'system') .'/defaults.css" />'); + drupal_set_html_head('<link type="text/css" rel="stylesheet" media="all" href="'. base_path() . drupal_get_path('module', 'system') .'/system.css" />'); drupal_set_html_head('<link rel="shortcut icon" href="'. base_path() .'misc/favicon.ico" type="image/x-icon" />'); // Prepare variables. |