diff options
author | Aleksander Machniak <alec@alec.pl> | 2012-05-25 13:45:38 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-05-25 13:49:48 +0200 |
commit | 524ead187ac560e2b199bef18b89e46e03b86242 (patch) | |
tree | 0794ec46702703cfb186e0524ddf83e593ec24d1 /program/steps/settings/func.inc | |
parent | c993e10d07d76ef7f24b45bc9e7c1c1115c85980 (diff) |
Move messages forwarding mode setting into Preferences
Conflicts:
CHANGELOG
Diffstat (limited to 'program/steps/settings/func.inc')
-rw-r--r-- | program/steps/settings/func.inc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc index 48d1d5a0b..794335958 100644 --- a/program/steps/settings/func.inc +++ b/program/steps/settings/func.inc @@ -617,6 +617,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(); |