diff options
author | alecpl <alec@alec.pl> | 2009-06-05 16:24:10 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-06-05 16:24:10 +0000 |
commit | 119cd17abf74bd98afec2979c4ac4a89af1f0ca7 (patch) | |
tree | 71afa837b170317e63881571533c6f1a81f5db81 /program/steps/mail | |
parent | 0b2ce91f25aed4c174c437e679155d30bd0387bf (diff) |
- add 'Deleted' to search filter
Diffstat (limited to 'program/steps/mail')
-rw-r--r-- | program/steps/mail/func.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 154fd7e1e..d5f3a6875 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -1446,7 +1446,7 @@ function rcmail_send_mdn($uid) function rcmail_search_filter($attrib) { - global $OUTPUT; + global $OUTPUT, $CONFIG; if (!strlen($attrib['id'])) $attrib['id'] = 'rcmlistfilter'; @@ -1466,6 +1466,8 @@ function rcmail_search_filter($attrib) $select_filter->add(rcube_label('unread'), 'UNSEEN'); $select_filter->add(rcube_label('flagged'), 'FLAGGED'); $select_filter->add(rcube_label('unanswered'), 'UNANSWERED'); + if (!$CONFIG['skip_deleted']) + $select_filter->add(rcube_label('deleted'), 'DELETED'); $out = $select_filter->show($_SESSION['search_filter']); |