Changeset 2667


Ignore:
Timestamp:
04/29/10 15:54:58 (14 years ago)
Author:
amuller
Message:

Ticket #1036 - Arruma ponto e virgula faltante no final da linha

File:
1 edited

Legend:

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

    r2630 r2667  
    380380                var option_reply_to_all                                 = '<span onmouseover="this.className=\'reply_options_active\'" onmouseout="this.className=\'reply_options\'" class="reply_options" onclick=new_message("reply_to_all_with_history","'+ID+'");>'+get_lang("Reply to all")+'</span> | '; 
    381381 
    382                 var option_reply_to_all_without_history = '<span onmouseover="this.className=\'reply_options_active\'" onmouseout="this.className=\'reply_options\'" class="reply_options" onclick=new_message("reply_to_all_without_history","'+ID+'");>'+get_lang("Reply to all without history")+'</span> | </div>' 
     382                var option_reply_to_all_without_history = '<span onmouseover="this.className=\'reply_options_active\'" onmouseout="this.className=\'reply_options\'" class="reply_options" onclick=new_message("reply_to_all_without_history","'+ID+'");>'+get_lang("Reply to all without history")+'</span> | </div>'; 
    383383 
    384384                div_other_options.innerHTML = option_reply_to_all + option_reply_to_all_without_history + option_reply_without_history; 
     
    462462                options.width = "1%"; 
    463463                options.setAttribute("noWrap","true"); 
    464                 var option_edit   = '<span class="message_options" onclick="new_message(\'edit\',\''+ID+'\');">'+get_lang('Edit')+'</span> | '; 
    465                 var option_print = '<span class="message_options" onclick="print_msg(\''+info_msg.msg_folder+'\',\''+info_msg.msg_number+'\',\''+ID+'\');">'+get_lang('Print')+'</span> | '; 
    466                 var option_delete = '<span class="message_options" onclick="proxy_mensagens.delete_msgs(\''+info_msg.msg_folder+'\',\''+info_msg.msg_number+'\',\''+ID+'\');">'+get_lang('Delete')+'</span> | ';                 
     464                var option_edit   = document.createElement("SPAN"); 
     465                option_edit.className = 'message_options'; 
     466                option_edit.innerHTML = get_lang('Edit'); 
     467                option_edit.onclick= function () { new_message('edit',ID); }; 
     468                var separator = document.createElement("SPAN"); 
     469                separator.innerHTML = "&nbsp;|&nbsp;"; 
    467470                var option_hide_more = document.createElement("SPAN"); 
    468471                option_hide_more.className = 'message_options'; 
     
    470473                option_hide_more.value = 'more_options'; 
    471474                option_hide_more.id = 'option_hide_more_'+ID; 
    472                 option_hide_more.innerHTML = get_lang('Options'); 
     475                option_hide_more.innerHTML = get_lang('Show details'); 
    473476                option_hide_more.onclick = function(){ 
    474477                        var _height = Element("div_message_scroll_"+ID).style.height; 
     
    476479                        var _offset = 35; 
    477480                        if (this.value == 'more_options'){ 
    478                                 this.innerHTML = "<b><u>"+get_lang('Options')+"</u></b>"; 
     481                                this.innerHTML = "<b><u>"+get_lang('Hide details')+"</u></b>"; 
    479482                                this.value = 'hide_options'; 
    480483                                Element("div_message_scroll_"+ID).style.height = (_height - _offset)+"px"; 
     
    482485                        } 
    483486                        else{ 
    484                                 this.innerHTML = get_lang('Options'); 
     487                                this.innerHTML = get_lang('show details'); 
    485488                                this.value = 'more_options'; 
    486489                                Element("div_message_scroll_"+ID).style.height = (_height + _offset)+"px"; 
     
    488491                        } 
    489492                }; 
    490                 options.innerHTML = option_edit + option_print + option_delete; 
    491493                options.appendChild(option_hide_more); 
     494                options.appendChild(separator); 
     495                options.appendChild(option_edit); 
    492496                tr.appendChild(td); 
    493497                tr.appendChild(options); 
     
    17301734        var dn_em       = document.createElement("SPAN"); 
    17311735        dn_em.id = "tt_d"; 
    1732         dn_em.onclick = function(){filter_rules.new_rule(email);}; 
     1736        dn_em.onclick = function(){filter_rules.new_rule(url_encode(email));}; 
    17331737        dn_em.setAttribute("title",get_lang("Block Sender")); 
    17341738        dn_em.style.cursor = "pointer";          
    1735         dn_em.innerHTML = "<img align='top' onclick=filter.new_rule('"+email+"') src='" + URL_SERVER + "expressoMail1_2/templates/"+template+"/images/deny.gif'>"; 
     1739        dn_em.innerHTML = "<img align='top' onclick=filter.new_rule('"+url_encode(email)+"') src='" + URL_SERVER + "expressoMail1_2/templates/"+template+"/images/deny.gif'>"; 
    17361740        return dn_em; 
    17371741 
Note: See TracChangeset for help on using the changeset viewer.