diff options
author | alecpl <alec@alec.pl> | 2009-07-31 09:07:54 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-07-31 09:07:54 +0000 |
commit | e54bb72d30cfd88fcef5434b472fb3d9b2cca710 (patch) | |
tree | 7497dc73313ac3d17ea6c00795731b9a7b212a93 /program/steps/mail/show.inc | |
parent | 330ef6ca44df4111d6f6b33ba0684e865ba8c30e (diff) |
- Added 'display_next' option
Diffstat (limited to 'program/steps/mail/show.inc')
-rw-r--r-- | program/steps/mail/show.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/program/steps/mail/show.inc b/program/steps/mail/show.inc index 068ccbcd7..88961e9aa 100644 --- a/program/steps/mail/show.inc +++ b/program/steps/mail/show.inc @@ -78,7 +78,7 @@ if ($_GET['_uid']) { $OUTPUT->set_env('trash_mailbox', $CONFIG['trash_mbox']); if (!$OUTPUT->ajax_call) $OUTPUT->add_label('checkingmail', 'deletemessage', 'movemessagetotrash', 'movingmessage'); - + // check for unset disposition notification if ($MESSAGE->headers->mdn_to && !$MESSAGE->headers->mdn_sent && !$MESSAGE->headers->seen && @@ -143,6 +143,9 @@ if ($_GET['_uid']) { $OUTPUT->set_env('last_uid', $last); } + if ($CONFIG['display_next']) + $OUTPUT->set_env('display_next', true); + if (!$MESSAGE->headers->seen) $RCMAIL->plugins->exec_hook('message_read', array('uid' => $MESSAGE->uid, 'mailbox' => $IMAP->mailbox, 'message' => $MESSAGE)); |