|
|
|
@ -106,6 +106,7 @@ if (empty($RCMAIL->action) || $RCMAIL->action == 'list') {
|
|
|
|
|
$OUTPUT->set_env('delimiter', $IMAP->get_hierarchy_delimiter());
|
|
|
|
|
$OUTPUT->set_env('threading', (bool) $IMAP->threading);
|
|
|
|
|
$OUTPUT->set_env('threads', $IMAP->threading || $IMAP->get_capability('THREAD'));
|
|
|
|
|
$OUTPUT->set_env('preview_pane_mark_read', $RCMAIL->config->get('preview_pane_mark_read', 0));
|
|
|
|
|
|
|
|
|
|
if ($CONFIG['flag_for_deletion'])
|
|
|
|
|
$OUTPUT->set_env('flag_for_deletion', true);
|
|
|
|
@ -115,9 +116,8 @@ if (empty($RCMAIL->action) || $RCMAIL->action == 'list') {
|
|
|
|
|
$OUTPUT->set_env('skip_deleted', true);
|
|
|
|
|
if ($CONFIG['display_next'])
|
|
|
|
|
$OUTPUT->set_env('display_next', true);
|
|
|
|
|
|
|
|
|
|
$OUTPUT->set_env('preview_pane_mark_read', $RCMAIL->config->get('preview_pane_mark_read', 0));
|
|
|
|
|
|
|
|
|
|
if ($CONFIG['forward_attachment'])
|
|
|
|
|
$OUTPUT->set_env('forward_attachment', true);
|
|
|
|
|
if ($CONFIG['trash_mbox'])
|
|
|
|
|
$OUTPUT->set_env('trash_mailbox', $CONFIG['trash_mbox']);
|
|
|
|
|
if ($CONFIG['drafts_mbox'])
|
|
|
|
|