Changeset 1291
- Timestamp:
- 08/07/09 10:19:12 (15 years ago)
- Location:
- trunk/expressoMail1_2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/hook_settings.inc.php
r1289 r1291 89 89 create_check_box('Show default view on main screen?','mainscreen_showmail','Show unread messages in your home page'); 90 90 create_check_box('Do you want to use remove attachments function?','remove_attachments_function','It allow you to remove attachments from messages'); 91 create_check_box('Do you want to use important flag in email editor?',' enable_important_flag','It allow you to send emails with important flag, but you can receive unwanted messages with important flag');91 create_check_box('Do you want to use important flag in email editor?','use_important_flag','It allow you to send emails with important flag, but you can receive unwanted messages with important flag'); 92 92 93 93 //Use user folders from email -
trunk/expressoMail1_2/js/draw_api.js
r1247 r1291 729 729 730 730 if ((headers_msgs.Unseen == 'U') || (headers_msgs.Recent == 'N')){ 731 if ((headers_msgs.Flagged == 'F') || (headers_msgs.Importance.toLowerCase().indexOf("high")!=-1 && p references.use_important_flag == 'True'))731 if ((headers_msgs.Flagged == 'F') || (headers_msgs.Importance.toLowerCase().indexOf("high")!=-1 && parseInt(preferences.use_important_flag))) 732 732 add_className(tr_element, 'flagged_msg'); 733 733 add_className(tr_element, 'tr_msg_unread'); 734 734 } 735 735 else{ 736 if ((headers_msgs.Flagged == 'F') || (headers_msgs.Importance.toLowerCase().indexOf("high")!=-1 && p references.use_important_flag == 'True'))736 if ((headers_msgs.Flagged == 'F') || (headers_msgs.Importance.toLowerCase().indexOf("high")!=-1 && parseInt(preferences.use_important_flag))) 737 737 add_className(tr_element,'flagged_msg'); 738 738 } … … 825 825 td_element23.id = "td_message_important_"+headers_msgs.msg_number; 826 826 827 if (headers_msgs.Flagged == 'F' || (headers_msgs.Importance.toLowerCase().indexOf("high") != -1 && p references.use_important_flag == 'True'))827 if (headers_msgs.Flagged == 'F' || (headers_msgs.Importance.toLowerCase().indexOf("high") != -1 && parseInt(preferences.use_important_flag))) 828 828 { 829 829 td_element23.innerHTML = "<img src ='templates/"+template+"/images/important.gif' title='"+get_lang('Important')+"'>"; … … 1654 1654 } 1655 1655 var tr = document.createElement("TR"); 1656 if(p references.remove_attachments_function)1656 if(parseInt(preferences.remove_attachments_function)) 1657 1657 { 1658 1658 var del_attachments = document.createElement("A"); … … 2280 2280 tr5.appendChild(td_return_receipt); 2281 2281 tbody_message.appendChild(tr5); 2282 if (p references.use_important_flag)2282 if (parseInt(preferences.use_important_flag)) 2283 2283 { 2284 2284 var trn = document.createElement("TR");
Note: See TracChangeset
for help on using the changeset viewer.