diff options
author | alecpl <alec@alec.pl> | 2010-03-02 13:08:12 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-03-02 13:08:12 +0000 |
commit | 47ad83f337c9eeb4bc53afb85a71cf90a8a34106 (patch) | |
tree | be27fe9e46d89f7035ce59359a84ede526c1ce9a /program/steps/settings/func.inc | |
parent | d5ffb58726237d81f167c7460ce4eabb4b768c51 (diff) |
- Added force_7bit option to force MIME encoding of plain/text messages (#1486510)
Diffstat (limited to 'program/steps/settings/func.inc')
-rw-r--r-- | program/steps/settings/func.inc | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc index 094fa5995..7d59e73f1 100644 --- a/program/steps/settings/func.inc +++ b/program/steps/settings/func.inc @@ -449,7 +449,17 @@ function rcmail_user_prefs($current=null) 'content' => $select_param_folding->show($config['mime_param_folding']), ); } - + + if (!isset($no_override['force_7bit'])) { + $field_id = 'rcmfd_force_7bit'; + $input_7bit = new html_checkbox(array('name' => '_force_7bit', 'id' => $field_id, 'value' => 1)); + + $blocks['main']['options']['force_7bit'] = array( + 'title' => html::label($field_id, Q(rcube_label('force7bit'))), + 'content' => $input_7bit->show($config['force_7bit']?1:0), + ); + } + if (!isset($no_override['top_posting'])) { $field_id = 'rcmfd_top_posting'; $select_replymode = new html_select(array('name' => '_top_posting', 'id' => $field_id, 'onchange' => "\$('#rcmfd_sig_above').attr('disabled',this.selectedIndex==0)")); |