5 ** Prints the page header (duh)
9 $page_header_php = true;
11 // This is done to ensure that the character set is correct when
12 // receiving input from HTTP forms
13 header ("Content-Type: text/html; charset=iso-8859-1");
15 function displayPageHeader($color, $mailbox) {
16 /** Here is the header and wrapping table **/
17 $shortBoxName = readShortMailboxName($mailbox, ".");
18 echo "<TABLE BGCOLOR=\"$color[4]\" BORDER=0 COLS=2 WIDTH=100% CELLSPACING=0 CELLPADDING=2>";
19 echo " <TR BGCOLOR=\"$color[9]\" WIDTH=100%>";
20 echo " <TD ALIGN=left WIDTH=30%>";
21 echo " <FONT FACE=\"Arial,Helvetica\"><A HREF=\"signout.php\" TARGET=_top><B>" . _("Sign Out") . "</B></A></FONT>";
22 echo " </TD><TD ALIGN=right WIDTH=70%>";
23 echo " <FONT FACE=\"Arial,Helvetica\"><div align=right>" . _("Current Folder: ") . "<B>$shortBoxName </div></B></FONT>";
25 echo " </TR></TABLE>\n";
26 echo "<TABLE BGCOLOR=\"$color[4]\" BORDER=0 COLS=2 WIDTH=100% CELLSPACING=0 CELLPADDING=2><TR>";
27 echo " <TD ALIGN=left WIDTH=70%>";
28 echo " <FONT FACE=\"Arial,Helvetica\"><A HREF=\"compose.php\">" . _("Compose") . "</A></FONT>  ";
29 echo " <FONT FACE=\"Arial,Helvetica\">". _("Addresses") ."</FONT>  ";
30 echo " <FONT FACE=\"Arial,Helvetica\"><A HREF=\"folders.php\">" . _("Folders") . "</A></FONT>  ";
31 echo " <FONT FACE=\"Arial,Helvetica\"><A HREF=\"options.php\">" . _("Options") . "</A></FONT>  ";
32 echo " </TD><TD ALIGN=right WIDTH=30%>";
33 echo " <FONT FACE=\"Arial,Helvetica\"><A HREF=\"http://squirrelmail.sourceforge.net\" TARGET=_top>SquirrelMail</A></FONT>";