Changeset 841


Ignore:
Timestamp:
05/12/09 10:59:47 (15 years ago)
Author:
niltonneto
Message:

Equalização do código do Trunk com Companies/Celepar?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • companies/celepar/expressoMail1_2/inc/class.imap_functions.inc.php

    r763 r841  
    88        var $public_functions = array 
    99        (        
    10                 'get_range_msgs2'                               => True, 
     10                'get_range_msgs'                                => True, 
    1111                'get_info_msg'                                  => True, 
    1212                'get_info_msgs'                                 => True, 
     
    8484                $i = 0; 
    8585                $num_msgs = imap_num_msg($this->mbox); 
    86                 if(is_array($sort_array_msg)) 
     86                if(is_array($sort_array_msg)){ 
    8787                        foreach($sort_array_msg as $msg_number => $value)  
    8888                        { 
    89                                 //$msg_number = $sort_array_msg[$msg_range_begin-1]; 
    9089                                $temp = $this->get_info_head_msg($msg_number); 
    9190                                if(!$temp) 
     
    9594                                $i++; 
    9695                        } 
    97  
     96                } 
    9897                $return['num_msgs'] = $num_msgs; 
    9998 
     
    258257                                return implode( ',', $ids ); 
    259258                        } 
    260                 } 
     259                        } 
    261260                else if(substr($filename,strlen($filename)-4)==".eml") { 
    262261                        $email = implode("",file($params['FILES'][0]['tmp_name'])); 
     
    18291828                                        $return['new_folder_name'] = $cn; 
    18301829        } 
     1830                 
     1831                // Caso estejamos no box principal, nao eh necessario pegar a informacao da mensagem anterior.           
     1832                if (($params['get_previous_msg']) && ($params['border_ID'] != 'null') && ($params['border_ID'] != '')) 
     1833                { 
     1834                        $return['previous_msg'] = $this->get_info_previous_msg($params); 
     1835                        // Fix problem in unserialize function JS. 
     1836                        $return['previous_msg']['body'] = str_replace(array('{','}'), array('{','}'), $return['previous_msg']['body']); 
     1837                } 
    18311838                 
    18321839                $mbox_stream = $this->open_mbox($folder);        
Note: See TracChangeset for help on using the changeset viewer.