summaryrefslogtreecommitdiff
path: root/program/steps/settings/func.inc
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-05-25 13:45:38 +0200
committerAleksander Machniak <alec@alec.pl>2012-05-25 13:45:38 +0200
commitc0839699bb15902fcfef844c71f0f2d77ed3ff1c (patch)
treed6444abe5480d4ed1bcfb1addffaef20b26180b4 /program/steps/settings/func.inc
parent79742f039921a5b78d39f70cae7f61dbe6e8cda3 (diff)
Move messages forwarding mode setting into Preferences
Diffstat (limited to 'program/steps/settings/func.inc')
-rw-r--r--program/steps/settings/func.inc12
1 files changed, 12 insertions, 0 deletions
diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc
index 5b9ad2601..2c2d17f21 100644
--- a/program/steps/settings/func.inc
+++ b/program/steps/settings/func.inc
@@ -614,6 +614,18 @@ function rcmail_user_prefs($current=null)
);
}
+ if (!isset($no_override['forward_attachment'])) {
+ $field_id = 'rcmfd_forward_attachment';
+ $select = new html_select(array('name' => '_forward_attachment', 'id' => $field_id));
+ $select->add(rcube_label('inline'), 0);
+ $select->add(rcube_label('asattachment'), 1);
+
+ $blocks['main']['options']['forward_attachment'] = array(
+ 'title' => html::label($field_id, Q(rcube_label('forwardmode'))),
+ 'content' => $select->show(intval($config['forward_attachment'])),
+ );
+ }
+
if (!isset($no_override['default_font'])) {
$field_id = 'rcmfd_default_font';
$fonts = rcube_fontdefs();