X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=functions%2Fpage_header.php;h=7ea711d077d104ddff771755a0e8eeb39ea8e5f2;hb=b44ee3f0f2ffca2217c29803f3c411e562ad937a;hp=c6a1f4b0d0280312501b89767cea665c6db886cd;hpb=6dc0e4643d9162034631ed7dac0a0a7cddc1f48d;p=squirrelmail.git diff --git a/functions/page_header.php b/functions/page_header.php index c6a1f4b0..7ea711d0 100644 --- a/functions/page_header.php +++ b/functions/page_header.php @@ -1,87 +1,293 @@ ' . - "\n\n\n
\n"; + echo '' . + "\n\n\n\n"; + if ( !isset( $custom_css ) || $custom_css == 'none' ) { if ($theme_css != '') { - echo "\n"; + echo ""; } + } else { + echo ''; + } + + if ($do_hook) { + do_hook("generic_header"); + } + + echo "\n\n"; - displayInternalLink ("src/signout.php", _("Sign Out"), "_top"); - echo " | \n". - ' ' . _("Current Folder") . ": $shortBoxName \n". - " | \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". - "