diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-10-03 13:09:25 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-10-03 13:09:25 +0000 |
| commit | 033bbc051068e9e1bb363d22d2dc8a64307c84b6 (patch) | |
| tree | 1b09b6b0638d99a01671ab3b27bdf94bc06f3422 /roundcubemail/program/steps/settings/func.inc | |
| parent | 480bcbc64f43225f887af52b1d32ae9dddfd7214 (diff) | |
- Add 'skip_deleted' option in User Preferences (#1485445)
git-svn-id: https://svn.roundcube.net/trunk@1931 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/settings/func.inc')
| -rw-r--r-- | roundcubemail/program/steps/settings/func.inc | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/roundcubemail/program/steps/settings/func.inc b/roundcubemail/program/steps/settings/func.inc index 04079e16f..e98ce1b47 100644 --- a/roundcubemail/program/steps/settings/func.inc +++ b/roundcubemail/program/steps/settings/func.inc @@ -285,7 +285,16 @@ function rcmail_user_prefs_form($attrib) $table->add('title', html::label($field_id, Q(rcube_label('flagfordeletion')))); $table->add(null, $input_flagfordeletion->show($config['flag_for_deletion']?1:0)); } - + + // don't show deleted messages + if (!isset($no_override['skip_deleted'])) { + $field_id = 'rcmfd_skip_deleted'; + $input_purge = new html_checkbox(array('name' => '_skip_deleted', 'id' => $field_id, 'value' => 1)); + + $table->add('title', html::label($field_id, Q(rcube_label('skipdeleted')))); + $table->add(null, $input_purge->show($config['skip_deleted']?1:0)); + } + // Trash purging on logout if (!isset($no_override['logout_purge'])) { $field_id = 'rcmfd_logout_purge'; @@ -294,7 +303,7 @@ function rcmail_user_prefs_form($attrib) $table->add('title', html::label($field_id, Q(rcube_label('logoutclear')))); $table->add(null, $input_purge->show($config['logout_purge']?1:0)); } - + // INBOX compacting on logout if (!isset($no_override['logout_expunge'])) { $field_id = 'rcmfd_logout_expunge'; |
