X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=src%2Fleft_main.php;h=49043be1b763eb63effcdc2385edd8daf7e527bd;hp=086ec0821fefb7bfd170ee3af4e0742ff76f4571;hb=de80e95e61d4a179a0d41ac4512c83818f3243ef;hpb=ed4332d1ce7dc32d4af42d75c1d52d3d89730b2f diff --git a/src/left_main.php b/src/left_main.php index 086ec082..49043be1 100644 --- a/src/left_main.php +++ b/src/left_main.php @@ -37,6 +37,7 @@ include("../config/config.php"); include("../functions/strings.php"); include("../functions/imap.php"); + include("../functions/mailbox.php"); // open a connection on the imap port (143) $imapConnection = loginToImapServer($username, $key, $imapServerAddress); @@ -51,9 +52,10 @@ echo "\n"; for ($i = 0;$i < count($str); $i++) { $mailbox = Chop($str[$i]); + $mailbox = findMailboxName($mailbox); + // find the quote at the begining of the mailbox name. // i subtract 1 from the strlen so it doesn't find the quote at the end of the mailbox name. - $mailbox = findMailboxName($mailbox); $periodCount = countCharInString($mailbox, "."); // indent the correct number of spaces. @@ -62,7 +64,11 @@ $mailboxURL = urlencode($mailbox); echo ""; + if ($doBold == true) + echo ""; echo readShortMailboxName($mailbox, "."); + if ($doBold == true) + echo ""; echo "
\n"; } echo "
";