diff options
author | David Carter <dpc22@cam.ac.uk> | 2013-05-29 09:31:42 +0100 |
---|---|---|
committer | David Carter <dpc22@cam.ac.uk> | 2013-05-29 09:31:42 +0100 |
commit | 149f8a00cc51c87fef3afe2fbb51822a3582c583 (patch) | |
tree | 90ea2d4694e06f7290a473bf276a45d4b25923cc /program/steps/settings | |
parent | 52deb18d9646116114f9649c87ffc4f0bc378db1 (diff) |
Change show_actual_foldernames to be show_real_foldernames.
Change requested by alec@alec.pl.
Diffstat (limited to 'program/steps/settings')
-rw-r--r-- | program/steps/settings/func.inc | 14 | ||||
-rw-r--r-- | program/steps/settings/save_prefs.inc | 4 |
2 files changed, 9 insertions, 9 deletions
diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc index 62857ac88..2cbfed16c 100644 --- a/program/steps/settings/func.inc +++ b/program/steps/settings/func.inc @@ -771,16 +771,16 @@ function rcmail_user_prefs($current=null) ); - if (!isset($no_override['show_actual_foldernames'])) { - $field_id = 'show_actual_foldernames'; - $input_show_actual_foldernames = - new html_checkbox(array('name' => '_show_actual_foldernames', + if (!isset($no_override['show_real_foldernames'])) { + $field_id = 'show_real_foldernames'; + $input_show_real_foldernames = + new html_checkbox(array('name' => '_show_real_foldernames', 'id' => $field_id, 'value' => 1)); - $blocks['main']['options']['show_actul_foldernames'] = array( + $blocks['main']['options']['show_real_foldernames'] = array( 'title' => html::label($field_id, - Q(rcube_label('show_actual_foldernames'))), - 'content' => $input_show_actual_foldernames->show($config['show_actual_foldernames']?1:0), + Q(rcube_label('show_real_foldernames'))), + 'content' => $input_show_real_foldernames->show($config['show_real_foldernames']?1:0), ); } // Configure special folders diff --git a/program/steps/settings/save_prefs.inc b/program/steps/settings/save_prefs.inc index b471489a5..caaf6466c 100644 --- a/program/steps/settings/save_prefs.inc +++ b/program/steps/settings/save_prefs.inc @@ -119,8 +119,8 @@ switch ($CURR_SECTION) case 'folders': $a_user_prefs = array( - 'show_actual_foldernames' => - isset($_POST['_show_actual_foldernames']) ? TRUE : FALSE, + 'show_real_foldernames' => + isset($_POST['_show_real_foldernames']) ? TRUE : FALSE, 'drafts_mbox' => get_input_value('_drafts_mbox', RCUBE_INPUT_POST, true), 'sent_mbox' => get_input_value('_sent_mbox', RCUBE_INPUT_POST, true), 'junk_mbox' => get_input_value('_junk_mbox', RCUBE_INPUT_POST, true), |