summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-08-23 16:41:19 +0000
committerDries Buytaert <dries@buytaert.net>2007-08-23 16:41:19 +0000
commitf2ce877d43ce72173a8eaaee5ec76640fe2ab6c5 (patch)
tree471c3df085e6ce44830ece1bf0239026bb4f0f37 /modules
parent7b7ab29a22099da05c6e287847561194f9762981 (diff)
downloadbrdo-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 'modules')
-rw-r--r--modules/book/book.module5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/book/book.module b/modules/book/book.module
index 3a51bc4c8..2a7c7acfe 100644
--- a/modules/book/book.module
+++ b/modules/book/book.module
@@ -1122,11 +1122,10 @@ function theme_book_export_html($title, $content) {
$html .= "<head>\n<title>". $title ."</title>\n";
$html .= '<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />';
$html .= '<base href="'. $base_url .'/" />'."\n";
- $html .= "<style type=\"text/css\">\n@import url(misc/print.css);\n";
+ $html .= '<link type="text/css" rel="stylesheet" href="misc/print.css" />';
if (defined('LANGUAGE_RTL') && $language->direction == LANGUAGE_RTL) {
- $html .= "@import url(misc/print-rtl.css);\n";
+ $html .= '<link type="text/css" rel="stylesheet" href="misc/print-rtl.css" />';
}
- $html .= "</style>\n";
$html .= "</head>\n<body>\n". $content ."\n</body>\n</html>\n";
return $html;
}