Changeset 232 in subversion for trunk/roundcubemail/program/steps/mail/list.inc
- Timestamp:
- May 18, 2006 11:46:50 AM (7 years ago)
- File:
-
- 1 edited
-
trunk/roundcubemail/program/steps/mail/list.inc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/steps/mail/list.inc
r175 r232 47 47 { 48 48 $a_msgs = split(',', $_SESSION['search'][$_GET['_search']]); 49 $a_headers = $IMAP->list_header_set($mbox , $a_msgs, NULL, $sort_col, $sort_order);49 $a_headers = $IMAP->list_header_set($mbox_name, $a_msgs, NULL, $sort_col, $sort_order); 50 50 $count = count($a_msgs); 51 51 } … … 53 53 { 54 54 if ($count = $IMAP->messagecount()) 55 $a_headers = $IMAP->list_headers($mbox , NULL, $sort_col, $sort_order);55 $a_headers = $IMAP->list_headers($mbox_name, NULL, $sort_col, $sort_order); 56 56 } 57 57 58 $unseen = $IMAP->messagecount($mbox , 'UNSEEN', !empty($_GET['_refresh']) ? TRUE : FALSE);58 $unseen = $IMAP->messagecount($mbox_name, 'UNSEEN', !empty($_GET['_refresh']) ? TRUE : FALSE); 59 59 60 60 // update message count display … … 65 65 66 66 // update mailboxlist 67 $mbox = $IMAP->get_mailbox_name();68 $commands .= sprintf("this.set_unread_count('%s', %d);\n", addslashes($mbox ), $unseen);67 $mbox_name = $IMAP->get_mailbox_name(); 68 $commands .= sprintf("this.set_unread_count('%s', %d);\n", addslashes($mbox_name), $unseen); 69 69 70 70
Note: See TracChangeset
for help on using the changeset viewer.
