Changeset 7655 for trunk/expressoMail1_2/inc
- Timestamp:
- 12/14/12 14:30:35 (11 years ago)
- Location:
- trunk/expressoMail1_2/inc
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/class.ScriptS.inc.php
r6057 r7655 297 297 error_log( print_r($rule, true), 3, "/tmp/log" ); 298 298 299 $a++;299 ++$a; 300 300 } 301 301 -
trunk/expressoMail1_2/inc/class.db_functions.inc.php
r6532 r7655 183 183 $array_addrs_final = array(); 184 184 185 for($i = 0; $i < count($array_addrs); $i++){185 for($i = 0; $i < count($array_addrs); ++$i){ 186 186 $j = count($array_addrs_final); 187 187 … … 210 210 $array_addrs_final[$j] = $contact['connection_value']; 211 211 212 $j++;212 ++$j; 213 213 } 214 214 }else{ -
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'; -
trunk/expressoMail1_2/inc/class.functions.inc.php
r7500 r7655 127 127 // End Bug fixed. 128 128 } 129 for($i = 0; $i < count($files); $i++) {129 for($i = 0; $i < count($files); ++$i) { 130 130 if(count(explode('.js',$files[$i])) > 1) { 131 131 if($includeFiles && array_search(trim($files[$i]),$includeFiles)){ -
trunk/expressoMail1_2/inc/class.imap_attachment.inc.php
r6037 r7655 21 21 if($contentParts > 1) 22 22 { 23 for($i=1; $i<$contentParts; $i++)23 for($i=1; $i<$contentParts; ++$i) 24 24 { 25 25 $msg_info['attachment'][$i]['part_in_msg'] = ($i+1); … … 79 79 //$array_parts_attachments['names'] .= $array_parts_attachments[$i]['name'] . ', '; 80 80 $array_parts_attachments[$i]['fsize'] = $msg->fsize[$msgno][$index]; 81 $i++;81 ++$i; 82 82 } 83 83 } -
trunk/expressoMail1_2/inc/class.imap_functions.inc.php
r7622 r7655 46 46 function imap_functions (){ 47 47 $this->init(); 48 } 49 48 } 49 50 50 function init(){ 51 51 $this->foldersLimit = $_SESSION['phpgw_info']['user']['preferences']['expressoMail']['imap_max_folders'] ? $_SESSION['phpgw_info']['user']['preferences']['expressoMail']['imap_max_folders'] : 20000; //Limit of folders (mailboxes) user can see … … 231 231 232 232 $return[$i] = $this->get_info_head_msg( $msg_number , $sample ); 233 $i++;233 ++$i; 234 234 } 235 235 … … 245 245 array('filter' => $filter, 'criteria' => array('deepness' => '2')) 246 246 ); 247 for($i=0; $i<count($sort_array_msg); $i++){247 for($i=0; $i<count($sort_array_msg); ++$i){ 248 248 if(!isset($return[$i]['msg_number'])) 249 249 continue; 250 250 251 251 $numFlags = count($followupflagged); 252 for($ii=0; $ii<$numFlags; $ii++){252 for($ii=0; $ii<$numFlags; ++$ii){ 253 253 if($return[$i]['msg_number'] == $followupflagged[$ii]['messageNumber']){ 254 254 $followupflag = Controller::read( array( 'concept' => 'followupflag', 'id' => $followupflagged[$ii]['followupflagId'] )); … … 259 259 } 260 260 $numLabels = count($labeleds); 261 for($ii=0; $ii<$numLabels; $ii++){261 for($ii=0; $ii<$numLabels; ++$ii){ 262 262 if($return[$i]['msg_number'] == $labeleds[$ii]['messageNumber']){ 263 263 $labels = Controller::read( array( 'concept' => 'label', 'id' => $labeleds[$ii]['labelId'])); … … 290 290 if($i <= ($msg_range_end-$msg_range_begin)) 291 291 $return[$i] = $temp; 292 $i++;292 ++$i; 293 293 } 294 294 } … … 518 518 $elements = imap_mime_header_decode($string); 519 519 520 for($i = 0;$i < count($elements); $i++)520 for($i = 0;$i < count($elements);++$i) 521 521 { 522 522 $charset = strtolower($elements[$i]->charset); … … 743 743 if(!in_array($each_id,$messages_not_to_copy)) { 744 744 array_push($ids,$each_id); 745 $cont++;745 ++$cont; 746 746 } 747 747 if($cont>=100) … … 786 786 $array_names_keys = array_keys($sorted_msgs); 787 787 788 for($i = 0; $i < count($sorted_msgs); $i++){788 for($i = 0; $i < count($sorted_msgs); ++$i){ 789 789 790 790 $new_params = array(); … … 1132 1132 $return['next_message'] = null; 1133 1133 }else{ 1134 for($i = 0; $i < count($msg_ids); $i++){1134 for($i = 0; $i < count($msg_ids); ++$i){ 1135 1135 if($msg_ids[$i] == $msg_number){ 1136 1136 $return['prev_message'] = $msg_ids[$i-1]; … … 2256 2256 $return['new_msgs'] += 1; 2257 2257 } 2258 $aux++;2258 ++$aux; 2259 2259 } 2260 2260 }else if(count($msg_to_insert) > 0 && $msgs_in_the_server && $msgs_in_the_client[0] != "" && $return['new_msgs'] == 0){ … … 2264 2264 $return['new_msgs'] += 1; 2265 2265 } 2266 $aux++;2266 ++$aux; 2267 2267 } 2268 2268 }else if($num_msgs < $msg_range_end && $return['new_msgs'] == 0 && count($msg_to_insert) > 0 && $msg_range_end == $dif){ … … 2298 2298 2299 2299 $return[$i]['msg_folder'] = $folder; 2300 $i++;2300 ++$i; 2301 2301 } 2302 2302 $return['quota'] = $this->get_quota(array('folder_id' => $folder)); … … 2366 2366 { 2367 2367 $principals = array(); 2368 for($x = 0; $x < 5 ; $x++)2368 for($x = 0; $x < 5 ; ++$x) 2369 2369 { 2370 2370 switch ($x) { … … 2559 2559 }else{ 2560 2560 $child = $base_path.$this->imap_delimiter; 2561 for($i =0; $i < count($test); $i++){2561 for($i =0; $i < count($test); ++$i){ 2562 2562 $child .= ($test[$i] ? $test[$i] : $this->functions->getLang("New Folder")); 2563 2563 $namebox = mb_convert_encoding($child, "UTF7-IMAP", "UTF-8"); … … 3118 3118 foreach ($size_rule_by_group as $i => $value) { 3119 3119 if (is_array($value[0])) { 3120 $n_rule_groups++;3120 ++$n_rule_groups; 3121 3121 if ($value[0]['email_max_recipient'] > $maior_valor_regra_grupo) 3122 3122 $maior_valor_regra_grupo = $value[0]['email_max_recipient']; … … 3654 3654 return $returns; 3655 3655 }else{ 3656 for($i = 0; $i < count($array_names_keys); $i++){3656 for($i = 0; $i < count($array_names_keys); ++$i){ 3657 3657 $param['folder'] = $array_names_keys[$i]; 3658 3658 $param['msgs_to_set'] = $sorted_msgs[$array_names_keys[$i]]; … … 4088 4088 $return[$j][$i]['attachment'] = $imap_attachment->get_attachment_headerinfo($mbox_stream, $msg_number); 4089 4089 4090 $i++;4091 } 4092 $j++;4090 ++$i; 4091 } 4092 ++$j; 4093 4093 if($mbox_stream) 4094 4094 imap_close($mbox_stream); … … 4142 4142 $temp['msg_folder'] = $folder['folder_id']; 4143 4143 $return["msgs"][$num_msgs] = $temp; 4144 $num_msgs++;4144 ++$num_msgs; 4145 4145 } 4146 4146 … … 4564 4564 //$array_parts_attachments['names'] .= $array_parts_attachments[$i]['name'] . ', '; 4565 4565 $array_parts_attachments[$i]['fsize'] = $msg->fsize[$msgno][$index]; 4566 $i++;4566 ++$i; 4567 4567 } 4568 4568 } … … 5067 5067 $return['msgs'][$i]['boxname'] = $folder; 5068 5068 $return['msgs'][$i]['uid'] = $v; 5069 $i++;5069 ++$i; 5070 5070 } 5071 5071 } … … 5104 5104 foreach ($return['msgs'] as $v) 5105 5105 { 5106 $k++;5106 ++$k; 5107 5107 if($k < $ini || $k >= $end ) continue; 5108 5108 $nMsgs[] = $v; … … 5289 5289 // foreach ($rrr as $v) 5290 5290 // { 5291 // $k++;5291 // ++$k; 5292 5292 // if( $k < $ini || $k >= $end ) continue; 5293 5293 // $r[] = $v; … … 5562 5562 $arr_msg = explode(",", $msg_n); 5563 5563 5564 for($i=0; $i<count($arr_msg); $i++){5564 for($i=0; $i<count($arr_msg); ++$i){ 5565 5565 5566 5566 if(!$this->mbox || !is_resource($this->mbox)) -
trunk/expressoMail1_2/inc/class.imapfp.inc.php
r5773 r7655 150 150 while(1) 151 151 { 152 $i++;152 ++$i; 153 153 $response.="\r\n".$this->get_line(); 154 154 if(substr($response,strpos($response,$this->tag),strlen($this->tag))==$this->tag) -
trunk/expressoMail1_2/inc/class.ldap_functions.inc.php
r7225 r7655 164 164 { 165 165 $catalogsNum=count($this->external_srcs); 166 for ($i=0; $i<=$catalogsNum; $i++) {166 for ($i=0; $i<=$catalogsNum; ++$i) { 167 167 if ($this->external_srcs[$i]["quicksearch"]) { 168 168 $this->ldapConnect(true,$i); … … 177 177 $count_entries = ldap_count_entries($this->ds,$sr); 178 178 $search = ldap_get_entries($this->ds, $sr); 179 for ($j=0; $j<$search["count"]; $j++) {179 for ($j=0; $j<$search["count"]; ++$j) { 180 180 $info[] = $search[$j]; 181 181 } … … 188 188 $tmp_users_from_user_org = array(); 189 189 190 for ($i=0; $i<$info["count"]; $i++)190 for ($i=0; $i<$info["count"]; ++$i) 191 191 { 192 192 $key = $info[$i]["mail"][0] . '%' . $info[$i]["telephonenumber"][0] . '%'. $info[$i]["mobile"][0] . '%' . $info[$i]["uid"][0] . '%' . $info[$i]["jpegphoto"]['count'] . '%' . $info[$i]["employeenumber"][0] . '%' . $info[$i]["ou"][0]; … … 216 216 $contacts_result[$i]["cn"] = $cn; 217 217 list ($contacts_result[$i]["mail"], $contacts_result[$i]["phone"], $contacts_result[$i]["mobile"], $contacts_result[$i]["uid"], $contacts_result[$i]["jpegphoto"], $contacts_result[$i]["employeenumber"], $contacts_result[$i]["ou"]) = preg_split('/%/', $info); 218 $i++;218 ++$i; 219 219 } 220 220 $contacts_result['quickSearch_only_in_userSector'] = $quickSearch_only_in_userSector; … … 232 232 $contacts_result[$i] = array(); 233 233 $options_users_from_user_org .= $this->make_quicksearch_card($info, $cn); 234 $i++;234 ++$i; 235 235 } 236 236 … … 240 240 $contacts_result[$i] = array(); 241 241 $options .= $this->make_quicksearch_card($info, $cn); 242 $i++;242 ++$i; 243 243 } 244 244 … … 470 470 //Busca em Catalagos externos 471 471 $catalogsNum=count($this->external_srcs); 472 for ($i=0; $i<=$catalogsNum; $i++) {472 for ($i=0; $i<=$catalogsNum; ++$i) { 473 473 if ($this->external_srcs[$i]["quicksearch"]) 474 474 { … … 481 481 $count_entries = ldap_count_entries($this->ds,$sr); 482 482 $search = ldap_get_entries($this->ds, $sr); 483 for ($j=0; $j<$search["count"]; $j++) {483 for ($j=0; $j<$search["count"]; ++$j) { 484 484 $search[$j]['isExternal'] = true; 485 485 $info_return[] = $search[$j]; … … 617 617 } 618 618 619 for ($i=0; $i<$info["count"]; $i++)619 for ($i=0; $i<$info["count"]; ++$i) 620 620 $organizations[$i] = $info[$i]["ou"][0]; 621 621 … … 644 644 } 645 645 else{ 646 for ($i=0; $i<$info["count"]; $i++)646 for ($i=0; $i<$info["count"]; ++$i) 647 647 { 648 648 $organizations[$i]['ou'] = $info[$i]["ou"][0]; … … 732 732 $g_tmp = array(); 733 733 734 for ($i=0; $i<$info["count"]; $i++){734 for ($i=0; $i<$info["count"]; ++$i){ 735 735 if((!$catalog==0)||(strtoupper($info[$i]["phpgwaccounttype"][0]) == 'U') && ($info[$i]["phpgwaccountvisible"][0] != '-1')) 736 736 //aqui eh feita a concatenacao do departamento ao cn; … … 751 751 $name = $tmp[0]; //pega o primeiro item (cn) do vetor resultante do explode acima; 752 752 $department = $tmp[1]; //pega o segundo item (ou) do vetor resultanto do explode acima; 753 $users[ $i++] = array("name" => $name, "email" => $mail, "department" => $department);753 $users[++$i] = array("name" => $name, "email" => $mail, "department" => $department); 754 754 755 755 } … … 760 760 761 761 foreach ($g_tmp as $mail => $cn){ 762 $groups[ $i++] = array("name" => $cn, "email" => $mail);762 $groups[++$i] = array("name" => $cn, "email" => $mail); 763 763 } 764 764 unset($g_tmp); … … 782 782 ldap_close($this->ds); 783 783 784 for ($i=0; $i<$ent["count"]; $i++){784 for ($i=0; $i<$ent["count"]; ++$i){ 785 785 $result['mail'][] = $ent[$i]["mail"][0]; 786 786 $result['mailalter'][] = $ent[$i]["mailalternateaddress"][0]; … … 808 808 $sr=ldap_list($this->ds, $user_context, ("(&(cn=*)(phpgwaccounttype=g)(!(phpgwaccountvisible=-1)))"),$justthese); 809 809 $info = ldap_get_entries($this->ds, $sr); 810 for ($i=0; $i<$info["count"]; $i++)810 for ($i=0; $i<$info["count"]; ++$i) 811 811 $groups[$uids=$info[$i]["gidnumber"][0]] = Array('name' => $uids=$info[$i]["cn"][0], 'type' => g); 812 812 $justthese = array("phpgwaccountvisible","uidNumber","cn"); … … 817 817 818 818 $info = ldap_get_entries($this->ds, $sr); 819 for ($i=0; $i<$info["count"]; $i++)819 for ($i=0; $i<$info["count"]; ++$i) 820 820 { 821 821 if ($info[$i]["phpgwaccountvisible"][0] == '-1') … … 914 914 $filter .= "(uid=$uid)"; 915 915 $acl_save_sent_in_shared[ $i ] =$uid; 916 $i++;916 ++$i; 917 917 918 918 } … … 929 929 $info = ldap_get_entries($this->ds, $sr); 930 930 $var = print_r($acl_save_sent_in_shared, true); 931 for ($i = 0;$i < $info["count"]; $i++){931 for ($i = 0;$i < $info["count"]; ++$i){ 932 932 $info[$i]['cn'][0] = utf8_decode($info[$i]['cn'][0]); 933 933 //verify if user has permission to save sent messages in a shared folder … … 952 952 ldap_sort($this->ds,$sr,"cn"); 953 953 $result = ldap_get_entries($this->ds, $sr); 954 for ($j = 0;$j < $result["count"]; $j++){954 for ($j = 0;$j < $result["count"]; ++$j){ 955 955 $result[$j]['cn'][0] = utf8_decode($result[$j]['cn'][0]); 956 956 $result[$j]['mail'][0] = $result[$j]['mail'][0]; … … 1048 1048 1049 1049 1050 for ($i=0; $i<$entries['count']; $i++)1050 for ($i=0; $i<$entries['count']; ++$i) 1051 1051 { 1052 1052 $result[ $entries[$i]['gidnumber'][0] ] = $entries[$i]['cn'][0]; -
trunk/expressoMail1_2/inc/class.message_components.inc.php
r5509 r7655 104 104 { 105 105 $parts = $sub_part; 106 $n++;107 } 108 109 for($p = 0, $i = 1; $p < count($parts); $n++, $p++, $i++)106 ++$n; 107 } 108 109 for($p = 0, $i = 1; $p < count($parts); ++$n, ++$p, ++$i) 110 110 { 111 111 // Skip the following... … … 255 255 break; 256 256 } 257 $n++;257 ++$n; 258 258 } 259 259 } … … 268 268 if($this->charset[$mid][$n] == '') 269 269 $this->charset[$mid][$n] = $param->value; 270 $n++;270 ++$n; 271 271 } 272 272 } -
trunk/expressoMail1_2/inc/class.phpmailer.php
r5509 r7655 472 472 function MailSend($header, $body) { 473 473 $to = ""; 474 for($i = 0; $i < count($this->to); $i++)474 for($i = 0; $i < count($this->to); ++$i) 475 475 { 476 476 if($i != 0) { $to .= ", "; } … … 533 533 534 534 // Attempt to send attach all recipients 535 for($i = 0; $i < count($this->to); $i++)535 for($i = 0; $i < count($this->to); ++$i) 536 536 { 537 537 if(!$this->smtp->Recipient($this->to[$i][0])) 538 538 $bad_rcpt[] = $this->to[$i][0]; 539 539 } 540 for($i = 0; $i < count($this->cc); $i++)540 for($i = 0; $i < count($this->cc); ++$i) 541 541 { 542 542 if(!$this->smtp->Recipient($this->cc[$i][0])) 543 543 $bad_rcpt[] = $this->cc[$i][0]; 544 544 } 545 for($i = 0; $i < count($this->bcc); $i++)545 for($i = 0; $i < count($this->bcc); ++$i) 546 546 { 547 547 if(!$this->smtp->Recipient($this->bcc[$i][0])) … … 564 564 $array_error = explode(":", $this->smtp->error['smtp_msg']); 565 565 566 for($i = 0; $i < count($bad_rcpt); $i++)566 for($i = 0; $i < count($bad_rcpt); ++$i) 567 567 { 568 568 if($i != 0) { $error .= ", "; } … … 765 765 $connection = true; 766 766 } 767 $index++;767 ++$index; 768 768 } 769 769 if(!$connection) … … 826 826 if(count($addr) > 1) 827 827 { 828 for($i = 1; $i < count($addr); $i++)828 for($i = 1; $i < count($addr); ++$i) 829 829 $addr_str .= ", " . $this->AddrFormat($addr[$i]); 830 830 } … … 867 867 $line = explode($this->LE, $message); 868 868 $message = ""; 869 for ($i=0 ;$i < count($line); $i++)869 for ($i=0 ;$i < count($line); ++$i) 870 870 { 871 871 $line_part = explode(" ", $line[$i]); … … 1031 1031 1032 1032 // Add custom headers 1033 for($index = 0; $index < count($this->CustomHeader); $index++)1033 for($index = 0; $index < count($this->CustomHeader); ++$index) 1034 1034 { 1035 1035 $result .= $this->HeaderLine(trim($this->CustomHeader[$index][0]), … … 1265 1265 1266 1266 // Add all attachments 1267 for($i = 0; $i < count($this->attachment); $i++)1267 for($i = 0; $i < count($this->attachment); ++$i) 1268 1268 { 1269 1269 // Check for string attachment … … 1540 1540 function InlineImageExists() { 1541 1541 $result = false; 1542 for($i = 0; $i < count($this->attachment); $i++)1542 for($i = 0; $i < count($this->attachment); ++$i) 1543 1543 { 1544 1544 if($this->attachment[$i][6] == "inline") -
trunk/expressoMail1_2/inc/gd_functions.php
r5509 r7655 53 53 $img=imagecreate($Width,$Height); 54 54 $Colors=pow(2,$biBitCount); 55 for($p=0;$p<$Colors; $p++)55 for($p=0;$p<$Colors;++$p) 56 56 { 57 57 $B=freadbyte($f); … … 72 72 { 73 73 $CurrentBit=0; 74 for($x=0;$x<$Width; $x++)74 for($x=0;$x<$Width;++$x) 75 75 { 76 76 $C=freadbits($f,$biBitCount); … … 78 78 }; 79 79 if($CurrentBit!=0) {freadbyte($f);}; 80 for($g=0;$g<$Zbytek; $g++)80 for($g=0;$g<$Zbytek;++$g) 81 81 freadbyte($f); 82 82 }; … … 112 112 $Data.=fread($f,$pocet); 113 113 $pocetb+=$pocet; 114 if($pocetb%2==1) {freadbyte($f); $pocetb++;};114 if($pocetb%2==1) {freadbyte($f); ++$pocetb;}; 115 115 }; 116 116 if($prefix>0) 117 117 { 118 118 $pocet=$prefix; 119 for($r=0;$r<$pocet; $r++)119 for($r=0;$r<$pocet;++$r) 120 120 $Data.=chr($suffix); 121 121 }; … … 126 126 }; 127 127 128 for($x=0;$x<strlen($Data); $x++)128 for($x=0;$x<strlen($Data);++$x) 129 129 { 130 130 imagesetpixel($img,$x,$y,$Palette[ord($Data[$x])]); … … 165 165 166 166 $CurrentBit=0; 167 for($h=0;$h<$pocet; $h++)167 for($h=0;$h<$pocet;++$h) 168 168 $Data.=chr(freadbits($f,4)); 169 169 if($CurrentBit!=0) freadbits($f,4); 170 170 $pocetb+=ceil(($pocet/2)); 171 if($pocetb%2==1) {freadbyte($f); $pocetb++;};171 if($pocetb%2==1) {freadbyte($f); ++$pocetb;}; 172 172 }; 173 173 if($prefix>0) … … 175 175 $pocet=$prefix; 176 176 $i=0; 177 for($r=0;$r<$pocet; $r++)177 for($r=0;$r<$pocet;++$r) 178 178 { 179 179 if($i%2==0) … … 185 185 $Data.=chr(floor($suffix/16)); 186 186 }; 187 $i++;187 ++$i; 188 188 }; 189 189 }; … … 194 194 }; 195 195 196 for($x=0;$x<strlen($Data); $x++)196 for($x=0;$x<strlen($Data);++$x) 197 197 { 198 198 imagesetpixel($img,$x,$y,$Palette[ord($Data[$x])]); … … 212 212 for($y=$Height-1;$y>=0;$y--) 213 213 { 214 for($x=0;$x<$Width; $x++)214 for($x=0;$x<$Width;++$x) 215 215 { 216 216 $B=freadbyte($f); … … 221 221 imagesetpixel($img,$x,$y,$color); 222 222 } 223 for($z=0;$z<$Zbytek; $z++)223 for($z=0;$z<$Zbytek;++$z) 224 224 freadbyte($f); 225 225 }; … … 336 336 $bin=decbin($d); 337 337 $sbin=strlen($bin); 338 for($j=0;$j<$n-$sbin; $j++)338 for($j=0;$j<$n-$sbin;++$j) 339 339 $bin="0$bin"; 340 340 return $bin; -
trunk/expressoMail1_2/inc/hook_settings.inc.php
r7420 r7655 408 408 $level = count($folder_id); 409 409 $ident = ''; 410 for($i = 2; $level > 2 && $i < $level; $i++)410 for($i = 2; $level > 2 && $i < $level;++$i) 411 411 $ident .= ' - '; 412 412
Note: See TracChangeset
for help on using the changeset viewer.