projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Only grab comments marked i18n to the template.
[squirrelmail.git]
/
functions
/
page_header.php
diff --git
a/functions/page_header.php
b/functions/page_header.php
index 8052a0a9e63829b821b3c02f928672aaa4e45f2e..22413f414ee552b5ba3a535222d27384bdb90887 100644
(file)
--- a/
functions/page_header.php
+++ b/
functions/page_header.php
@@
-96,6
+96,9
@@
function displayHtmlHeader( $title = 'SquirrelMail', $xtra = '', $do_hook = TRUE
$header_tags .= $oTemplate->fetch_right_to_left_stylesheet_link();
}
$header_tags .= $oTemplate->fetch_right_to_left_stylesheet_link();
}
+ // 5. Printer friendly stylesheet
+ $header_tags .= create_css_link($base_uri . 'css/print.css', 'printerfriendly', false, 'print');
+
if ($squirrelmail_language == 'ja_JP') {
/*
* force correct detection of charset, when browser does not follow
if ($squirrelmail_language == 'ja_JP') {
/*
* force correct detection of charset, when browser does not follow
@@
-117,9
+120,9
@@
function displayHtmlHeader( $title = 'SquirrelMail', $xtra = '', $do_hook = TRUE
// hooks for the current page request. See
// the Sent Confirmation v1.7 or Restrict Senders v1.2
// plugins for examples of this approach.
// hooks for the current page request. See
// the Sent Confirmation v1.7 or Restrict Senders v1.2
// plugins for examples of this approach.
- global $null;
ob_start();
ob_start();
- do_hook('generic_header', $null);
+ $temp = array(&$header_tags);
+ do_hook('generic_header', $temp);
$output = ob_get_contents();
ob_end_clean();
// plugin authors can debug their errors with one of the following:
$output = ob_get_contents();
ob_end_clean();
// plugin authors can debug their errors with one of the following: