- Add Priority filter to the messages list

release-0.7
alecpl 13 years ago
parent f3ec778c65
commit 4b21d26879

@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail CHANGELOG Roundcube Webmail
=========================== ===========================
- Add Priority filter to the messages list
- Cache synchronization using QRESYNC/CONDSTORE - Cache synchronization using QRESYNC/CONDSTORE
- Fix locked folder rename option on servers supporting RFC2086 only (#1488089) - Fix locked folder rename option on servers supporting RFC2086 only (#1488089)
- Trigger 'new_messages' hook for all checked folders (#1488083) - Trigger 'new_messages' hook for all checked folders (#1488083)

@ -1545,6 +1545,11 @@ function rcmail_search_filter($attrib)
$select_filter->add(rcube_label('unanswered'), 'UNANSWERED'); $select_filter->add(rcube_label('unanswered'), 'UNANSWERED');
if (!$CONFIG['skip_deleted']) if (!$CONFIG['skip_deleted'])
$select_filter->add(rcube_label('deleted'), 'DELETED'); $select_filter->add(rcube_label('deleted'), 'DELETED');
$select_filter->add(rcube_label('priority').': '.rcube_label('highest'), 'HEADER X-PRIORITY 1');
$select_filter->add(rcube_label('priority').': '.rcube_label('high'), 'HEADER X-PRIORITY 2');
$select_filter->add(rcube_label('priority').': '.rcube_label('normal'), 'NOT HEADER X-PRIORITY 1 NOT HEADER X-PRIORITY 2 NOT HEADER X-PRIORITY 4 NOT HEADER X-PRIORITY 5');
$select_filter->add(rcube_label('priority').': '.rcube_label('low'), 'HEADER X-PRIORITY 4');
$select_filter->add(rcube_label('priority').': '.rcube_label('lowest'), 'HEADER X-PRIORITY 5');
$out = $select_filter->show($_SESSION['search_filter']); $out = $select_filter->show($_SESSION['search_filter']);

Loading…
Cancel
Save