summaryrefslogtreecommitdiff
path: root/program/steps/settings/func.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-05-19 08:09:38 +0000
committeralecpl <alec@alec.pl>2008-05-19 08:09:38 +0000
commit3044ae271e492412398ca4bd395329012dc14fe7 (patch)
tree8613a3fcf1c73ea630b81bd243d5de8667fbc460 /program/steps/settings/func.inc
parent1931cab4be346a0679052c9f0ab2dba241dd9915 (diff)
-added flag_for_deletion in user prefs
Diffstat (limited to 'program/steps/settings/func.inc')
-rw-r--r--program/steps/settings/func.inc10
1 files changed, 10 insertions, 0 deletions
diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc
index a3dd758dd..18ec36f2f 100644
--- a/program/steps/settings/func.inc
+++ b/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']))
{