Changeset 4806
- Timestamp:
- 07/19/11 14:00:58 (13 years ago)
- Location:
- trunk/contactcenter
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/contactcenter/inc/class.bo_ldap_manager.inc.php
r4538 r4806 58 58 'montaDN'=> $subLevels, //$data['cc_ldap_subLevels'], 59 59 'visible'=> $data['cc_ldap_query_automatic'], 60 ' max_results' => $data['cc_ldap_max_results']60 'recursive' => $data['cc_ldap_recursive'] 61 61 ) 62 62 ); … … 467 467 468 468 function get_ldap_tree_level($id_source, $resource, $context, $objectClass, $branch_dn, $external = 0) 469 { 469 { 470 470 471 471 /* … … 553 553 $i++; 554 554 } 555 555 556 556 557 557 $filter = 'objectClass='.$objectClass; -
trunk/contactcenter/inc/class.ui_data.inc.php
r4768 r4806 1215 1215 } 1216 1216 1217 $result = $this->bo->find($find_field[0],$find_restric[0],$find_other[0]); 1217 if(!$this->bo->catalog->src_info) { 1218 $ldaps = CreateObject('contactcenter.bo_ldap_manager'); 1219 $this->bo->catalog->src_info = $ldaps->srcs[1]; 1220 } 1221 $recursive = $this->bo->catalog->src_info['recursive']; 1222 1223 $result = $this->bo->find($find_field[0],$find_restric[0],$find_other[0],false,($recursive == "true") ? true : ''); 1218 1224 $n_entries = count($result); 1219 1225 -
trunk/contactcenter/templates/default/config.tpl
r4544 r4806 81 81 </td> 82 82 </tr> 83 <tr class="th"> 83 <tr class="row_on"> 84 <td>{Buscar recursivamente ao clicar no botão "Todos"?} :</td> 85 <td> 86 <select name="newsettings[cc_ldap_recursive]"> 87 <option value="false" {selected_cc_ldap_recursive_false}>Não</option> 88 <option value="true" {selected_cc_ldap_recursive_true}>Sim</option> 89 </select> 90 </td> 91 </tr> 92 <tr class="th"> 84 93 <td colspan="2"> <b>{lang_cc_Set_details_attributes}</b></td> 85 86 94 </tr> 95 <tr> 87 96 <td colspan="2" id="cc_attribute_fields"> 88 97 <div> … … 99 108 {attribute_fields} 100 109 </td> 101 110 </tr> 102 111 <!-- <tr class="row_on"> 103 112 <td>{lang_objectClass_to_be_used_as_a_Contact}:</td> … … 143 152 <td><input type="text" size="40" name="newsettings[cc_ldap_ass_fulln0]" value="{value_cc_ldap_ass_fulln0}"></td> 144 153 </tr>--> 145 154 146 155 147 156 <!-- END body -->
Note: See TracChangeset
for help on using the changeset viewer.