From 3044ae271e492412398ca4bd395329012dc14fe7 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Mon, 19 May 2008 04:09:38 -0400
Subject: [PATCH] -added flag_for_deletion in user prefs

---
 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 a3dd758..18ec36f 100644
--- a/program/steps/settings/func.inc
+++ b/program/steps/settings/func.inc
@@ -225,6 +225,16 @@
                     $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']))
     {

--
Gitblit v1.9.1