X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=functions%2Fpage_header.php;h=8b1d1d9e531e024177c650f9476a821a57bbcf8c;hb=e4821f6c30b9211cf836ae706aa79356f780bb0a;hp=c3a95f49e475fc746b2e1367c511b0ffeb011cb1;hpb=5bbe20e463dc798b73953224f54fd9bbeb5dad29;p=squirrelmail.git diff --git a/functions/page_header.php b/functions/page_header.php index c3a95f49..8b1d1d9e 100644 --- a/functions/page_header.php +++ b/functions/page_header.php @@ -53,7 +53,7 @@ do_hook ("generic_header"); - echo "$title"; + echo "$title\n"; echo "\n\n"; } @@ -62,7 +62,7 @@ if ($target != "") $target = " target=\"$target\""; - + echo ''.$text.''; } @@ -75,20 +75,21 @@ /** Here is the header and wrapping table **/ $shortBoxName = readShortMailboxName($mailbox, "."); - $shortBoxName = stripslashes($shortBoxName); + $shortBoxName = sqStripSlashes($shortBoxName); + echo "\n"; echo "\n"; echo " \n"; echo " \n"; echo " \n"; echo "
\n"; displayInternalLink ("src/signout.php", _("Sign Out"), "_top"); echo " \n"; - echo "
" . _("Current Folder: ") . "$shortBoxName 
\n"; + echo "
" . _("Current Folder") . ": $shortBoxName 
\n"; echo "
\n\n"; echo "\n"; echo " \n"; - echo " \n"; echo " \n"; echo "
\n"; - $urlMailbox = $mailbox; + echo " \n"; + $urlMailbox = urlencode($mailbox); displayInternalLink ("src/compose.php?mailbox=$urlMailbox", _("Compose"), "right"); echo "  \n"; displayInternalLink ("src/addressbook.php", _("Addresses"), "right"); @@ -97,13 +98,15 @@ echo "  \n"; displayInternalLink ("src/options.php", _("Options"), "right"); echo "  \n"; - displayInternalLink ("src/webmail.php?right_frame=help.php", _("Help"), "Help Me!"); + displayInternalLink ("src/search.php?mailbox=$urlMailbox", _("Search"), "right"); + echo "  \n"; + displayInternalLink ("src/help.php", _("Help"), "right"); echo "  \n"; do_hook("menuline"); - echo " \n"; - echo " SquirrelMail\n"; + echo " \n"; + echo " SquirrelMail\n"; echo "
\n\n";