Changeset 7712
- Timestamp:
- 01/08/13 10:35:42 (12 years ago)
- Location:
- trunk
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/calendar/inc/class.bocalendar.inc.php
r7681 r7712 2870 2870 2871 2871 //verifica se todos os participantes rejeitaram o evento 2872 $sts_count = count($sts); 2873 for($i = 0; $i < $sts_count; ++$i ){ 2872 for($i = 0; $i < count($sts); ++$i ){ 2874 2873 if( $sts[i] === "R") 2875 2874 unset( $sts[i] ); -
trunk/calendar/inc/class.boholiday.inc.php
r7673 r7712 387 387 388 388 $temp_locale = $GLOBALS['phpgw_info']['user']['preferences']['common']['country']; 389 $holidays_count = count($holidays); 390 for($i=0;$i<$holidays_count;++$i) 389 for($i=0;$i<count($holidays);++$i) 391 390 { 392 391 $c = $i; -
trunk/calendar/inc/class.uicalendar.inc.php
r7673 r7712 5755 5755 if ($control_data['action'] == lang('Delete selected contacts')) 5756 5756 { 5757 $control_data_count = count($control_data['delete']); 5758 for ($i=0; $i<$control_data_count; ++$i) 5757 for ($i=0; $i<count($control_data['delete']); ++$i) 5759 5758 { 5760 5759 $id = $control_data['delete'][$i]; -
trunk/expressoMail1_2/inc/class.message_components.inc.php
r7673 r7712 107 107 } 108 108 109 $parts_count = count($parts); 110 for($p = 0, $i = 1; $p < $parts_count; ++$n, ++$p, ++$i) 109 for($p = 0, $i = 1; $p < count($parts); ++$n, ++$p, ++$i) 111 110 { 112 111 // Skip the following... -
trunk/filemanager/inc/class.notifications.inc.php
r7673 r7712 111 111 $email_to = explode( ",", $result[0]['email_to'] ); 112 112 113 $email_to_count = count($email_to); 114 for( $i = 0 ; $i < $email_to_count; ++$i ) 113 for( $i = 0 ; $i < count($email_to); ++$i ) 115 114 { 116 115 if($email_to[$i] == $emailTo) -
trunk/library/csstidy/class.csstidy_optimise.php
r7673 r7712 302 302 $color_tmp = substr($color,4,strlen($color)-5); 303 303 $color_tmp = explode(',',$color_tmp); 304 $color_tmp_count = count($color_tmp); 305 for ( $i = 0; $i < $color_tmp_count; ++$i ) 304 for ( $i = 0; $i < count($color_tmp); ++$i ) 306 305 { 307 306 $color_tmp[$i] = trim ($color_tmp[$i]); -
trunk/phpgwapi/inc/class.categories.inc.php
r7673 r7712 422 422 if($self) 423 423 { 424 $cats_count = count($cats); 425 for ($i=0;$i<$cats_count;++$i) 424 for ($i=0;$i<count($cats);++$i) 426 425 { 427 426 if ($cats[$i]['id'] == $self) -
trunk/phpgwapi/inc/class.contacts_ldap.inc.php
r7673 r7712 328 328 { 329 329 $i=0; 330 $filterarray_count = count($filterarray); 331 for($i=0;$i<$filterarray_count;++$i) 330 for($i=0;$i<count($filterarray);++$i) 332 331 { 333 332 list($name,$value) = preg_split('/=/',$filterarray[$i]); -
trunk/prototype/modules/filters/interceptors/FilterMapping.php
r7689 r7712 304 304 $script_begin = "#Filtro gerado por Expresso Livre\r\n\r\n"; 305 305 $content = $script_begin . $script_header . $script_rules . "\r\n\r\n#PseudoScript#" . "\r\n#" . $json_data; 306 307 ob_start(); 308 //print_r('oi'); 309 print_r($content); 310 $output = ob_get_clean(); 311 file_put_contents( "/tmp/log-douglasz.log", $output , FILE_APPEND); 306 312 307 313 return( $content ); -
trunk/prototype/services/ImapServiceAdapter.php
r7673 r7712 171 171 if( $filter[0] !== 'msgNumber' ) 172 172 { 173 $filter_count = count($filter); 174 for( $i = 0; $i < $filter_count; ++$i ) 173 for( $i = 0; $i < count($filter); ++$i ) 175 174 { 176 175 if( count( $filter[$i] ) === 4 ) … … 214 213 215 214 $response = array( "page" => $page, "total" => $total_pages, "records" => $count ); 216 $result_count = count($result); 217 for ($i=0; $i< $result_count; ++$i)215 216 for ($i=0; $i<count($result); ++$i) 218 217 { 219 218 $flags_enum = array('Unseen'=> 1, 'Answered'=> 1, 'Forwarded'=> 1, 'Flagged'=> 1, 'Recent'=> 1, 'Draft'=> 1 ); -
trunk/workflow/inc/class.so_external_applications.inc.php
r7673 r7712 148 148 149 149 $output = $result->GetArray(-1); 150 $output_count = count($output); 151 for ($i = 0; $i < $output_count; ++$i)150 151 for ($i = 0; $i < count($output); ++$i) 152 152 for ($j = 0; $j < $result->_numOfFields; ++$j) 153 153 unset($output[$i][$j]); … … 171 171 172 172 $output = $result->GetArray(-1); 173 $output_count = count($output); 174 for ($i = 0; $i < $output_count; ++$i)173 174 for ($i = 0; $i < count($output); ++$i) 175 175 for ($j = 0; $j < $result->_numOfFields; ++$j) 176 176 unset($output[$i][$j]); -
trunk/workflow/inc/class.so_orgchart.inc.php
r7673 r7712 152 152 153 153 $output = $result->GetArray(-1); 154 $output_count = count($output); 155 for ($i = 0; $i < $output_count; ++$i)154 155 for ($i = 0; $i < count($output); ++$i) 156 156 for ($j = 0; $j < $result->_numOfFields; ++$j) 157 157 unset($output[$i][$j]); … … 386 386 387 387 $output = $result->GetArray(-1); 388 $output_count = count($output); 389 for ($i = 0; $i < $output_count; ++$i)388 389 for ($i = 0; $i < count($output); ++$i) 390 390 for ($j = 0; $j < $result->_numOfFields; ++$j) 391 391 unset($output[$i][$j]); … … 464 464 465 465 $output = $result->GetArray(-1); 466 $output_count = count($output); 467 for ($i = 0; $i < $output_count; ++$i)466 467 for ($i = 0; $i < count($output); ++$i) 468 468 for ($j = 0; $j < $result->_numOfFields; ++$j) 469 469 unset($output[$i][$j]); … … 544 544 545 545 $output = $result->GetArray(-1); 546 $output_count = count($output); 547 for ($i = 0; $i < $output_count; ++$i)546 547 for ($i = 0; $i < count($output); ++$i) 548 548 for ($j = 0; $j < $result->_numOfFields; ++$j) 549 549 unset($output[$i][$j]); … … 627 627 628 628 $output = $result->GetArray(-1); 629 $output_count = count($output); 630 for ($i = 0; $i < $output_count; ++$i){629 630 for ($i = 0; $i < count($output); ++$i){ 631 631 for ($j = 0; $j < $result->_numOfFields; ++$j) 632 632 unset($output[$i][$j]); … … 796 796 797 797 $output = $result->GetArray(-1); 798 $output_count = count($output); 799 for ($i = 0; $i < $output_count; ++$i)798 799 for ($i = 0; $i < count($output); ++$i) 800 800 { 801 801 for ($j = 0; $j < $result->_numOfFields; ++$j) … … 1010 1010 1011 1011 $output = $result->GetArray(-1); 1012 $output_count = count($output); 1013 for ($i = 0; $i < $output_count; ++$i)1012 1013 for ($i = 0; $i < count($output); ++$i) 1014 1014 { 1015 1015 for ($j = 0; $j < $result->_numOfFields; ++$j) … … 1392 1392 1393 1393 $output = $result->GetArray(-1); 1394 $output_count = count($output); 1395 for ($i = 0; $i < $output_count; ++$i)1394 1395 for ($i = 0; $i < count($output); ++$i) 1396 1396 for ($j = 0; $j < $result->_numOfFields; ++$j) 1397 1397 unset($output[$i][$j]); … … 1595 1595 1596 1596 $output = $result->GetArray(-1); 1597 $output_count = count($output); 1598 for ($i = 0; $i < $output_count; ++$i) {1597 1598 for ($i = 0; $i < count($output); ++$i) { 1599 1599 for ($j = 0; $j < $result->_numOfFields; ++$j) 1600 1600 unset($output[$i][$j]); -
trunk/workflow/inc/class.so_userinterface.inc.php
r7673 r7712 123 123 124 124 /* keep only associative elments and check if the user can access an intranet application */ 125 $preOutput_count = count($preOutput); 126 for ($i = 0; $i < $preOutput_count; ++$i) 125 for ($i = 0; $i < count($preOutput); ++$i) 127 126 { 128 127 if (($preOutput[$i]['intranet_only'] == '1') && (!$showIntranetApplications)) … … 170 169 171 170 $output = $result->GetArray(-1); 172 $output_count = count($output); 173 for ($i = 0; $i < $output_count; ++$i)171 172 for ($i = 0; $i < count($output); ++$i) 174 173 for ($j = 0; $j < $result->_numOfFields; ++$j) 175 174 unset($output[$i][$j]); … … 198 197 199 198 $output = $result->GetArray(-1); 200 $output_count = count($output); 201 for ($i = 0; $i < $output_count; ++$i)199 200 for ($i = 0; $i < count($output); ++$i) 202 201 { 203 202 for ($j = 0; $j < $result->_numOfFields; ++$j) … … 221 220 222 221 $output = $result->GetArray(-1); 223 $output_count = count($output); 224 for ($i = 0; $i < $output_count; ++$i)222 223 for ($i = 0; $i < count($output); ++$i) 225 224 for ($j = 0; $j < $result->_numOfFields; ++$j) 226 225 unset($output[$i][$j]); … … 300 299 $cachedLDAP->setOperationMode($cachedLDAP->OPERATION_MODE_NORMAL); 301 300 $categoriesCount = array(); 302 $employees_count = count($employees); 303 for ($i = 0; $i < $employees_count; ++$i)301 302 for ($i = 0; $i < count($employees); ++$i) 304 303 { 305 304 /* remove numeric fields */ … … 401 400 $cachedLDAP = Factory::newInstance('CachedLDAP'); 402 401 $cachedLDAP->setOperationMode($cachedLDAP->OPERATION_MODE_NORMAL); 403 $employees_count = count($employees); 404 for ($i = 0; $i < $employees_count; ++$i)402 403 for ($i = 0; $i < ount($employees); ++$i) 405 404 { 406 405 /* remove numeric fields */ … … 718 717 719 718 $output = $result->GetArray(-1); 720 $output_count = count($output); 721 for ($i = 0; $i < $output_count; ++$i)719 720 for ($i = 0; $i < count($output); ++$i) 722 721 for ($j = 0; $j < $result->_numOfFields; ++$j) 723 722 unset($output[$i][$j]); … … 740 739 741 740 $output = $result->GetArray(-1); 742 $output_count = count($output); 743 for ( $i = 0; $i < $output_count; ++$i )741 742 for ( $i = 0; $i < count($output); ++$i ) 744 743 { 745 744 for ($j = 0; $j < $result->_numOfFields; ++$j) … … 772 771 773 772 $output = $result->GetArray( -1 ); 774 $output_count = count($output); 775 for ( $i = 0; $i < $output_count; ++$i )773 774 for ( $i = 0; $i < count($output); ++$i ) 776 775 for ($j = 0; $j < $result->_numOfFields; ++$j) 777 776 unset($output[$i][$j]); … … 809 808 810 809 $categoriesCount = array( ); 811 $employees_count = count( $employees ); 812 for ( $i = 0; $i < $employees_count; ++$i )810 811 for ( $i = 0; $i < count( $employees ); ++$i ) 813 812 { 814 813 // remove numeric fields … … 882 881 883 882 $categoriesCount = array( ); 884 $employees_count = count( $employees ); 885 for ( $i = 0; $i < $employees_count; ++$i )883 884 for ( $i = 0; $i < count( $employees ); ++$i ) 886 885 { 887 886 // remove numeric fields -
trunk/workflow/inc/class.ui_orgchart.inc.php
r7673 r7712 152 152 153 153 $ldap = &Factory::getInstance('WorkflowLDAP'); 154 $output_count = count($output); 155 for ($i = 0; $i < $output_count; ++$i)154 155 for ($i = 0; $i < count($output); ++$i) 156 156 { 157 157 for ($j = 0; $j < $result->_numOfFields; ++$j)
Note: See TracChangeset
for help on using the changeset viewer.