From 119cd17abf74bd98afec2979c4ac4a89af1f0ca7 Mon Sep 17 00:00:00 2001 From: alecpl Date: Fri, 5 Jun 2009 16:24:10 +0000 Subject: - add 'Deleted' to search filter --- program/steps/mail/func.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'program/steps') 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']); -- cgit v1.2.3