Changeset ed5ed98 in github
- Timestamp:
- May 8, 2008 4:22:18 AM (5 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 583850d
- Parents:
- 6153e20
- Location:
- program/steps
- Files:
-
- 2 edited
-
addressbook/func.inc (modified) (3 diffs)
-
mail/addcontact.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
program/steps/addressbook/func.inc
r6153e20 red5ed98 23 23 if (($source = get_input_value('_source', RCUBE_INPUT_GPC)) && isset($CONFIG['ldap_public'][$source])) 24 24 $CONTACTS = new rcube_ldap($CONFIG['ldap_public'][$source]); 25 else if ( $CONFIG['address_book_type']== 'ldap') {25 else if (strtolower($CONFIG['address_book_type']) == 'ldap') { 26 26 // Get the first LDAP address book. 27 27 $source = key((array)$CONFIG['ldap_public']); … … 50 50 // add list of address sources to client env 51 51 $js_list = array(); 52 if ( $CONFIG['address_book_type']!= 'ldap') {52 if (strtolower($CONFIG['address_book_type']) != 'ldap') { 53 53 // We are using the DB address book, add it. 54 54 $js_list = array("0" => array('id' => 0, 'readonly' => false)); … … 77 77 // allow the following attributes to be added to the <ul> tag 78 78 $out = '<ul' . create_attrib_string($attrib, array('style', 'class', 'id')) . ">\n"; 79 if ( $CONFIG['address_book_type']!= 'ldap') {79 if (strtolower($CONFIG['address_book_type']) != 'ldap') { 80 80 $out .= sprintf($line_templ, 81 81 'rcmli'.$local_id, -
program/steps/mail/addcontact.inc
r6153e20 red5ed98 25 25 { 26 26 $CONTACTS = array(); 27 if ( $CONFIG['address_book_type']== 'ldap') {27 if (strtolower($CONFIG['address_book_type']) == 'ldap') { 28 28 // Use the first writable LDAP address book. 29 29 foreach ($CONFIG["ldap_public"] as $id => $prop) {
Note: See TracChangeset
for help on using the changeset viewer.
