alecpl
2011-11-24 e4a4ca19480690193e36e14ef6b9d592e73e9e9c
program/steps/mail/list.inc
@@ -53,6 +53,9 @@
$mbox_name = $IMAP->get_mailbox_name();
// Synchronize mailbox cache, handle flag changes
$IMAP->mailbox_sync($mbox_name);
// initialize searching result if search_filter is used
if ($_SESSION['search_filter'] && $_SESSION['search_filter'] != 'ALL')
{
@@ -93,7 +96,7 @@
$OUTPUT->set_env('pagecount', $pages);
$OUTPUT->set_env('threading', (bool) $IMAP->threading);
$OUTPUT->set_env('current_page', $count ? $IMAP->list_page : 1);
$OUTPUT->command('set_rowcount', rcmail_get_messagecount_text($count));
$OUTPUT->command('set_rowcount', rcmail_get_messagecount_text($count), $mbox_name);
$OUTPUT->command('set_mailboxname', rcmail_get_mailbox_name_text());
// add message rows
@@ -116,5 +119,3 @@
// send response
$OUTPUT->send();