diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-05-21 09:59:15 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-05-21 09:59:15 +0000 |
commit | 62427644ebc07c2be56153ffc2db012ced6eef7c (patch) | |
tree | a1f1fadfa9231f458a410efd5368cfb1dffe2861 /modules | |
parent | d77cf05823d2a019d753421ca1e464332fde9dac (diff) | |
download | brdo-62427644ebc07c2be56153ffc2db012ced6eef7c.tar.gz brdo-62427644ebc07c2be56153ffc2db012ced6eef7c.tar.bz2 |
- Patch #23320 by Chris Messina: made it easier to theme the printer-friendly book pages.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/book.module | 2 | ||||
-rw-r--r-- | modules/book/book.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/book.module b/modules/book.module index 80c32d3c5..abb79bc40 100644 --- a/modules/book.module +++ b/modules/book.module @@ -620,7 +620,7 @@ function book_print($nid = 0, $depth = 1) { $html = '<html><head><title>'. check_plain($node->title) .'</title>'; $html .= '<base href="'. $base_url .'/" />'; - $html .= "<style type=\"text/css\">\n@import url(misc/print.css);\n</style>"; + $html .= theme_stylesheet_import('misc/print.css', 'print'); $html .= '</head><body>'. $output .'</body></html>'; print $html; diff --git a/modules/book/book.module b/modules/book/book.module index 80c32d3c5..abb79bc40 100644 --- a/modules/book/book.module +++ b/modules/book/book.module @@ -620,7 +620,7 @@ function book_print($nid = 0, $depth = 1) { $html = '<html><head><title>'. check_plain($node->title) .'</title>'; $html .= '<base href="'. $base_url .'/" />'; - $html .= "<style type=\"text/css\">\n@import url(misc/print.css);\n</style>"; + $html .= theme_stylesheet_import('misc/print.css', 'print'); $html .= '</head><body>'. $output .'</body></html>'; print $html; |