X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fright_main.php;h=1def94edfdb5ffb4280ea0ed82db1001b205d77a;hb=6b96544adcccc142809cde809395d31fc1ae4b93;hp=3071e422e3105839f113bf4c2f66a75c0dbd52b8;hpb=2aa12d5e029f04fa8c778ec1d3487418d0c3b62d;p=squirrelmail.git diff --git a/src/right_main.php b/src/right_main.php index 3071e422..1def94ed 100644 --- a/src/right_main.php +++ b/src/right_main.php @@ -17,7 +17,6 @@ } ?> - \n"; + echo ""; ///////////////////////////////////////////////////////////////////////////////// // // incoming variables from URL: @@ -45,15 +46,15 @@ // ///////////////////////////////////////////////////////////////////////////////// - // open a connection on the imap port (143) $imapConnection = loginToImapServer($username, $key, $imapServerAddress); // If the page has been loaded without a specific mailbox, // just show a page of general info. if (!isset($mailbox)) { - displayPageHeader("None"); - general_info($motd, $org_logo, $version, $org_name); + displayPageHeader($color, "None"); + general_info($motd, $org_logo, $version, $org_name, $color); + echo ""; exit; } @@ -61,7 +62,7 @@ selectMailbox($imapConnection, $mailbox, $numMessages); // Display the header at the top of the page - displayPageHeader($mailbox); + displayPageHeader($color, $mailbox); // Get the list of messages for this mailbox showMessagesForMailbox($imapConnection, $mailbox, $numMessages, $startMessage, $sort);