From: Joel Smith Date: Mon, 19 Apr 2010 18:26:34 +0000 (-0600) Subject: Add a preference to not send notifications to task modifier. If the task is added... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=eacd568c95ff41ceb5d9d23ee3d2bbe8f11cf379;p=horde.git Add a preference to not send notifications to task modifier. If the task is added/updated/deleted by the user, this pref prevents the user from getting notified of his/her own changes. (Addresses Request #8978) Signed-off-by: Jan Schneider --- diff --git a/nag/config/prefs.php.dist b/nag/config/prefs.php.dist index 36bfb0710..e57271689 100644 --- a/nag/config/prefs.php.dist +++ b/nag/config/prefs.php.dist @@ -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'