Changeset 12 for trunk/contactcenter
- Timestamp:
- 04/03/07 16:30:17 (17 years ago)
- Location:
- trunk/contactcenter
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/contactcenter/doc/change_log.txt
r2 r12 8 8 contactcenter/templates/default. Essa alteraçao foi feita para corrigir bug que ocorre qdo 9 9 se cria um template com nome diferente de celepar. 10 11 02/04/2007 - [1.0.006] 12 - Código que carrega foto do usuário, vindo do LDAP, foi alterado para usar o cache do navegador, 13 diminuindo o acesso ao LDAP; 14 - Código que filtra para buscar os grupos de usuários foi comentado, pois dá problema na visualização. 15 Atualmente o Catálogo de Endereços só lista usuários e listas. -
trunk/contactcenter/inc/class.ui_data.inc.php
r2 r12 627 627 'value' => 'u' 628 628 ), 629 1 => array(629 /*1 => array( 630 630 'field' => 'contact.account_type', 631 631 'type' => '=', 632 632 'value' => 'g' 633 ), 633 ),*/ 634 634 2 => array( 635 635 'field' => 'contact.account_type', … … 709 709 'value' => 'u' 710 710 ), 711 1 => array(711 /*1 => array( 712 712 'field' => 'contact.account_type', 713 713 'type' => '=', 714 714 'value' => 'g' 715 ), 715 ),*/ 716 716 2 => array( 717 717 'field' => 'contact.account_type', … … 1032 1032 1033 1033 // If contact is a public list, then load the forwarding addresses. 1034 if($contact['account_type'][0] == 'l')1035 $final[3][$i][7] = array();1036 1037 $final[4][$i] = $contact['photo'] ? 1 : 0;1034 if($contact['account_type'][0] == 'l') 1035 $final[3][$i][7] = array(); 1036 1037 $final[4][$i] = $contact['photo'] ? 1 : 0; 1038 1038 $i++; 1039 1039 } … … 1902 1902 return; 1903 1903 } 1904 1905 1904 1906 1905 /*! -
trunk/contactcenter/js/cc.js
r2 r12 1903 1903 var id_contact = data[3][pos][k]; 1904 1904 Element(id+':'+data[2][k]).value = data[3][pos][k]; 1905 if (data[4][pos] == 1) 1906 { 1907 Element(id+':cc_photo').src = '../index.php?menuaction=contactcenter.ui_data.data_manager&method=get_photo&id='+data[3][pos][k]+'&none=' + Math.random(); 1908 } 1909 else 1910 { 1911 Element(id+':cc_photo').src = '../index.php?menuaction=contactcenter.ui_data.data_manager&method=get_photo'; 1912 } 1905 Element(id+':cc_photo').src = '../index.php?menuaction=contactcenter.ui_data.data_manager&method=get_photo' + (data[4][pos] != 0 ? '&id='+data[3][pos][k] : ''); 1913 1906 if(ccTree.catalog_perms == 1) 1914 1907 Element(id+':cc_icon_data').innerHTML = '<span title="Copiar para o Catálogo Pessoal" id="' + id + ':ccQuickAdd" onmouseout="window.status=\'\';" onclick="ccQuickAddContact.showList(\''+ Element(id+':cc_id').value + '\');return true;" style="cursor: pointer; cursor: hand; z-index: 1"><img src="templates/default/images/address-conduit-16.png" align="center"></span>';
Note: See TracChangeset
for help on using the changeset viewer.