Add a preference to not send notifications to task modifier. If the task is added...
authorJoel Smith <js-horde@jk1.net>
Mon, 19 Apr 2010 18:26:34 +0000 (12:26 -0600)
committerJan Schneider <jan@horde.org>
Tue, 20 Apr 2010 08:30:12 +0000 (10:30 +0200)
Signed-off-by: Jan Schneider <jan@horde.org>
nag/config/prefs.php.dist

index 36bfb07..e572716 100644 (file)
@@ -37,7 +37,7 @@ $prefGroups['notification'] = array(
     'column' => _("Task List and Share Options"),
     'label' => _("Notifications"),
     'desc' => _("Choose if you want to be notified of task changes and task alarms."),
-    'members' => array('task_notification', 'task_alarms_select'),
+    'members' => array('task_notification', 'task_notification_exclude_self', 'task_alarms_select'),
 );
 
 $prefGroups['external'] = array(
@@ -154,6 +154,14 @@ $_prefs['task_notification'] = array(
     'desc' => _("Choose if you want to be notified of new, edited, and deleted tasks by email:"),
 );
 
+$_prefs['task_notification_exclude_self'] = array(
+    'value' => 0,
+    'locked' => false,
+    'shared' => false,
+    'type' => 'checkbox',
+    'desc' => _("Don't send me a notification if I've added, changed or deleted the task?")
+);
+
 // alarm methods
 $_prefs['task_alarms_select'] = array(
     'type' => 'special'