X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=functions%2Fpage_header.php;h=1af6a86f32de62f0b4baad6b7e156204d13ce1d6;hp=587f1abbd8709af8155238ada1e6905a1315cea4;hb=7b086a8035ee92e3afe42857f6877522c13f2c76;hpb=8df1c96e925f32a319a46a8c92ba58f3457ed2a6
diff --git a/functions/page_header.php b/functions/page_header.php
index 587f1abb..1af6a86f 100644
--- a/functions/page_header.php
+++ b/functions/page_header.php
@@ -14,6 +14,8 @@
include ("../functions/prefs.php");
if (!isset($i18n_php))
include ("../functions/i18n.php");
+ if (!isset($plugin_php))
+ include ("../functions/plugin.php");
// Check to see if gettext is installed
if (function_exists("_")) {
@@ -25,12 +27,6 @@
bindtextdomain("squirrelmail", "../locale/");
textdomain("squirrelmail");
$default_charset = $languages[$squirrelmail_language]["CHARSET"];
-
- // Setting cookie to use on the login screen the next time the
- // same user logs in.
- #setcookie("squirrelmail_language", $squirrelmail_language,
- # time()+2592000);
- $squirrelmail_language = $language;
}
} else {
function _($string) {
@@ -54,6 +50,9 @@
$theme_css);
echo "\n";
}
+
+ do_hook ("generic_header");
+
echo "
$title";
echo "\n\n";
}
@@ -63,28 +62,36 @@
printf('',
$color[8], $color[4], $color[7], $color[7], $color[7]);
+ echo "\n\n";
/** Here is the header and wrapping table **/
$shortBoxName = readShortMailboxName($mailbox, ".");
$shortBoxName = stripslashes($shortBoxName);
- echo "";
- echo " ";
- echo " ";
- echo " " . _("Sign Out") . "";
- echo " | ";
- echo " " . _("Current Folder: ") . "$shortBoxName ";
- echo " | ";
- echo "
\n";
- echo "\n\n";
}
?>