Changeset 7655 for trunk/preferences
- Timestamp:
- 12/14/12 14:30:35 (11 years ago)
- Location:
- trunk/preferences
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/preferences/handlecertificate.php
r4127 r7655 140 140 { 141 141 $var_tokens = ''; 142 for($ii = 1; $ii < 11; $ii++)142 for($ii = 1; $ii < 11; ++$ii) 143 143 { 144 144 if($GLOBALS['phpgw_info']['server']['test_token' . $ii . '1']) -
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; -
trunk/preferences/templates/classic/listUsers.php
r3601 r7655 107 107 $sr=ldap_list($ds, $user_context, ("(&(cn=*)(phpgwaccounttype=u))")); 108 108 $info = ldap_get_entries($ds, $sr); 109 for ($i=0; $i<$info["count"]; $i++)109 for ($i=0; $i<$info["count"]; ++$i) 110 110 $users[$uids=$info[$i]["uidnumber"][0]] = Array('name' => $uids=$info[$i]["cn"][0], 'type' => u); 111 111 } -
trunk/preferences/templates/default/changepassword_default.php
r5928 r7655 39 39 // Special Letters 40 40 $speccial_letter = 0; 41 for ($i=0; $i<strlen($n_passwd); $i++)41 for ($i=0; $i<strlen($n_passwd); ++$i) 42 42 { 43 43 $letter = $n_passwd[$i]; 44 44 if (!preg_match('/[a-zA-Z]/', $letter ) ) 45 $speccial_letter++;45 ++$speccial_letter; 46 46 } 47 47 if ($speccial_letter < $GLOBALS['phpgw_info']['server']['num_special_letters_userpass'])
Note: See TracChangeset
for help on using the changeset viewer.