- Timestamp:
- 12/14/12 14:30:35 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/jabberit_messenger/jmessenger/inc/class.LdapIM.inc.php
r3530 r7655 125 125 $confHosts = $this->hostsJabber; 126 126 127 for($i = 0; $i < count($confHosts); $i++)127 for($i = 0; $i < count($confHosts); ++$i ) 128 128 { 129 129 if( $pData['serverLdap'] == $confHosts[$i]['serverLdap'] ) … … 197 197 $count = count($members[$servers]); 198 198 199 for( $i = 0; $i < $count; $i++)199 for( $i = 0; $i < $count; ++$i ) 200 200 { 201 201 if ( ! $this->getMemberUid($groups, $members[$servers][$i]['uid'] ) ) … … 210 210 $confHosts = $this->hostsJabber; 211 211 212 for($i = 0; $i < count($confHosts); $i++)212 for($i = 0; $i < count($confHosts); ++$i ) 213 213 { 214 214 if( $this->ldap ) … … 279 279 $confHosts = $this->hostsJabber; 280 280 281 for($i = 0; $i < count($confHosts); $i++)281 for($i = 0; $i < count($confHosts); ++$i ) 282 282 { 283 283 if( $this->ldap ) … … 322 322 $confHosts = $this->hostsJabber; 323 323 324 for($i = 0; $i < count($confHosts); $i++)324 for($i = 0; $i < count($confHosts); ++$i ) 325 325 { 326 326 if( $pLdap_host == $confHosts[$i]['serverLdap'] ) … … 344 344 $info = ldap_get_entries($this->ldap, $search); 345 345 346 for ($i=0; $i<$info["count"]; $i++)346 for ($i=0; $i<$info["count"]; ++$i) 347 347 { 348 348 $a_sectors[] = $info[$i]['dn']; … … 375 375 else 376 376 { 377 for( $i = 0; $i < $level; $i++)377 for( $i = 0; $i < $level; ++$i) 378 378 $display .= '---'; 379 379 } … … 399 399 $confHosts = $this->hostsJabber; 400 400 401 for( $i = 0; $i < count($confHosts); $i++)401 for( $i = 0; $i < count($confHosts); ++$i ) 402 402 { 403 403 if( trim($host) === trim($confHosts[$i]['jabberName']) ) … … 427 427 $entry = ldap_get_entries( $this->ldap, $search ); 428 428 429 for( $i = 0 ; $i < $entry['count']; $i++)429 for( $i = 0 ; $i < $entry['count']; ++$i ) 430 430 { 431 431 if( $entry[$i]['jpegphoto'][0] && $entry[$i]['phpgwaccountvisible'][0] != '-1' ) … … 454 454 $conn = ""; 455 455 456 for( $i = 0; $i < count($confHosts); $i++)456 for( $i = 0; $i < count($confHosts); ++$i ) 457 457 { 458 458 if( $pLdap && $pLdap == $confHosts[$i]['serverLdap'] ) … … 513 513 $j = 0; 514 514 515 for( $i = 0 ; $i < $entry['count']; $i++)515 for( $i = 0 ; $i < $entry['count']; ++$i ) 516 516 { 517 517 if ( $entry[$i]['phpgwaccountvisible'][0] != '-1' )
Note: See TracChangeset
for help on using the changeset viewer.