|
@@ -99,6 +99,9 @@ function formatMailboxName($imapConnection, $box_array) {
|
|
$line .= "\n<small>\n" .
|
|
$line .= "\n<small>\n" .
|
|
" (<A HREF=\"empty_trash.php\" style=\"text-decoration:none\">"._("purge")."</A>)" .
|
|
" (<A HREF=\"empty_trash.php\" style=\"text-decoration:none\">"._("purge")."</A>)" .
|
|
"</small>";
|
|
"</small>";
|
|
|
|
+ } 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)) {
|
|
if (isset($boxes) && !empty($boxes)) {
|
|
$mailbox = $boxes->mailboxname_full;
|
|
$mailbox = $boxes->mailboxname_full;
|
|
$leader = '<tt>';
|
|
$leader = '<tt>';
|
|
- $leader .= str_repeat(' ',$j);
|
|
|
|
|
|
+ $leader .= str_repeat(' ',$j);
|
|
$mailboxURL = urlencode($mailbox);
|
|
$mailboxURL = urlencode($mailbox);
|
|
/* get unseen/total messages information */
|
|
/* get unseen/total messages information */
|
|
if ($boxes->unseen !== false || $boxes->total !== false) {
|
|
if ($boxes->unseen !== false || $boxes->total !== false) {
|