X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=functions%2Fpage_header.php;h=6e64f6792fc97ecb92f3e7cb1a6480d376852b12;hb=aaf80a85050c4a30b2a56abfbd77a8bf8b1f7ae3;hp=1cde34cfbc0285ab03b71f19d6bfdfe24fe7cb8c;hpb=efe9ae2aa367382336c29928e8188dfad60129be;p=squirrelmail.git diff --git a/functions/page_header.php b/functions/page_header.php index 1cde34cf..6e64f679 100644 --- a/functions/page_header.php +++ b/functions/page_header.php @@ -1,82 +1,145 @@ ' . - "\n\n\n
\n"; - if ($theme_css != '') { - echo "\n"; - } - - do_hook ("generic_header"); - - echo "";
- echo "
|
\n"; + if ( $shortBoxName <> '' && strtolower( $shortBoxName ) <> 'none' ) { + echo ' ' . _("Current Folder") . ": $shortBoxName \n"; + } else { + echo ' '; + } + echo " | \n" + . "\n"; + displayInternalLink ('src/signout.php', _("Sign Out"), $frame_top); + echo " | \n" + . "
\n"; + $urlMailbox = urlencode($mailbox); + displayInternalLink ("src/compose.php?mailbox=$urlMailbox", _("Compose"), 'right'); + echo " \n"; + displayInternalLink ("src/addressbook.php", _("Addresses"), 'right'); + echo " \n"; + displayInternalLink ("src/folders.php", _("Folders"), 'right'); + echo " \n"; + displayInternalLink ("src/options.php", _("Options"), 'right'); + echo " \n"; + displayInternalLink ("src/search.php?mailbox=$urlMailbox", _("Search"), 'right'); + echo " \n"; + displayInternalLink ("src/help.php", _("Help"), 'right'); + echo " \n"; + + do_hook("menuline"); + + echo " | \n"; + echo ($hide_sm_attributions ? ' ' : + "SquirrelMail\n"); + echo " | \n". + "