updated functions
[squirrelmail.git] / functions / page_header.php3
1 <?
2 /**
3 ** page_header.php3
4 **
5 ** Prints the page header (duh)
6 **
7 **/
8
9 function displayPageHeader($mailbox) {
10 /** Here is the header and wrapping table **/
11 $shortBoxName = readShortMailboxName($mailbox, ".");
12 echo "<TABLE BGCOLOR=FFFFFF BORDER=0 COLS=2 WIDTH=100% CELLSPACING=0 CELLPADDING=2>";
13 echo " <TR BGCOLOR=A0B8C8 WIDTH=50%>";
14 echo " <TD ALIGN=left>";
15 echo " <FONT FACE=\"Arial,Helvetica\" SIZE=-1><A HREF=\"signout.php3\" TARGET=_top><B>Sign Out</B></A></FONT>";
16 echo " </TD><TD ALIGN=right WIDTH=50%>";
17 echo " <FONT FACE=\"Arial,Helvetica\"><div align=right>Current Folder: <B>$shortBoxName</div></B></FONT>";
18 echo " </TD>";
19 echo " </TR><TR>";
20 echo " <TD ALIGN=left WIDTH=50%>";
21 echo " <FONT FACE=\"Arial,Helvetica\">Compose</FONT>&nbsp&nbsp";
22 echo " <FONT FACE=\"Arial,Helvetica\">Addresses</FONT>&nbsp&nbsp";
23 echo " <FONT FACE=\"Arial,Helvetica\">Options</FONT>&nbsp&nbsp";
24 echo " </TD><TD ALIGN=right WIDTH=50%>";
25 echo " <FONT FACE=\"Arial,Helvetica\"><A HREF=\"http://adam.usa.om.org/~luke/main.php3\" TARGET=_top>Todos & Bugs</A></FONT>&nbsp&nbsp";
26 echo " <FONT FACE=\"Arial,Helvetica\">Help!</FONT>";
27 echo " </TD>";
28 echo "</TABLE>";
29 }
30 ?>