Changeset 7655 for trunk/preferences/inc
- Timestamp:
- 12/14/12 14:30:35 (11 years ago)
- Location:
- trunk/preferences/inc
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/preferences/inc/class.uiaclprefs.inc.php
r6057 r7655 88 88 { 89 89 $just_owner_array[$cont] = $repository; 90 $cont++;90 ++$cont; 91 91 } 92 92 } … … 113 113 } 114 114 115 for($i=0;$i<count($to_remove); $i++) {115 for($i=0;$i<count($to_remove);++$i) { 116 116 117 117 if(!array_key_exists((int)$to_remove[$i],$keys_to_keep)) { -
trunk/preferences/inc/class.uicategories.inc.php
r5129 r7655 83 83 function cat_data($edata,$data) 84 84 { 85 for ($j=0;$j<count($edata); $j++)85 for ($j=0;$j<count($edata);++$j) 86 86 { 87 87 $td_data .= '<td>' . $data[$edata[$j]] . '</td>' . "\n"; … … 169 169 if (is_array($edata)) 170 170 { 171 for($i=0;$i<count($edata); $i++)171 for($i=0;$i<count($edata);++$i) 172 172 { 173 173 $GLOBALS['phpgw']->template->set_var('th_data','<td bgcolor="' . $GLOBALS['phpgw_info']['theme']['th_bg'] . '">' . lang($edata[$i]) . '</td>'); … … 182 182 // -------------------------- end header declaration -------------------------------------- 183 183 184 for ($i=0;$i<count($cats); $i++)184 for ($i=0;$i<count($cats);++$i) 185 185 { 186 186 $this->nextmatchs->template_alternate_row_color($GLOBALS['phpgw']->template); … … 375 375 { 376 376 $edata = explode(',',$extra); 377 for($i=0;$i<count($edata); $i++)377 for($i=0;$i<count($edata);++$i) 378 378 { 379 379 $GLOBALS['phpgw']->template->set_var('tr_color',$GLOBALS['phpgw']->nextmatchs->alternate_row_color()); … … 506 506 507 507 $data = unserialize($cats[0]['data']); 508 for($i=0;$i<count($edata); $i++)508 for($i=0;$i<count($edata);++$i) 509 509 { 510 510 $GLOBALS['phpgw']->template->set_var('td_data','<input name="cat_data[' . $edata[$i] . ']" size="50" value="' . $data[$edata[$i]] . '">'); -
trunk/preferences/inc/hook_settings.inc.php
r143 r7655 48 48 $format .= 'H:i'; 49 49 } 50 for ($i = -23; $i<24; $i++)50 for ($i = -23; $i<24; ++$i) 51 51 { 52 52 $t = time() + $i * 60*60;
Note: See TracChangeset
for help on using the changeset viewer.