diff options
| author | roundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2005-10-16 19:14:00 +0000 |
|---|---|---|
| committer | roundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2005-10-16 19:14:00 +0000 |
| commit | f9041ebd5d81dfb0cab5121e24fee7f713e987c8 (patch) | |
| tree | b35df425e71e6d5ffb3036da497f3ed811ecdd66 /roundcubemail/program/steps/mail/list.inc | |
| parent | 6d888fda942cbf15e615287dcadce07080bd08fe (diff) | |
Improved folder display; added Portuguese and Catalan translation
git-svn-id: https://svn.roundcube.net/trunk@38 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail/list.inc')
| -rw-r--r-- | roundcubemail/program/steps/mail/list.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/list.inc b/roundcubemail/program/steps/mail/list.inc index 0ddf5cc11..1e9ce926b 100644 --- a/roundcubemail/program/steps/mail/list.inc +++ b/roundcubemail/program/steps/mail/list.inc @@ -20,7 +20,9 @@ */ $REMOTE_REQUEST = TRUE; +$OUTPUT_TYPE = 'js'; +$unseen = $IMAP->messagecount($mbox, 'UNSEEN', !empty($_GET['_refresh']) ? TRUE : FALSE); $count = $IMAP->messagecount(); // update message count display @@ -31,7 +33,7 @@ $commands .= sprintf("this.set_rowcount('%s');\n", rcmail_get_messagecount_text( // update mailboxlist $mbox = $IMAP->get_mailbox_name(); -$commands .= sprintf("this.set_unread_count('%s', %d);\n", $mbox, $IMAP->messagecount($mbox, 'UNSEEN')); +$commands .= sprintf("this.set_unread_count('%s', %d);\n", addslashes($mbox), $unseen); // add message rows |
