summaryrefslogtreecommitdiff
path: root/program/steps/mail/show.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-05-16 13:53:08 +0000
committeralecpl <alec@alec.pl>2011-05-16 13:53:08 +0000
commita509bb677ca626315d71e07afc8342a0690b6859 (patch)
treee55d28844812e713157aeeab2ed378adebd2ab05 /program/steps/mail/show.inc
parent9b6c82fdc8e0f74a1ca0f838e710c944c5526f65 (diff)
- Add option to set default action of Forward button to "Forward as attachment"
Diffstat (limited to 'program/steps/mail/show.inc')
-rw-r--r--program/steps/mail/show.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/program/steps/mail/show.inc b/program/steps/mail/show.inc
index 1d7a32693..8c063e8ea 100644
--- a/program/steps/mail/show.inc
+++ b/program/steps/mail/show.inc
@@ -64,6 +64,8 @@ if ($uid = get_input_value('_uid', RCUBE_INPUT_GET)) {
$OUTPUT->set_env('display_next', true);
if ($MESSAGE->headers->others['list-post'])
$OUTPUT->set_env('list_post', true);
+ if ($CONFIG['forward_attachment'])
+ $OUTPUT->set_env('forward_attachment', true);
if (!$OUTPUT->ajax_call)
$OUTPUT->add_label('checkingmail', 'deletemessage', 'movemessagetotrash',