summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/book.module2
-rw-r--r--modules/book/book.module2
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;