Changeset a0530a6 in github


Ignore:
Timestamp:
Jun 8, 2008 2:17:09 PM (5 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
32b7092
Parents:
7e78b2e
Message:
  • option to disable autocompletion from selected LDAP address books (#1484922
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG

    rc3ab7537 ra0530a6  
    11CHANGELOG RoundCube Webmail 
    22--------------------------- 
     3 
     42008/06/08 (alec) 
     5---------- 
     6- Added option to disable autocompletion from selected LDAP address books (#1484922) 
    37 
    482008/06/07 (thomasb) 
  • config/main.inc.php.dist

    r6444cf4 ra0530a6  
    272272 *  'scope'         => 'sub',   // search mode: sub|base|list 
    273273 *  'filter'        => '',      // used for basic listing (if not empty) and will be &'d with search queries. example: status=act 
     274 *  'global_search' => true,    // perform a global search for address auto-completion on compose 
    274275 *  'fuzzy_search'  => true);   // server allows wildcard search 
    275276 */ 
  • program/steps/mail/compose.inc

    re47aadc ra0530a6  
    830830  foreach ($CONFIG['ldap_public'] as $ldapserv_config)  
    831831    {  
    832     if ($ldapserv_config['fuzzy_search'] != 1)  
     832    if ($ldapserv_config['fuzzy_search'] != 1 ||  
     833        $ldapserv_config['global_search'] != 1) 
    833834      {  
    834835      continue;  
    835           }  
     836      } 
    836837          
    837838    $LDAP = new rcube_ldap($ldapserv_config);  
     
    857858  {  
    858859        $OUTPUT->set_env('contacts', $a_contacts);  
    859   }  
     860  } 
     861 
    860862$OUTPUT->send('compose'); 
     863 
    861864?> 
Note: See TracChangeset for help on using the changeset viewer.