X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=functions%2Fpage_header.php;h=3afdeef122aae02e436b5ca8af13256d383878d8;hp=f6ab137fc41a9fb016b5b305c0b6f079f6522592;hb=ffd8224ce14be1e6eb40c4ace15f46c21d6f4b9b;hpb=692155b7fd835420fda759bff62c0f34f6b1d583 diff --git a/functions/page_header.php b/functions/page_header.php index f6ab137f..3afdeef1 100644 --- a/functions/page_header.php +++ b/functions/page_header.php @@ -2,15 +2,14 @@ /** ** page_header.php ** + ** Copyright (c) 1999-2001 The Squirrelmail Development Team + ** Licensed under the GNU GPL. For full terms see the file COPYING. + ** ** Prints the page header (duh) ** ** $Id$ **/ - if (defined('page_header_php')) - return; - define('page_header_php', true); - // Always set up the language before calling these functions function displayHtmlHeader( $title = 'SquirrelMail', $xtra = '', $do_hook = TRUE ) { @@ -49,18 +48,18 @@ /** Here is the header and wrapping table **/ $shortBoxName = readShortMailboxName($mailbox, $delimiter); - echo "\n"; - // echo "
"; - echo "\n"; - echo " \n"; - echo "
\n"; + echo "\n". + // "\n". + " \n". + "
". + "\n". + " \n". + " \n"; - echo " \n"; - echo " \n"; - echo " \n". + " \n". + " \n". + " \n"; - echo " \n"; - echo "
\n"; displayInternalLink ("src/signout.php", _("Sign Out"), "_top"); - echo " \n"; - echo ' ' . _("Current Folder") . ": $shortBoxName \n"; - echo "
\n"; + echo " \n". + ' ' . _("Current Folder") . ": $shortBoxName \n". + "
\n"; $urlMailbox = urlencode($mailbox); displayInternalLink ("src/compose.php?mailbox=$urlMailbox", _("Compose"), "right"); echo "  \n"; @@ -80,9 +79,10 @@ echo " \n"; echo ($hide_sm_attributions ? ' ' : "SquirrelMail\n"); - echo "
\n\n"; + echo "
\n\n"; // echo "
"; } -?> + +?> \ No newline at end of file