Changeset 3406
- Timestamp:
- 10/22/10 17:02:15 (14 years ago)
- Location:
- branches/2.2/jabberit_messenger
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/jabberit_messenger/inc/class.contacts_im.inc.php
r3266 r3406 188 188 else 189 189 { 190 // Ldap Root 190 191 $result[] = $this->ldap->getUsersLdapRoot("cn=*".$pName."*"); 192 193 // Ldap Catalog 194 if( count($this->hostsJabberLdap) ) 195 { 196 foreach( $this->hostsJabberLdap as $conf ) 197 { 198 $result[] = $this->ldap->getUsersLdapCatalog("cn=*".$pName."*", $conf['serverLdap'] ); 199 } 200 } 191 201 192 202 foreach( $result as $key => $value ) 193 203 { 194 $array_uids = array_merge($array_uids, $ result[$key]);204 $array_uids = array_merge($array_uids, $value); 195 205 } 196 206 -
branches/2.2/jabberit_messenger/jmessenger/inc/class.ContactsIm.inc.php
r3266 r3406 119 119 $members = array(); 120 120 $result = array(); 121 $uidType = "uid";121 $uidType = $this->attribute; 122 122 $serversLdap = unserialize( trim($_SESSION['phpgw_info']['jabberit_messenger']['groups_search']) ); 123 123 … … 125 125 { 126 126 // Usa Grupos Ldap 127 128 127 $filters = array( ); 129 128 … … 167 166 else 168 167 { 168 // Ldap Root 169 169 $result[] = $this->ldap->getUsersLdapRoot("cn=*".$pName."*"); 170 170 171 foreach( $result as $key => $value ) 171 // Ldap Catalog 172 if( count($this->hostsJabberLdap) ) 173 { 174 foreach( $this->hostsJabberLdap as $conf ) 175 { 176 $result[] = $this->ldap->getUsersLdapCatalog("cn=*".$pName."*", $conf['serverLdap'] ); 177 } 178 } 179 180 foreach( $result as $value ) 172 181 { 173 $array_uids = array_merge($array_uids, $ result[$key]);182 $array_uids = array_merge($array_uids, $value ); 174 183 } 175 184 176 185 if( count($array_uids) > $this->ldap->getMaxResults() ) 177 186 { -
branches/2.2/jabberit_messenger/templates/default/enabled_ou_groups.tpl
r3102 r3406 2 2 <script type="text/javascript" src="jabberit_messenger/js/connector.js"></script> 3 3 <script type="text/javascript" src="jabberit_messenger/js/xtools.js"></script> 4 <script type="text/javascript" src="jabberit_messenger/controller.php?act=j.glocked"></script>5 4 <form> 6 5 <table align="center" width="90%" cellspacing="2" style="border:1px solid #000;margin-top:20px;">
Note: See TracChangeset
for help on using the changeset viewer.