Changeset 2667 for trunk/expressoMail1_2
- Timestamp:
- 04/29/10 15:54:58 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/jscode/draw_api_messages.js
r2630 r2667 380 380 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> | '; 381 381 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>'; 383 383 384 384 div_other_options.innerHTML = option_reply_to_all + option_reply_to_all_without_history + option_reply_without_history; … … 462 462 options.width = "1%"; 463 463 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 = " | "; 467 470 var option_hide_more = document.createElement("SPAN"); 468 471 option_hide_more.className = 'message_options'; … … 470 473 option_hide_more.value = 'more_options'; 471 474 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'); 473 476 option_hide_more.onclick = function(){ 474 477 var _height = Element("div_message_scroll_"+ID).style.height; … … 476 479 var _offset = 35; 477 480 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>"; 479 482 this.value = 'hide_options'; 480 483 Element("div_message_scroll_"+ID).style.height = (_height - _offset)+"px"; … … 482 485 } 483 486 else{ 484 this.innerHTML = get_lang(' Options');487 this.innerHTML = get_lang('show details'); 485 488 this.value = 'more_options'; 486 489 Element("div_message_scroll_"+ID).style.height = (_height + _offset)+"px"; … … 488 491 } 489 492 }; 490 options.innerHTML = option_edit + option_print + option_delete;491 493 options.appendChild(option_hide_more); 494 options.appendChild(separator); 495 options.appendChild(option_edit); 492 496 tr.appendChild(td); 493 497 tr.appendChild(options); … … 1730 1734 var dn_em = document.createElement("SPAN"); 1731 1735 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));}; 1733 1737 dn_em.setAttribute("title",get_lang("Block Sender")); 1734 1738 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'>"; 1736 1740 return dn_em; 1737 1741
Note: See TracChangeset
for help on using the changeset viewer.