Changeset 2747 for trunk/expressoMail1_2/inc
- Timestamp:
- 05/10/10 10:52:29 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/class.imap_functions.inc.php
r2739 r2747 117 117 $return = array(); 118 118 $i = 0; 119 $num_msgs = imap_num_msg($this->mbox); 119 $status = imap_status($this->mbox, 120 "{".$this->email_server['imapServer'].":".$this->email_server['imapPort'].$this->imap_options."}".$folder, 121 SA_MESSAGES + SA_UNSEEN); 120 122 if(is_array($sort_array_msg)){ 121 123 foreach($sort_array_msg as $msg_number => $value) … … 132 134 } 133 135 } 134 $return['num_msgs'] = $num_msgs; 136 $return['num_msgs'] = $status->messages; 137 $return['num_unseen'] = $status->unseen; 135 138 136 139 return $return; … … 2321 2324 } 2322 2325 2323 function messages_sort($sort_box_type, $sort_box_reverse, $search_box_type,$offsetBegin,$offsetEnd)2326 function messages_sort($sort_box_type, $sort_box_reverse, $search_box_type, $offsetBegin, $offsetEnd) 2324 2327 { 2325 2328 if ($sort_box_type != "SORTFROM" && $search_box_type!= "FLAGGED"){
Note: See TracChangeset
for help on using the changeset viewer.