diff options
author | alecpl <alec@alec.pl> | 2010-03-05 10:18:01 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-03-05 10:18:01 +0000 |
commit | b7f952248e47c126406044ab26829133d3184429 (patch) | |
tree | 346c57c287a35714760eaa480267b44b305c736d /program/steps/settings/func.inc | |
parent | 9adef683e380a78a323492b01aab8e72afe1c49e (diff) |
- Add 'delete_always' option to user preferences
Diffstat (limited to 'program/steps/settings/func.inc')
-rw-r--r-- | program/steps/settings/func.inc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc index 7d59e73f1..91e1e3fd5 100644 --- a/program/steps/settings/func.inc +++ b/program/steps/settings/func.inc @@ -589,6 +589,16 @@ function rcmail_user_prefs($current=null) ); } + if (!isset($no_override['delete_always'])) { + $field_id = 'rcmfd_delete_always'; + $input_delete_always = new html_checkbox(array('name' => '_delete_always', 'id' => $field_id, 'value' => 1)); + + $blocks['main']['options']['delete_always'] = array( + 'title' => html::label($field_id, Q(rcube_label('deletealways'))), + 'content' => $input_delete_always->show($config['delete_always']?1:0), + ); + } + // Trash purging on logout if (!isset($no_override['logout_purge'])) { $field_id = 'rcmfd_logout_purge'; |