Changeset 7655 for trunk/expressoMail1_2/inc/class.exporteml.inc.php
- Timestamp:
- 12/14/12 14:30:35 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/class.exporteml.inc.php
r7414 r7655 123 123 if (is_array($files)) 124 124 { 125 for ($i=0; $i < count($files); $i++)125 for ($i=0; $i < count($files); ++$i) 126 126 { 127 127 $files[$i] = escapeshellarg($files[$i]); … … 315 315 316 316 //cria um .zip com as mensagens selecionadas 317 for($i = 0; $i < count($msg_number); $i++)317 for($i = 0; $i < count($msg_number); ++$i) 318 318 { 319 319 $header = $this-> getHeader($msg_number[$i]); … … 354 354 $array_names_keys = array_keys($sorted_msgs); 355 355 356 for($i = 0; $i < count($array_names_keys); $i++){356 for($i = 0; $i < count($array_names_keys); ++$i){ 357 357 $this->folder = mb_convert_encoding($array_names_keys[$i], "UTF7-IMAP","UTF-8, ISO-8859-1, UTF7-IMAP"); 358 358 $msg_number = explode(',', $sorted_msgs[$array_names_keys[$i]]); … … 360 360 $this->connectImap(); 361 361 362 for($j = 0; $j < count($msg_number); $j++)362 for($j = 0; $j < count($msg_number); ++$j) 363 363 { 364 364 $header = $this-> getHeader($msg_number[$j]); … … 474 474 } 475 475 476 for($i = 0; $i < count($array_ids); $i++)476 for($i = 0; $i < count($array_ids); ++$i) 477 477 { 478 478 $header = $this-> getHeader($array_ids[$i]); … … 797 797 $fileNames = Array(); 798 798 799 for ($i = 0; $i < count($attachments); $i++)799 for ($i = 0; $i < count($attachments); ++$i) 800 800 { 801 801 $attachments[$i]['name'] = $this->remove_accents($attachments[$i]['name']); … … 803 803 } 804 804 805 for ($i = 0; $i < count($attachments); $i++)805 for ($i = 0; $i < count($attachments); ++$i) 806 806 { 807 807 $fileName = $attachments[$i]['name']; … … 811 811 if (count($result) > 1) 812 812 { 813 for ($j = 1; $j < count($result); $j++)813 for ($j = 1; $j < count($result); ++$j) 814 814 { 815 815 $replacement = '('.$j.')$0';
Note: See TracChangeset
for help on using the changeset viewer.