Changeset 3262 for branches/2.2/contactcenter
- Timestamp:
- 09/17/10 12:19:10 (14 years ago)
- Location:
- branches/2.2/contactcenter
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/contactcenter/inc/class.bo_global_ldap_catalog.inc.php
r3211 r3262 595 595 return false; 596 596 } 597 598 //Alteração feita especificamente para tratar problema da montagem do $id_contact 597 599 if(!$external) 600 { 601 if($this->src_info['montaDN'] == "true") 602 { 598 603 $id_contact = preg_replace("/dc=(.*)/i",$this->src_info['dn'],$id_contact); 604 } 605 } 599 606 600 607 $resource = @ldap_read($ldap, $id_contact, 'objectClass='.$this->src_info['obj']); … … 975 982 $l_fields['empNumber'] = $this->trans_table['contact.business_info.empNumber']; 976 983 } 977 //Relaciona o array com o atributo 'mobile' do RHDS978 $l_fields['celPhone'] = $this->trans_table['contact.business_info.celPhone'];979 984 980 985 //Relaciona o array com o atributo 'mobile' do RHDS -
branches/2.2/contactcenter/inc/class.bo_ldap_manager.inc.php
r1600 r3262 38 38 } 39 39 40 $ou = ''; 41 if($data['cc_ldap_subLevels'] == "true") 42 { 43 $ou = strtolower('ou'); 44 } 45 40 46 $this->srcs = array( 41 47 1 => array( … … 46 52 'pw' => $data['cc_ldap_pw0'], 47 53 'obj' => 'inetOrgPerson', 48 'branch' => strtolower('ou'), 54 'branch' => $ou, //strtolower('ou'), 55 'montaDN' => $data['cc_ldap_subLevels'], 49 56 'visible' => $data['cc_ldap_query_automatic'] 50 57 ) -
branches/2.2/contactcenter/templates/default/config.tpl
r1598 r3262 67 67 <option value="3" {selected_cc_ldap_min_3}>3</option> 68 68 <option value="4" {selected_cc_ldap_min_4}>4</option> 69 </select> 70 </td> 71 </tr> 72 <tr class="row_off"> 73 <td>Montar DN do contatos dinamicamente?</td> 74 <td> 75 <select name="newsettings[cc_ldap_subLevels]"> 76 <option value="true" {selected_cc_ldap_subLevels_true}>Sim</option> 77 <option value="false" {selected_cc_ldap_subLevels_false}>Não</option> 69 78 </select> 70 79 </td>
Note: See TracChangeset
for help on using the changeset viewer.