Changeset 7225
- Timestamp:
- 09/17/12 09:41:15 (12 years ago)
- Location:
- trunk/expressoMail1_2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/class.ldap_functions.inc.php
r7062 r7225 340 340 * @author Consórcio Expresso Livre - 4Linux (www.4linux.com.br) e Prognus Software Livre (www.prognus.com.br) 341 341 * @sponsor Caixa Econômica Federal 342 * @author Prog nus Software Livre <airton@prognus.com.br | prognus@prognus.com.br>342 * @author ProgquickSearchAllnus Software Livre <airton@prognus.com.br | prognus@prognus.com.br> 343 343 * @param <array> <$param> <parametros vindos do cliente> 344 344 * @return <array> <$retorno> <Array com os usuários de todos os catálogos, de acordo com o parâmetro> … … 405 405 * @return <array> <$retorno> <Array com os usuários do Catálogo Global, de acordo com o parâmetro> 406 406 */ 407 function quickSearchGlobal($params, $all=false) 407 function quickSearchGlobal($params, $all=false) 408 408 { 409 409 include_once dirname(__FILE__). '/../../header.inc.php'; … … 482 482 $search = ldap_get_entries($this->ds, $sr); 483 483 for ($j=0; $j<$search["count"]; $j++) { 484 $info_return[] = $search[$j]; 484 $search[$j]['isExternal'] = true; 485 $info_return[] = $search[$j]; 485 486 } 486 487 $info_return["count"] = count($info_return)-1; … … 503 504 504 505 $info_return['search_for'] = $params['search_for']; 505 506 506 return $info_return; 507 507 } -
trunk/expressoMail1_2/js/QuickCatalogSearch.js
r7113 r7225 710 710 } 711 711 verifyEmails(email, divs); 712 final_contact = "\""+nome +"\" <"+email+"> ";712 final_contact = "\""+nome +"\" <"+email+"> "; 713 713 714 714 final_contact = final_contact.replace(/\/n/, ""); 715 715 var index = parseInt(divs.split("_")[1])-1; 716 if(data_[index].type_contact == "G"){ 716 if(typeof(data_[index].isExternal) != 'undefined' && data_[index].isExternal == true) 717 draw_email_box(final_contact, content.find(field_).filter("textarea:first")); 718 else if(data_[index].type_contact == "G"){ 717 719 var ldap_id = preferences.expressoMail_ldap_identifier_recipient; 718 720 if(ldap_id){
Note: See TracChangeset
for help on using the changeset viewer.