X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=src%2Fleft_main.php;h=71fb702868f5373e4f11e46d59a4257c064fd489;hp=8a572a87cdba397c31709947ca9882e31eeb86c0;hb=c3ccfa1912b4ca47279d259bb587ceb293ce5d83;hpb=0654bd86997557a3c8ff10c233caae6a1643cbe8
diff --git a/src/left_main.php b/src/left_main.php
index 8a572a87..71fb7028 100644
--- a/src/left_main.php
+++ b/src/left_main.php
@@ -99,6 +99,9 @@ function formatMailboxName($imapConnection, $box_array) {
$line .= "\n\n" .
" ("._("purge").")" .
"";
+ } else {
+ $line .= concat_hook_function('left_main_after_each_folder',
+ array(isset($numMessages) ? $numMessages : '',$real_box,$imapConnection));
}
}
@@ -293,7 +296,7 @@ function listBoxes ($boxes, $j=0 ) {
if (isset($boxes) && !empty($boxes)) {
$mailbox = $boxes->mailboxname_full;
$leader = '';
- $leader .= str_repeat(' ',$j);
+ $leader .= str_repeat(' ',$j);
$mailboxURL = urlencode($mailbox);
/* get unseen/total messages information */
if ($boxes->unseen !== false || $boxes->total !== false) {