- Patch #23320 by Chris Messina: made it easier to theme the printer-friendly book pages.
parent
d77cf05823
commit
62427644eb
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue