Changeset 2622


Ignore:
Timestamp:
04/23/10 09:58:05 (14 years ago)
Author:
amuller
Message:

Ticket #989 - Deixando as opcoes mais condizente com a interface

Location:
trunk/expressoMail1_2
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/js/jscode/draw_api_messages.js

    r2579 r2622  
    266266                        var _offset = 35; 
    267267                        if (this.value == 'more_options'){ 
    268                                 this.innerHTML = "<b><u>"+get_lang('Options')+"</u></b>"; 
     268                                this.innerHTML = "<b><u>"+get_lang('hide details')+"</u></b>"; 
    269269                                this.value = 'hide_options'; 
    270270                                Element("div_message_scroll_"+ID).style.height = (_height - _offset)+"px"; 
    271271                                Element('table_message_others_options_'+ID).style.display = ''; 
    272                                 Element('tr_other_options_'+ID).style.display = ''; 
    273272 
    274273                        } 
    275274                        else{ 
    276                                 this.innerHTML = get_lang('Options'); 
     275                                this.innerHTML = get_lang('show details'); 
    277276                                this.value = 'more_options'; 
    278277                                Element("div_message_scroll_"+ID).style.height = (_height + _offset)+"px"; 
    279278                                Element('table_message_others_options_'+ID).style.display = 'none'; 
    280                                 Element('tr_other_options_'+ID).style.display = 'none';                  
    281279                        } 
    282280                }; 
     
    284282                option_mark.align = "left"; 
    285283                option_mark.width = "50%"; 
    286  
    287284 
    288285                var option_mark_as_unseen = '<span class="message_options" onclick="changeLinkState(this,\'seen\');set_messages_flag(\'unseen\','+ 
     
    298295                                                                    '.\');">'+get_lang("Important")+'</span>'; 
    299296                option_mark.innerHTML = option_mark_as_unseen+option_mark_important; 
    300                 option_hide_more.innerHTML = get_lang('Options'); 
     297                option_hide_more.innerHTML = get_lang('show details'); 
    301298                options.appendChild(option_hide_more); 
    302299 
     
    319316                options.appendChild(space1); 
    320317                options.appendChild(option_forward); 
     318                var option_reply_options = document.createElement("IMG"); 
     319                option_reply_options.id = 'msg_opt_reply_options_'+ID; 
     320                option_reply_options.onmouseover = function(){ 
     321                                option_reply_options.src= URL_SERVER+'/expressoMail1_2/templates/default/images/over.png'; 
     322                }; 
     323                option_reply_options.onmouseout = function(){ 
     324                        if (this.value == 'show') 
     325                        { 
     326                                option_reply_options.src= URL_SERVER+'/expressoMail1_2/templates/default/images/down.png'; 
     327                        } 
     328                        else 
     329                        { 
     330                                option_reply_options.src= URL_SERVER+'/expressoMail1_2/templates/default/images/pressed.png'; 
     331                        } 
     332                }; 
     333                option_reply_options.onclick = function(){ 
     334                        if (this.value == 'show'){ 
     335                                this.value = 'hide'; 
     336                                option_reply_options.src= URL_SERVER+'/expressoMail1_2/templates/default/images/pressed.png'; 
     337                                Element('tr_other_options_'+ID).style.display = ''; 
     338 
     339                        } 
     340                        else{ 
     341                                this.value = 'show'; 
     342                                option_reply_options.src= URL_SERVER+'/expressoMail1_2/templates/default/images/down.png'; 
     343                                Element('tr_other_options_'+ID).style.display = 'none'; 
     344                        } 
     345                }; 
     346                option_reply_options.src= URL_SERVER+'/expressoMail1_2/templates/default/images/down.png'; 
     347                option_reply_options.value = 'show'; 
    321348                var option_reply = document.createElement("SPAN"); 
    322349                option_reply.id = 'msg_opt_reply_'+ID; 
     
    325352                option_reply.innerHTML = get_lang('Reply'); 
    326353                options.appendChild(space2); 
     354                options.appendChild(option_reply_options); 
    327355                options.appendChild(option_reply); 
    328                 var option_delete = document.createElement("SPAN"); 
    329                 option_delete.id = 'msg_opt_delete_'+ID; 
    330                 option_delete.className = 'message_options'; 
    331                 option_delete.onclick = function(){proxy_mensagens.delete_msgs(info_msg.msg_folder, info_msg.msg_number, ID);}; 
    332                 option_delete.innerHTML = get_lang('Delete'); 
    333                 options.appendChild(space3); 
    334                 options.appendChild(option_delete); 
    335356 
    336357                tr.appendChild(td); 
     
    347368                var td_other_options = document.createElement("TD"); 
    348369                td_other_options.colSpan = '3'; 
    349                 //td_other_options.align = 'right'; 
    350                 //td_other_options.setAttribute("noWrap","true"); 
     370                td_other_options.align = 'right'; 
     371                td_other_options.setAttribute("noWrap","true"); 
    351372                var div_other_options = document.createElement("DIV"); 
    352373 
     
    359380                var option_reply_to_all                                 = '<span onmouseover="this.className=\'message_options_active\'" onmouseout="this.className=\'message_options\'" class="message_options" onclick=new_message("reply_to_all_with_history","'+ID+'");>'+get_lang("Reply to all")+'</span> | '; 
    360381                var option_reply_without_history                = '<span onmouseover="this.className=\'message_options_active\'" onmouseout="this.className=\'message_options\'" class="message_options" onclick=new_message("reply_without_history","'+ID+'");>'+get_lang("Reply without history")+'</span> | '; 
    361                 var option_reply_to_all_without_history = '<span onmouseover="this.className=\'message_options_active\'" onmouseout="this.className=\'message_options\'" class="message_options" onclick=new_message("reply_to_all_without_history","'+ID+'");>'+get_lang("Reply to all without history")+'</span> |'; 
    362                 var option_source_msg = '<span class="message_options" onclick=proxy_mensagens.proxy_source_msg("'+ID+'","'+url_encode(info_msg.msg_folder)+'");>'+get_lang("Message Font")+'</span> </div>';            
    363  
    364                 div_other_options.innerHTML = option_reply_to_all + option_reply_without_history + option_reply_to_all_without_history + option_source_msg; 
     382                var option_reply_to_all_without_history = '<span onmouseover="this.className=\'message_options_active\'" onmouseout="this.className=\'message_options\'" class="message_options" onclick=new_message("reply_to_all_without_history","'+ID+'");>'+get_lang("Reply to all without history")+'</span></div>' 
     383 
     384                div_other_options.innerHTML = option_reply_to_all + option_reply_without_history + option_reply_to_all_without_history; 
    365385                if (use_spam_filter) { 
    366386                        if(info_msg.msg_folder == 'INBOX'+cyrus_delimiter+'Spam') 
  • trunk/expressoMail1_2/setup/phpgw_pt-br.lang

    r2561 r2622  
    325325Open search window      expressoMail1_2 pt-br   Abrir janela de pesquisa 
    326326Options expressoMail1_2 pt-br   Opções 
     327Hide details    expressoMail1_2 pt-br   Ocultar Detalhes 
     328Show details    expressoMail1_2 pt-br   Mostrar Detalhes 
    327329Organization    expressoMail1_2 pt-br   Organização 
    328330Original Attachments: add       expressoMail1_2 pt-br   Anexos originais: adicionar 
Note: See TracChangeset for help on using the changeset viewer.