Changeset 7655 for trunk/filemanager/inc
- Timestamp:
- 12/14/12 14:30:35 (11 years ago)
- Location:
- trunk/filemanager/inc
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/filemanager/inc/class.bofilemanager.inc.php
r6037 r7655 156 156 function ord_match ($string, $charnum) 157 157 { 158 for ($i = 0; $i < strlen ($string); $i++)158 for ($i = 0; $i < strlen ($string); ++$i) 159 159 { 160 160 $character = ord (substr ($string, $i, 1)); … … 191 191 if ($times == NULL) 192 192 $times = 1; 193 for ($i = 0; $i != $times; $i++)193 for ($i = 0; $i != $times; ++$i) 194 194 { 195 195 if ($return) -
trunk/filemanager/inc/class.notifications.inc.php
r3638 r7655 111 111 $email_to = explode( ",", $result[0]['email_to'] ); 112 112 113 for( $i = 0 ; $i < count($email_to); $i++)113 for( $i = 0 ; $i < count($email_to); ++$i ) 114 114 { 115 115 if($email_to[$i] == $emailTo) -
trunk/filemanager/inc/class.uiconfig.inc.php
r3887 r7655 273 273 $emails_to = explode(",", $result[0]['email_to']); 274 274 275 for( $i = 0 ; $i < count($emails_to); $i++)275 for( $i = 0 ; $i < count($emails_to); ++$i ) 276 276 { 277 277 $value_email_to .= "<tr>"; -
trunk/filemanager/inc/class.uifilemanager.inc.php
r5327 r7655 544 544 $this->readFilesInfo(); 545 545 546 for ($i = 0; $i != $this->numoffiles; $i++)546 for ($i = 0; $i != $this->numoffiles; ++$i) 547 547 { 548 548 $files = $this->files_array[$i]; … … 958 958 # We need to include all of the fileman entries for each file's form, 959 959 # so we loop through again 960 for ($i = 0; $i != $this->numoffiles; $i++) {960 for ($i = 0; $i != $this->numoffiles; ++$i) { 961 961 if ($this->filename) 962 962 $value = 'value="' . $this->filename . '"'; … … 1211 1211 reset($this->files_array); 1212 1212 $this->readFilesInfo(); 1213 for ($i = 0; $i < count($this->files_array); $i++) {1213 for ($i = 0; $i < count($this->files_array); ++$i) { 1214 1214 $comment = strtoupper($this->files_array[$i]['comment']); 1215 1215 $name = strtoupper($this->files_array[$i]['name']); -
trunk/filemanager/inc/class.vfs_functions.inc.php
r5912 r7655 382 382 'relatives' => array(RELATIVE_NONE, RELATIVE_NONE) 383 383 ))) 384 $moved++;384 ++$moved; 385 385 else 386 $error++;386 ++$error; 387 387 } 388 388 } … … 412 412 'relatives' => array(RELATIVE_NONE, RELATIVE_NONE) 413 413 ))) 414 $copied++;414 ++$copied; 415 415 else 416 $error++;416 ++$error; 417 417 } 418 418 } -
trunk/filemanager/inc/jupload.php
r3894 r7655 396 396 $rtry = $dir . $nameWithoutExtension . '.[' . $cnt . ']' . $ext; 397 397 while (file_exists($rtry)) { 398 $cnt++;398 ++$cnt; 399 399 $rtry = $dir . $nameWithoutExtension . '.[' . $cnt . ']' . $ext; 400 400 } … … 618 618 } 619 619 unlink($tmpname); 620 $cnt++;620 ++$cnt; 621 621 continue; 622 622 } … … 691 691 array_push($this->files, $files_data); 692 692 } 693 $cnt++;693 ++$cnt; 694 694 } 695 695 -
trunk/filemanager/inc/upload.php
r5509 r7655 89 89 { 90 90 $command = "nice -n19 ".$current_config['filemanager_antivirus_command']; 91 for($i = 0; $i != $show_upload_boxes; $i++)91 for($i = 0; $i != $show_upload_boxes; ++$i) 92 92 { 93 93 $command .= " ".$_FILES['upload_file']['tmp_name'][$i]; … … 108 108 { 109 109 $return = array( ); 110 for( $i = 0; $i != $show_upload_boxes; $i++)110 for( $i = 0; $i != $show_upload_boxes; ++$i) 111 111 { 112 112 if ( $_FILES['upload_file']['error'][$i] !== 0 )
Note: See TracChangeset
for help on using the changeset viewer.