Changeset 6254 for trunk/expressoMail1_2
- Timestamp:
- 05/21/12 16:02:11 (12 years ago)
- Location:
- trunk/expressoMail1_2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/class.imap_functions.inc.php
r6243 r6254 162 162 } 163 163 164 function get_range_msgs3($params){ 165 166 $return = $this->get_range_msgs2($params); 167 168 $return['folder'] = mb_convert_encoding( $return['folder'], 'ISO_8859-1', 'UTF-8' ); 169 170 return $return; 171 } 172 164 173 function get_range_msgs2($params) 165 174 { … … 183 192 184 193 if(!$search_box_type || $search_box_type == 'UNSEEN' || $search_box_type == 'SEEN') { 185 $msgs_info = imap_status($this->mbox,"{".$this->imap_server.":".$this->imap_port.$this->imap_options."}".mb_convert_encoding( $folder, 'UTF7-IMAP', ' ISO_8859-1' ) ,SA_ALL);194 $msgs_info = imap_status($this->mbox,"{".$this->imap_server.":".$this->imap_port.$this->imap_options."}".mb_convert_encoding( $folder, 'UTF7-IMAP', 'UTF-8, ISO_8859-1' ) ,SA_ALL); 186 195 187 196 $return['tot_unseen'] = ($search_box_type == 'SEEN') ? 0 : $msgs_info->unseen; -
trunk/expressoMail1_2/js/messages_controller.js
r6088 r6254 25 25 draw_tree_local_folders(); 26 26 }else { 27 cExecute ("$this.imap_functions.get_range_msgs2&folder="+folder+"&msg_range_begin="+msg_range_begin+"&msg_range_end="+emails_per_page+"&sort_box_type="+sort_box_type+ "&search_box_type="+ search_box_type +"&sort_box_reverse="+sort_box_reverse+"", call_back); 27 $.ajax({ 28 url: "controller.php?" + $.param( {action: "$this.imap_functions.get_range_msgs3", 29 folder: folder, 30 msg_range_begin: msg_range_begin, 31 msg_range_end: emails_per_page, 32 sort_box_type: sort_box_type, 33 search_box_type: search_box_type, 34 sort_box_reverse: sort_box_reverse } ), 35 36 success: function( data ){ 37 data = connector.unserialize(data); 38 39 if( data ) 40 call_back( data ); 41 } 42 43 }); 28 44 } 29 45 }
Note: See TracChangeset
for help on using the changeset viewer.