Changeset 7655 for trunk/preferences/inc/class.uicategories.inc.php
- Timestamp:
- 12/14/12 14:30:35 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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]] . '">');
Note: See TracChangeset
for help on using the changeset viewer.