diff options
author | alecpl <alec@alec.pl> | 2011-09-21 07:18:26 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-09-21 07:18:26 +0000 |
commit | 4b21d26879648db39445819456bcf8c630a653e8 (patch) | |
tree | ded80952a6aa5579c15e2f9b18d5e9b127aafe5d /program/steps | |
parent | f3ec778c65a86ebd0f440d2cf1e8cba96f52370b (diff) |
- Add Priority filter to the messages list
Diffstat (limited to 'program/steps')
-rw-r--r-- | program/steps/mail/func.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index cbcc71afa..57ad9c7c3 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -1545,6 +1545,11 @@ function rcmail_search_filter($attrib) $select_filter->add(rcube_label('unanswered'), 'UNANSWERED'); if (!$CONFIG['skip_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']); |