- option to disable autocompletion from selected LDAP address books (#1484922
| | |
| | | CHANGELOG RoundCube Webmail |
| | | --------------------------- |
| | | |
| | | 2008/06/08 (alec) |
| | | ---------- |
| | | - Added option to disable autocompletion from selected LDAP address books (#1484922) |
| | | |
| | | 2008/06/07 (thomasb) |
| | | ---------- |
| | | - Cleaned up localization names. Now named with lang_COUNTRY according to ISO 639-1/3166-1 |
| | |
| | | * 'sort' => 'cn', // The field to sort the listing by. |
| | | * 'scope' => 'sub', // search mode: sub|base|list |
| | | * 'filter' => '', // used for basic listing (if not empty) and will be &'d with search queries. example: status=act |
| | | * 'global_search' => true, // perform a global search for address auto-completion on compose |
| | | * 'fuzzy_search' => true); // server allows wildcard search |
| | | */ |
| | | |
| | |
| | | /* LDAP autocompletion */ |
| | | foreach ($CONFIG['ldap_public'] as $ldapserv_config) |
| | | { |
| | | if ($ldapserv_config['fuzzy_search'] != 1) |
| | | if ($ldapserv_config['fuzzy_search'] != 1 || |
| | | $ldapserv_config['global_search'] != 1) |
| | | { |
| | | continue; |
| | | } |
| | |
| | | { |
| | | $OUTPUT->set_env('contacts', $a_contacts); |
| | | } |
| | | |
| | | $OUTPUT->send('compose'); |
| | | |
| | | ?> |