diff options
author | alecpl <alec@alec.pl> | 2009-06-05 16:13:24 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-06-05 16:13:24 +0000 |
commit | 0b2ce91f25aed4c174c437e679155d30bd0387bf (patch) | |
tree | 4160c737d4eb52901381292ab05a1a8cb436eea3 /program/steps/mail/func.inc | |
parent | cf7f222870eac0e3cb84c43ea2c7ee8b9ce206ca (diff) |
- Reviewed/fixed skip_deleted/read_when_deleted/flag_for_deletion options handling in UI
Diffstat (limited to 'program/steps/mail/func.inc')
-rw-r--r-- | program/steps/mail/func.inc | 7 |
1 files changed, 7 insertions, 0 deletions
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']) |