From a509bb677ca626315d71e07afc8342a0690b6859 Mon Sep 17 00:00:00 2001 From: alecpl Date: Mon, 16 May 2011 13:53:08 +0000 Subject: - Add option to set default action of Forward button to "Forward as attachment" --- program/steps/mail/show.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'program/steps/mail/show.inc') 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', -- cgit v1.2.3