diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-05-19 08:09:38 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-05-19 08:09:38 +0000 |
| commit | 02cf16253583b4a87f4b7f73bae39d19a073507e (patch) | |
| tree | c6d3c795cff443b5cb9476d25113e02d4f808254 /roundcubemail/program/steps/settings/func.inc | |
| parent | 3499d5da62888af7707be334518db920af41a07e (diff) | |
-added flag_for_deletion in user prefs
git-svn-id: https://svn.roundcube.net/trunk@1403 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/settings/func.inc')
| -rw-r--r-- | roundcubemail/program/steps/settings/func.inc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/roundcubemail/program/steps/settings/func.inc b/roundcubemail/program/steps/settings/func.inc index a3dd758dd..18ec36f2f 100644 --- a/roundcubemail/program/steps/settings/func.inc +++ b/roundcubemail/program/steps/settings/func.inc @@ -225,6 +225,16 @@ function rcmail_user_prefs_form($attrib) $input_readdeleted->show($config['read_when_deleted']?1:0)); } + if (!isset($no_override['flag_for_deletion'])) + { + $field_id = 'rcmfd_flag_for_deletion'; + $input_flagfordeletion = new html_checkbox(array('name' => '_flag_for_deletion', 'id' => $field_id, 'value' => 1)); + $out .= sprintf("<tr><td class=\"title\"><label for=\"%s\">%s</label></td><td>%s</td></tr>\n", + $field_id, + Q(rcube_label('flagfordeletion')), + $input_flagfordeletion->show($config['flag_for_deletion']?1:0)); + } + // Trash purging on logout if (!isset($no_override['logout_purge'])) { |
