diff options
author | alecpl <alec@alec.pl> | 2010-03-05 12:05:05 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-03-05 12:05:05 +0000 |
commit | e55ab02682caf150359e1d1642022b565e9e65f9 (patch) | |
tree | 1ae28df0c7115957acabc94b163254c4b3bdc704 /program/steps/settings/func.inc | |
parent | b7f952248e47c126406044ab26829133d3184429 (diff) |
- Add 'default_charset' option to user preferences (#1485451)
Diffstat (limited to 'program/steps/settings/func.inc')
-rw-r--r-- | program/steps/settings/func.inc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc index 91e1e3fd5..44225c715 100644 --- a/program/steps/settings/func.inc +++ b/program/steps/settings/func.inc @@ -368,6 +368,17 @@ function rcmail_user_prefs($current=null) ); } + if (!isset($no_override['default_charset'])) { + $field_id = 'rcmfd_default_charset'; + + $blocks['main']['options']['default_charset'] = array( + 'title' => html::label($field_id, Q(rcube_label('defaultcharset'))), + 'content' => $RCMAIL->output->charset_selector(array( + 'name' => '_default_charset', 'selected' => $config['default_charset'] + )) + ); + } + if (!isset($no_override['show_images'])) { $field_id = 'rcmfd_show_images'; $input_show_images = new html_select(array('name' => '_show_images', 'id' => $field_id)); |