Changeset 7655 for trunk/phpgwapi/inc/class.matrixview.inc.php
- Timestamp:
- 12/14/12 14:30:35 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpgwapi/inc/class.matrixview.inc.php
r2 r7655 61 61 function matrixview ($month_int = 0, $year_int = 0) 62 62 { 63 for($i;$i<32; $i++)63 for($i;$i<32;++$i) 64 64 { 65 65 if(checkdate($month_int,$i,$year_int)) $days++; … … 131 131 $go = 0; 132 132 } 133 $i++;133 ++$i; 134 134 } 135 135 … … 211 211 212 212 // loop through number of items 213 for($z=0;$z<$this->items_count; $z++)213 for($z=0;$z<$this->items_count;++$z) 214 214 { 215 215 // seperate color and name from first array element … … 222 222 223 223 // loop through days of desired month 224 for($r=1;$r<$this->sumdays+1; $r++)224 for($r=1;$r<$this->sumdays+1;++$r) 225 225 { 226 226 if($this->items_content[$z][$r] == 'x') … … 258 258 echo '<td>' . lang('Title') . '</td>' . "\n"; 259 259 260 for($i=1;$i<$this->sumdays+1; $i++)260 for($i=1;$i<$this->sumdays+1;++$i) 261 261 { 262 262 echo '<td bgcolor="'; echo $this->color_headerfield; echo '">' . sprintf("%02d",$i) . '</td>' . "\n"; … … 302 302 echo '<select name="month"'; 303 303 304 for($i=0;$i<13; $i++)304 for($i=0;$i<13;++$i) 305 305 { 306 306 if ($this->month == $i) … … 318 318 echo '<select name="year"'; 319 319 320 for($i = date('Y') -2;$i<date('Y')+5; $i++)320 for($i = date('Y') -2;$i<date('Y')+5;++$i) 321 321 { 322 322 if($this->year == $i)
Note: See TracChangeset
for help on using the changeset viewer.