Changeset 7673 for trunk/calendar/inc/class.bocalendar.inc.php
- Timestamp:
- 12/18/12 16:15:29 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/calendar/inc/class.bocalendar.inc.php
r7655 r7673 1252 1252 $minparts = min($l_participants); 1253 1253 $part = Array(); 1254 for($i=0;$i<count($parts);++$i) 1254 $parts_count = count($parts); 1255 for($i=0;$i<$parts_count;++$i) 1255 1256 { 1256 1257 if (($accept_type = substr($parts[$i],-1,1)) == '0' || (int)$accept_type > 0) … … 2137 2138 { 2138 2139 $exceptions = explode(',',$exception_str); 2139 for($exception_count=0;$exception_count<count($exceptions);++$exception_count) 2140 $exceptions_count = count($exceptions); 2141 for($exception_count=0;$exception_count<$exceptions_count;++$exception_count) 2140 2142 { 2141 2143 $exception[] = (int)$exceptions[$exception_count]; … … 2196 2198 } 2197 2199 2198 for($i=0;$i<count($this->cached_events[$date]);++$i) 2200 $cached_events_count = count($this->cached_events[$date]); 2201 for($i=0;$i<$cached_events_count;++$i) 2199 2202 { 2200 2203 if($this->cached_events[$date][$i]['id'] == $event['id'] || $this->cached_events[$date][$i]['reference'] == $event['id']) … … 2575 2578 { 2576 2579 echo '<!-- Total events found matching '.$search_date.' = '.count($this->cached_events[$search_date]).' -->'."\n"; 2577 for($i=0;$i<count($this->cached_events[$search_date]);++$i) 2580 $cached_events_count = count($this->cached_events[$search_date]); 2581 for($i=0;$i<$cached_events_count;++$i) 2578 2582 { 2579 2583 echo '<!-- Date: '.$search_date.' ['.$i.'] = '.$this->cached_events[$search_date][$i]['id'].' -->'."\n"; … … 2866 2870 2867 2871 //verifica se todos os participantes rejeitaram o evento 2868 for($i = 0; $i < count($sts); ++$i ){ 2872 $sts_count = count($sts); 2873 for($i = 0; $i < $sts_count; ++$i ){ 2869 2874 if( $sts[i] === "R") 2870 2875 unset( $sts[i] ); … … 4436 4441 { 4437 4442 $cal_grps = ''; 4438 for($i=0;$i<count($event['groups']);++$i) 4443 $event_groups_count = count($event['groups']); 4444 for($i=0;$i<$event_groups_count;++$i) 4439 4445 { 4440 4446 if($GLOBALS['phpgw']->accounts->exists($event['groups'][$i]))
Note: See TracChangeset
for help on using the changeset viewer.