Changeset 7655 for trunk/calendar/inc/class.uiholiday.inc.php
- Timestamp:
- 12/14/12 14:30:35 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/calendar/inc/class.uiholiday.inc.php
r1684 r7655 186 186 $end = min($total,$this->bo->start+$maxmatchs); 187 187 $p->set_var('rows',lang('showing %1 - %2 of %3',1+$this->bo->start,$end,$total)); 188 for($i=$this->bo->start; $i < $end; $i++)188 for($i=$this->bo->start; $i < $end; ++$i) 189 189 { 190 190 $tr_color = $GLOBALS['phpgw']->nextmatchs->alternate_row_color($tr_color); … … 313 313 ); 314 314 $out = ''; 315 for($i=0;$i<7; $i++)315 for($i=0;$i<7;++$i) 316 316 { 317 317 $out .= '<option value="'.$i.'"'.($holiday['dow']==$i?' selected':'').'>'.$dow[$i].'</option>'."\n"; … … 491 491 $c_holidays = count($holidays); 492 492 echo '<input type="hidden" name="locale" value="'.$this->bo->locales[0].'">'."\n"; 493 for($i=0;$i<$c_holidays; $i++)493 for($i=0;$i<$c_holidays;++$i) 494 494 { 495 495 echo '<input type="hidden" name="name[]" value="'.htmlspecialchars($holidays[$i]['name']).'">'."\n"
Note: See TracChangeset
for help on using the changeset viewer.