From 0b2ce91f25aed4c174c437e679155d30bd0387bf Mon Sep 17 00:00:00 2001 From: alecpl Date: Fri, 5 Jun 2009 16:13:24 +0000 Subject: - Reviewed/fixed skip_deleted/read_when_deleted/flag_for_deletion options handling in UI --- program/steps/mail/func.inc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'program/steps/mail/func.inc') diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 9b8398ecd..154fd7e1e 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -89,6 +89,13 @@ if (empty($RCMAIL->action) || $RCMAIL->action == 'list') $OUTPUT->set_env('quota', $IMAP->get_capability('quota')); $OUTPUT->set_env('delimiter', $IMAP->get_hierarchy_delimiter()); + if ($CONFIG['flag_for_deletion']) + $OUTPUT->set_env('flag_for_deletion', true); + if ($CONFIG['read_when_deleted']) + $OUTPUT->set_env('read_when_deleted', true); + if ($CONFIG['skip_deleted']) + $OUTPUT->set_env('skip_deleted', true); + if ($CONFIG['trash_mbox']) $OUTPUT->set_env('trash_mailbox', $CONFIG['trash_mbox']); if ($CONFIG['drafts_mbox']) -- cgit v1.2.3