- Patch #23320 by Chris Messina: made it easier to theme the printer-friendly book pages.

4.7.x
Dries Buytaert 2005-05-21 09:59:15 +00:00
parent d77cf05823
commit 62427644eb
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;