updated the config file for themable support, and added 2 themes
[squirrelmail.git] / functions / page_header.php
CommitLineData
3302d0d4 1<?
2 /**
a09387f4 3 ** page_header.php
3302d0d4 4 **
5 ** Prints the page header (duh)
6 **
7 **/
8
f8f9bed9 9 function displayPageHeader($color, $mailbox) {
3302d0d4 10 /** Here is the header and wrapping table **/
11 $shortBoxName = readShortMailboxName($mailbox, ".");
f8f9bed9 12 echo "<TABLE BGCOLOR=\"$color[4]\" BORDER=0 COLS=2 WIDTH=100% CELLSPACING=0 CELLPADDING=2>";
13 echo " <TR BGCOLOR=\"$color[3]\" WIDTH=100%>";
a044cee3 14 echo " <TD ALIGN=left WIDTH=30%>";
15 echo " <FONT FACE=\"Arial,Helvetica\"><A HREF=\"signout.php\" TARGET=_top><B>Sign Out</B></A></FONT>";
16 echo " </TD><TD ALIGN=right WIDTH=70%>";
d92b6f31 17 echo " <FONT FACE=\"Arial,Helvetica\"><div align=right>Current Folder: <B>$shortBoxName&nbsp;</div></B></FONT>";
3302d0d4 18 echo " </TD>";
a044cee3 19 echo " </TR></TABLE>\n";
f8f9bed9 20 echo "<TABLE BGCOLOR=\"$color[4]\" BORDER=0 COLS=2 WIDTH=100% CELLSPACING=0 CELLPADDING=2><TR>";
a044cee3 21 echo " <TD ALIGN=left WIDTH=70%>";
8467bf00 22 echo " <FONT FACE=\"Arial,Helvetica\"><A HREF=\"compose.php\">Compose</A></FONT>&nbsp&nbsp";
3302d0d4 23 echo " <FONT FACE=\"Arial,Helvetica\">Addresses</FONT>&nbsp&nbsp";
a044cee3 24 echo " <FONT FACE=\"Arial,Helvetica\"><A HREF=\"folders.php\">Folders</A></FONT>&nbsp&nbsp";
3302d0d4 25 echo " <FONT FACE=\"Arial,Helvetica\">Options</FONT>&nbsp&nbsp";
a044cee3 26 echo " </TD><TD ALIGN=right WIDTH=30%>";
48084cf0 27 echo " <FONT FACE=\"Arial,Helvetica\"><A HREF=\"http://adam.usa.om.org/~luke/main.php3\" TARGET=_top>Todos & Bugs</A></FONT>&nbsp&nbsp";
3302d0d4 28 echo " <FONT FACE=\"Arial,Helvetica\">Help!</FONT>";
29 echo " </TD>";
30 echo "</TABLE>";
31 }
32?>