Ignore:
Timestamp:
05/21/08 16:56:17 (16 years ago)
Author:
rafaelraymundo
Message:

Vide Trac - #197, #166, #198, #199

  1. Correção de problema na leitura do arquivo configuração.
  2. Permissão do click2dial também no contactcenter.
  3. Visualização de matricula, e nro celular no resultado da pesquisa(se estiverem populados)
  4. Adicionada a leitura a Catálogos Externos
Location:
trunk/contactcenter/templates/default
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/contactcenter/templates/default/full_add.tpl

    r118 r284  
    1313<input id="cc_contact_personal" type="hidden" value="{cc_contact_personal}"> 
    1414<input id="cc_contact_addrs" type="hidden" value="{cc_contact_addrs}"> 
    15 <input id="cc_contact_conns" type="hidden" value="{emails_telephones}"> 
     15<input id="cc_contact_conns" type="hidden" value="E-mails e Telefones"> 
    1616<input id="cc_pd_full_name" name="{cc_pd_full_name}" type="hidden"> 
    1717<input id="cc_pd_sex" name="{cc_pd_sex}" type="hidden"> 
     
    3636                <tr class="row_on"> 
    3737                        <td align="right">{cc_pd_alias}:</td> 
    38                         <td align="left" colspan="2"><input id="cc_pd_alias" name="{cc_pd_alias}" type="text" style="width:175px;z-index:-1" value="" maxlength=""></td> 
     38                        <td align="left" colspan="2"><input id="cc_pd_alias" name="{cc_pd_alias}" type="text" style="width:175px;z-index:-1" value="" maxlength="30"></td> 
    3939                </tr> 
    4040                <tr style="display:none" class="row_off"> 
     
    139139        <tbody> 
    140140                <tr class="th" width="100%" align="center" height="10px"> 
    141                         <td width="60px" noWrap><input type="radio"  name="cc_conn_type" id="cc_conn_type_1" value="Email" onclick="javascript:updateConnFields();">{email}</td> 
    142                         <td width="60px" noWrap><input type="radio" name="cc_conn_type" id="cc_conn_type_2" value="Telefone" onclick="javascript:updateConnFields();">{telephone}</td> 
    143                         <td width="*" align="left"><select style="width:160px" id="cc_conn_type_sel" onchange="javascript:connAddNewLine();"><option value="-1">{choose_email_telephone}</option></select></td> 
    144                 </tr> 
    145                 <tr class="row_off">                     
     141                        <td width="60px" noWrap><input type="radio"  name="cc_conn_type" id="cc_conn_type_1" value="Email" onclick="javascript:updateConnFields();">E-mail</td> 
     142                        <td width="60px" noWrap><input type="radio" name="cc_conn_type" id="cc_conn_type_2" value="Telefone" onclick="javascript:updateConnFields();">Telefone</td> 
     143                        <td width="*" align="left"><select style="width:160px" id="cc_conn_type_sel" onchange="javascript:connAddNewLine();"><option value="-1">Escolha 'Email' ou 'Telefone'</option></select></td> 
     144                </tr> 
     145                <tr class="row_off"> 
    146146                        <td valign="top" colspan="4" width="100%" style="border: 0px solid black" cellpadding="0" cellspacing="0"> 
    147147                                <table align="left" width="100%" style="border: 0px solid black"> 
    148148                                <tbody id="cc_conn">&nbsp; 
    149149                                        <!-- Code inside here is inserted dynamically --> 
    150                                 </tbody>                                 
     150                                </tbody> 
    151151                                </table> 
    152152                        </td> 
     
    159159        </tbody> 
    160160        </table> 
    161         <div style="z-index:10000;position: absolute;display:none; top: 170px; left: 78px;" id="div_cc_conn_is_default"> {cc_default} &nbsp;<select id="cc_email_default" name="cc_email_default" disabled style="display:none"></select><select id="cc_phone_default" name="cc_phone_default" disabled style="display:none"></select></div> 
     161        <div style="z-index:10000;position: absolute;display:none; top: 170px; left: 78px;" id="div_cc_conn_is_default">É padrão:&nbsp;<select id="cc_email_default" name="cc_email_default" disabled style="display:none"></select><select id="cc_phone_default" name="cc_phone_default" disabled style="display:none"></select></div> 
    162162</div> 
    163163<!-- _BOTTOM BUTTONS --> 
    164 <div align="center" id="cc_contact_tab_buttons" style="position: absolute; visibility: hidden; top: 250px; left: 0px; width: 498px; height: 32px; border: 0px solid black">      
     164<div align="center" id="cc_contact_tab_buttons" style="position: absolute; visibility: hidden; top: 250px; left: 0px; width: 498px; height: 32px; border: 0px solid black"> 
    165165        <table class="row_off" align="center" width="498px" cellpadding="2" cellspacing="0" border="0"> 
    166166                <tr> 
     
    177177<!-- 
    178178//      Overloading some methods for fix cursor problem in Firefox. 
    179         if(!is_ie) {  
    180                 dJSWin.prototype.close = function() {            
     179        if(!is_ie) { 
     180                dJSWin.prototype.close = function() { 
    181181                        dJSWin.state = 0; 
    182182                        dd.elements[this.title.id].hide(); 
    183                         Element("divScrollMain").style.overflow = 'auto';        
     183                        Element("divScrollMain").style.overflow = 'auto'; 
    184184                } 
    185185                dJSWin.prototype.open = function() { 
     
    190190                        Element("divScrollMain").style.overflow = 'hidden'; 
    191191                } 
    192         }        
    193                  
     192        } 
     193 
    194194        var fullAdd_onload = document.body.onload; 
    195195        var tabs; 
    196196        var fullAddWin; 
    197         var photo_frame, photo_form, photo_input;        
     197        var photo_frame, photo_form, photo_input; 
    198198 
    199199        __f = function(e) 
    200200        { 
    201                  
     201 
    202202                tabs = new dTabsManager({'id': 'cc_contact_tab', 'width': '500px'}); 
    203                  
    204                 tabs.addTab({'id': 'cc_contact_tab_0',  
    205                                          'name': Element('cc_contact_personal').value,  
    206                                          'selectedClass': 'tab_box_active',  
     203 
     204                tabs.addTab({'id': 'cc_contact_tab_0', 
     205                                         'name': Element('cc_contact_personal').value, 
     206                                         'selectedClass': 'tab_box_active', 
    207207                                         'unselectedClass': 'tab_box'}); 
    208                                           
    209                 tabs.addTab({'id': 'cc_contact_tab_2',  
    210                                          'name': Element('cc_contact_conns').value,  
    211                                          'selectedClass': 'tab_box_active',  
     208 
     209                tabs.addTab({'id': 'cc_contact_tab_2', 
     210                                         'name': Element('cc_contact_conns').value, 
     211                                         'selectedClass': 'tab_box_active', 
    212212                                         'unselectedClass': 'tab_box'}); 
    213213 
    214                 tabs.addTab({'id': 'cc_contact_tab_1',  
    215                                          'name': Element('cc_contact_addrs').value,  
    216                                          'selectedClass': 'tab_box_active',  
    217                                          'unselectedClass': 'tab_box'});                                          
     214                tabs.addTab({'id': 'cc_contact_tab_1', 
     215                                         'name': Element('cc_contact_addrs').value, 
     216                                         'selectedClass': 'tab_box_active', 
     217                                         'unselectedClass': 'tab_box'}); 
    218218 
    219219                fullAddWin = new dJSWin({'id': 'cc_full_add', 
     
    229229                                         'border': true}); 
    230230 
    231                 fullAddWin.draw();               
    232                                                  
     231                fullAddWin.draw(); 
     232 
    233233                if (is_ie) 
    234234                { 
     
    242242                { 
    243243                        Element('cc_pd_select_photo_t').style.display='none'; 
    244                         Element('cc_pd_select_photo_b').style.display='none';                    
    245                 } 
    246                  
     244                        Element('cc_pd_select_photo_b').style.display='none'; 
     245                } 
     246 
    247247        }; 
    248248 
    249249        if (is_ie) // || is_moz1_6) 
    250250        { 
    251                          
     251 
    252252                document.body.onload = function(e) { setTimeout('__f()', 10); fullAdd_onload ? setTimeout('fullAdd_onload()'): false;}; 
    253253        } 
     
    270270 
    271271 
    272 <!-- RELATIONS  
     272<!-- RELATIONS 
    273273<div id="cc_contact_tab_3" class="row_off div_cc_contact_tab"> 
    274274        <table align="center" width="500px" height="100%" cellpadding="2" cellspacing="0" border="0"> 
  • trunk/contactcenter/templates/default/index.tpl

    r270 r284  
    11<link rel="stylesheet" type="text/css" href="{cc_css}"> 
    2 <style>  
     2<style> 
    33        .special{ 
    44                cursor:pointer; 
    55                cursor:hand; 
    6                 position:relative;  
    7                 top:0px;  
     6                position:relative; 
     7                top:0px; 
    88                left:0px; 
    9                 color: #006699;  
     9                color: #006699; 
    1010                background-color:#DCDCDC; 
    1111        } 
     
    1515<input id="cc_msg_no_cards" type="hidden" value="{cc_msg_no_cards}"> 
    1616<input id="cc_msg_err_no_room" type="hidden" value="{cc_msg_err_no_room}"> 
     17 
    1718<input id="cc_root_dir" type="hidden" value="{cc_root_dir}"> 
    1819<input id="cc_msg_card_new" type="hidden" value="{cc_msg_card_new}"> 
     
    2425<input id="cc_msg_card_remove_confirm" type="hidden" value="{cc_msg_card_remove_confirm}"> 
    2526<input id="cc_send_mail" type="hidden" value="{cc_send_mail}"> 
    26 <input id="cc_msg_group_edit" type="hidden" value="{cc_msg_group_edit}">         
     27<input id="cc_msg_group_edit" type="hidden" value="{cc_msg_group_edit}"> 
    2728<input id="cc_msg_group_remove" type="hidden" value="{cc_msg_group_remove}"> 
    2829<input id="cc_msg_group_remove_confirm" type="hidden" value="{cc_msg_group_remove_confirm}"> 
    2930<input id="cc_panel_search_text" type="hidden" value="{cc_panel_search}" style="cursor: pointer; cursor: hand;" onclick="javascript:ccSearch()" /> 
    30 <input id="cc_msg_close_win" type="hidden" value="{cc_msg_close_win}"> 
    31 <input id="cc_msg_import_contacts" type="hidden" value="{cc_msg_import_contacts}"> 
    32 <input id="cc_msg_export_contacts" type="hidden" value="{cc_msg_export_contacts}"> 
    33 <input id="cc_msg_expresso_info_csv" type="hidden" value="{cc_msg_expresso_info_csv}"> 
    34 <input id="cc_msg_choose_file_type" type="hidden" value="{cc_msg_choose_file_type}"> 
    35 <input id="cc_msg_outlook_express" type="hidden" value="{cc_msg_outlook_express}"> 
    36 <input id="cc_msg_outlook2k" type="hidden" value="{cc_msg_outlook2k}"> 
    37 <input id="cc_msg_expresso_default" type="hidden" value="{cc_msg_expresso_default}"> 
    38 <input id="cc_msg_choose_contacts_file" type="hidden" value="{cc_msg_choose_contacts_file}"> 
    39 <input id="cc_msg_close" type="hidden" value="{cc_msg_close}"> 
    40 <input id="cc_msg_ie_personal" type="hidden" value="{cc_msg_ie_personal}"> 
    41 <input id="cc_msg_import_fail" type="hidden" value="{cc_msg_import_fail}"> 
    42 <input id="cc_msg_export_csv" type="hidden" value="{cc_msg_export_csv}">                    
    43 <input id="cc_msg_automatic" type="hidden" value="{cc_msg_automatic}"> 
    44 <input id="cc_msg_importing_contacts" type="hidden" value="{cc_msg_importing_contacts}"> 
    45 <input id="cc_msg_import_finished" type="hidden" value="{cc_msg_import_finished}"> 
    46 <input id="cc_msg_invalid_csv" type="hidden" value="{cc_msg_invalid_csv}"> 
    47 <input id="cc_msg_new" type="hidden" value="{cc_msg_new}"> 
    48 <input id="cc_msg_failure" type="hidden" value="{cc_msg_failure}"> 
    49 <input id="cc_msg_exists" type="hidden" value="{cc_msg_exists}"> 
    50 <input id="cc_msg_show_more_info" type="hidden" value="{cc_msg_show_more_info}"> 
    51 <input id="cc_msg_clean" type="hidden" value="{cc_msg_clean}"> 
    52 <input id="cc_msg_choose_valid_csv" type="hidden" value="{cc_msg_choose_valid_csv}"> 
    53 <input id="cc_msg_export_error" type="hidden" value="{cc_msg_export_error}"> 
    54 <input id="cc_msg_new_email" type="hidden" value="{cc_msg_new_email}"> 
    55 <input id="cc_msg_main" type="hidden" value="{cc_msg_main}"> 
    56 <input id="cc_msg_alternative" type="hidden" value="{cc_msg_alternative}"> 
    57 <input id="cc_msg_select_email" type="hidden" value="{cc_msg_select_email}"> 
    58 <input id="cc_msg_new_phone" type="hidden" value="{cc_msg_new_phone}"> 
    59 <input id="cc_msg_home" type="hidden" value="{cc_msg_home}"> 
    60 <input id="cc_msg_cellphone" type="hidden" value="{cc_msg_cellphone}"> 
    61 <input id="cc_msg_work" type="hidden" value="{cc_msg_work}"> 
    62 <input id="cc_msg_fax" type="hidden" value="{cc_msg_fax}"> 
    63 <input id="cc_msg_pager" type="hidden" value="{cc_msg_pager}"> 
    64 <input id="cc_msg_choose_phone" type="hidden" value="{cc_msg_choose_phone}"> 
    65 <input id="cc_msg_warn_firefox" type="hidden" value="{cc_msg_warn_firefox}"> 
    66 <input id="cc_msg_firefox_half1" type="hidden" value="{cc_msg_firefox_half1}"> 
    67 <input id="cc_msg_firefox_half2" type="hidden" value="{cc_msg_firefox_half2}"> 
    68 <input id="cc_msg_click_close" type="hidden" value="{cc_msg_click_close}"> 
    69 <input id="cc_msg_install_now" type="hidden" value="{cc_msg_install_now}"> 
    70 <input id="cc_msg_install_new_firefox" type="hidden" value="{cc_msg_install_new_firefox}"> 
    71 <input id="cc_msg_outlook_express_pt" type="hidden" value="{cc_msg_outlook_express_pt}"> 
    72 <input id="cc_msg_outlook_express_en" type="hidden" value="{cc_msg_outlook_express_en}"> 
    73 <input id="cc_msg_outlook_2k_pt" type="hidden" value="{cc_msg_outlook_2k_pt}"> 
    74 <input id="cc_msg_outlook_2k_en" type="hidden" value="{cc_msg_outlook_2k_en}"> 
    75 <input id="cc_msg_moz_thunderbird" type="hidden" value="{cc_msg_moz_thunderbird}"> 
    76 <input id="cc_msg_expresso_default_csv" type="hidden" value="{cc_msg_expresso_default_csv}"> 
    77 <input id="cc_msg_copy_to_catalog" type="hidden" value="{cc_msg_copy_to_catalog}"> 
    78 <input id="cc_msg_fill_field_name" type="hidden" value="{cc_msg_fill_field_name}"> 
    79 <input id="cc_msg_add_contact_to_group" type="hidden" value="{cc_msg_add_contact_to_group}"> 
    80  
    81  
    8231 <!-- END JS MESSAGES --> 
    8332 <input id="cc_type_contact"    type="hidden"> 
    8433 <input id="cc_participants"    type="hidden"  value="{cc_participants}"> 
    85   
     34 
    8635 <input id="cc_qa_alias"                type="hidden" value="{cc_qa_alias}"> 
    8736 <input id="cc_qa_given_names"  type="hidden" value="{cc_qa_given_names}"> 
     
    8938 <input id="cc_qa_phone"                type="hidden" value="{cc_qa_phone}"> 
    9039 <input id="cc_qa_email"                type="hidden" value="{cc_qa_email}"> 
    91   
     40 
    9241 <input id="cc_qa_save"                 type="hidden" value="{cc_qa_save}"> 
    93  <input id="cc_qa_close"                type="hidden" value="{cc_qa_close}"> 
    94   
     42 <input id="cc_qa_clear"                type="hidden" value="{cc_qa_clear}"> 
     43 
    9544 <input id="cc_empty"                   type="hidden"  value="{cc_empty}"> 
    9645  <!-- VIEW CARDS --> 
     
    10453                                </tr> 
    10554                                <tr> 
    106                                         <td width="150px" height="100%" align="left" valign="top">  
     55                                        <td width="150px" height="100%" align="left" valign="top"> 
    10756                                                <div id="cc_tree" style="overflow:auto;position:relative; width: 150px;border: 0px solid #999;"></div> 
    10857                                        </td> 
     
    12675                                </tr>--> 
    12776                                <tr align="left"> 
    128                                         <td align="left">                                                                                                                        
    129                                         <input id="cc_button_new" onMouseOver="if(!menuStarted) menu();menu.onmouseover()" onMouseOut="menu.onmouseout()"  value="{cc_btn_new}" type="button">                                   
     77                                        <td align="left"> 
     78                                        <input id="cc_button_new" onMouseOver="if(!menuStarted) menu();menu.onmouseover()" onMouseOut="menu.onmouseout()"  value="Novo ..." type="button"> 
    13079                                        <div id="cc_panel_search_call" style="display: inline"></div> 
    13180                                        <div id="cc_panel_table" style="display: none; text-align: right"> 
     
    13382                                        </div> 
    13483                                        <div id="cc_panel_cards" style="display: inline; text-align: right"> 
    135                                         <input type="button" value="{cc_panel_cards}" class="tab_box" style="cursor: pointer; cursor: hand;" onclick="javascript: ccChangeVisualization('cards')" />                                     
     84                                        <input type="button" value="{cc_panel_cards}" class="tab_box" style="cursor: pointer; cursor: hand;" onclick="javascript: ccChangeVisualization('cards')" /> 
    13685                                        </div> 
    13786                                        </td> 
    13887                                        <td align="right"> 
    139                                         <input id="cc_button_tools" value="{cc_btn_import_export}" type="button" onclick="javascript:ccIEContacts.showList()"> 
     88                                        <input id="cc_button_tools" value="Importar | Exportar" type="button" onclick="javascript:ccIEContacts.showList()"> 
    14089                                        </td> 
    14190                                </tr> 
     
    223172                                                                                        <td align="left" valign="middle"><span id="cc_panel_arrow_last"><img src="templates/default/images/last-grey.png" border="0" alt="{cc_panel_last_page}" hspace="2" /></span></td> 
    224173                                                                                </tr> 
    225                                                                         </table>                         
     174                                                                        </table> 
    226175                                                                </td> 
    227176                                                        </tr> 
     
    230179                                </tr> 
    231180                                <!-- ___END PANEL --> 
    232                                 <!-- __CARDS -->                                 
     181                                <!-- __CARDS --> 
    233182                                <tr> 
    234183                                        <td style="border: 0px solid #666;" id="cc_card_space" width="100%" height="auto" valign="top" align="center" colspan="4"></td> 
    235                                 </tr>                                                                                            
     184                                </tr> 
    236185                                <!-- __END CARDS --> 
    237186                        </table> 
     
    248197<script type="text/javascript" src="js/ccIEContacts.js"></script> 
    249198<script type="text/javascript" src="js/ccMain.js"></script> 
    250 <!-- END BOTTOM DETAILS-->                                               
     199<!-- END BOTTOM DETAILS--> 
Note: See TracChangeset for help on using the changeset viewer.