Ticket #1487839: junk_col.patch
| File junk_col.patch, 7.5 KB (added by gerundt, 2 years ago) |
|---|
-
roundcubemail/config/main.inc.php.dist
342 342 $rcmail_config['message_sort_order'] = 'DESC'; 343 343 344 344 // These cols are shown in the message list. Available cols are: 345 // subject, from, to, cc, replyto, date, size, status, flag, attachment 345 // subject, from, to, cc, replyto, date, size, status, flag, attachment, junk 346 346 $rcmail_config['list_cols'] = array('subject', 'status', 'from', 'date', 'size', 'flag', 'attachment'); 347 347 348 348 // the default locale setting (leave empty for auto-detection) -
roundcubemail/program/include/rcube_imap_generic.php
1753 1753 $result[$id]->mdn_sent = true; 1754 1754 } else if ($flag == 'FLAGGED') { 1755 1755 $result[$id]->flagged = true; 1756 } else if ($flag == 'JUNK') { 1757 $result[$id]->junk = true; 1756 1758 } 1757 1759 } 1758 1760 $result[$id]->flags = $flags_a; -
roundcubemail/program/js/app.js
1635 1635 unread: flags.unread?1:0, 1636 1636 forwarded: flags.forwarded?1:0, 1637 1637 flagged: flags.flagged?1:0, 1638 junk: flags.junk?1:0, 1638 1639 has_children: flags.has_children?1:0, 1639 1640 depth: flags.depth?flags.depth:0, 1640 1641 unread_children: flags.unread_children?flags.unread_children:0, … … 1658 1659 + (flags.unread ? ' unread' : '') 1659 1660 + (flags.deleted ? ' deleted' : '') 1660 1661 + (flags.flagged ? ' flagged' : '') 1662 + (flags.junk ? ' junk' : '') 1661 1663 + (flags.unread_children && !flags.unread && !this.env.autoexpand_threads ? ' unroot' : '') 1662 1664 + (message.selected ? ' selected' : ''), 1663 1665 // for performance use DOM instead of jQuery here … … 1735 1737 css_class = (flags.flagged ? 'flagged' : 'unflagged'); 1736 1738 html = '<span id="flagicn'+uid+'" class="'+css_class+'"> </span>'; 1737 1739 } 1740 else if (c == 'junk') { 1741 if (flags.junk) 1742 html = '<span class="junk"> </span>'; 1743 else 1744 html = ' '; 1745 } 1738 1746 else if (c == 'attachment') { 1739 1747 if (/application\/|multipart\/m/.test(flags.ctype)) 1740 1748 html = '<span class="attachment"> </span>'; -
roundcubemail/program/localization/de_DE/labels.inc
142 142 $labels['fromto'] = 'Sender/EmpfÀnger'; 143 143 $labels['flag'] = 'Markierung'; 144 144 $labels['attachment'] = 'Anhang'; 145 $labels['junk'] = 'Junk'; 145 146 $labels['nonesort'] = 'Keine'; 146 147 $labels['sentdate'] = 'Sendedatum'; 147 148 $labels['arrival'] = 'Empfangsdatum'; -
roundcubemail/program/steps/mail/func.inc
252 252 if (empty($a_headers)) 253 253 return; 254 254 255 // remove 'threads', 'attachment', 'flag', ' status' columns, we don't need them here256 foreach (array('threads', 'attachment', 'flag', ' status') as $col) {255 // remove 'threads', 'attachment', 'flag', 'junk', 'status' columns, we don't need them here 256 foreach (array('threads', 'attachment', 'flag', 'junk', 'status') as $col) { 257 257 if (($key = array_search($col, $a_show_cols)) !== FALSE) 258 258 unset($a_show_cols[$key]); 259 259 } … … 307 307 $a_msg_flags['forwarded'] = 1; 308 308 if ($header->flagged) 309 309 $a_msg_flags['flagged'] = 1; 310 if ($header->junk) 311 $a_msg_flags['junk'] = 1; 310 312 if ($header->others['list-post']) 311 313 $a_msg_flags['ml'] = 1; 312 314 … … 373 375 break; 374 376 case 'attachment': 375 377 case 'status': 378 case 'junk': 376 379 $col_name = '<span class="' . $col .'"> </span>'; 377 380 break; 378 381 case 'threads': -
roundcubemail/skins/default/ie6hacks.css
128 128 #messagelist tr td.attachment span.report, 129 129 #messagelist tr td.flag span.flagged, 130 130 #messagelist tr td.flag span.unflagged:hover, 131 #messagelist tr td.junk span.junk, 131 132 #messagelist tr td.status span.status, 132 133 #messagelist tr td.status span.msgicon, 133 134 #messagelist tr td.status span.deleted, -
roundcubemail/skins/default/mail.css
Kann nicht anzeigen: Dateityp ist als binär angegeben. svn:mime-type = application/octet-stream Kann nicht anzeigen: Dateityp ist als binär angegeben. svn:mime-type = application/octet-stream
714 714 } 715 715 716 716 #messagelist tr td.flag span, 717 #messagelist tr td.junk span, 717 718 #messagelist tr td.status span, 718 719 #messagelist tr td.attachment span 719 720 { … … 727 728 #messagelist tr td.attachment span.report, 728 729 #messagelist tr td.flag span.flagged, 729 730 #messagelist tr td.flag span.unflagged:hover, 731 #messagelist tr td.junk span.junk, 730 732 #messagelist tr td.status span.status, 731 733 #messagelist tr td.status span.msgicon, 732 734 #messagelist tr td.status span.deleted, … … 760 762 background-position: 0 -153px; 761 763 } 762 764 765 #messagelist tr td.junk span.junk 766 { 767 background-position: 0 -289px; 768 } 769 763 770 #messagelist tr td.flag span.unflagged:hover 764 771 { 765 772 background-position: 0 -136px; … … 850 857 #messagelist tr td.attachment, 851 858 #messagelist tr td.threads, 852 859 #messagelist tr td.status, 853 #messagelist tr td.flag 860 #messagelist tr td.flag, 861 #messagelist tr td.junk 854 862 { 855 863 width: 17px; 856 864 padding: 0 0 0 2px; -
roundcubemail/skins/default/templates/mail.html
192 192 <li><input type="checkbox" name="list_col[]" value="status" id="cols_status" /><label for="cols_status"><roundcube:label name="readstatus" /></label></li> 193 193 <li><input type="checkbox" name="list_col[]" value="attachment" id="cols_attachment" /><label for="cols_attachment"><roundcube:label name="attachment" /></label></li> 194 194 <li><input type="checkbox" name="list_col[]" value="flag" id="cols_flag" /><label for="cols_flag"><roundcube:label name="flag" /></label></li> 195 <li><input type="checkbox" name="list_col[]" value="junk" id="cols_junk" /><label for="cols_junk"><roundcube:label name="junk" /></label></li> 195 196 </ul> 196 197 </fieldset> 197 198 <roundcube:endif />
