From: hickert Date: Tue, 4 Mar 2008 09:20:08 +0000 (+0000) Subject: Updated event handling. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fa4f4baf4f7b4c45e6bfcf01f0bd3b39c4667cd5;p=gosa.git Updated event handling. -Event are now only visible for a specific type. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9290 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/admin/groups/class_divListGroup.inc b/gosa-core/plugins/admin/groups/class_divListGroup.inc index e45f28ab4..ab32f37de 100644 --- a/gosa-core/plugins/admin/groups/class_divListGroup.inc +++ b/gosa-core/plugins/admin/groups/class_divListGroup.inc @@ -194,7 +194,7 @@ class divListGroup extends MultiSelectWindow /* Add event tag */ if(class_available("DaemonEvent_notify")){ - $events = DaemonEvent::get_event_types(); + $events = DaemonEvent::get_event_types( USER_EVENT); $event = $events['BY_CLASS']['DaemonEvent_notify']; $s.= "..|---|\n"; $s.= "..|".$event['MenuImage']." ".$event['s_Menu_Name']."|trigger_event_DaemonEvent_notify\n"; diff --git a/gosa-core/plugins/admin/ogroups/class_divListOGroup.inc b/gosa-core/plugins/admin/ogroups/class_divListOGroup.inc index 7e8ee5b40..d57e83166 100644 --- a/gosa-core/plugins/admin/ogroups/class_divListOGroup.inc +++ b/gosa-core/plugins/admin/ogroups/class_divListOGroup.inc @@ -206,7 +206,7 @@ class divListOGroup extends MultiSelectWindow /* Add notification event */ if(class_available("DaemonEvent_notify")){ - $events = DaemonEvent::get_event_types(); + $events = DaemonEvent::get_event_types(USER_EVENT); $event = $events['BY_CLASS']['DaemonEvent_notify']; $s.= "..|---|\n"; $s.= "..|".$event['MenuImage']." ".$event['s_Menu_Name']."|trigger_event_DaemonEvent_notify\n"; diff --git a/gosa-core/plugins/admin/users/class_divListUsers.inc b/gosa-core/plugins/admin/users/class_divListUsers.inc index 53f13ee28..ac41162b4 100644 --- a/gosa-core/plugins/admin/users/class_divListUsers.inc +++ b/gosa-core/plugins/admin/users/class_divListUsers.inc @@ -188,7 +188,7 @@ class divListUsers extends MultiSelectWindow " "._("Remove")."|"."remove_multiple|\n"; if(class_available("DaemonEvent_notify")){ - $events = DaemonEvent::get_event_types(); + $events = DaemonEvent::get_event_types(USER_EVENT); $event = $events['BY_CLASS']['DaemonEvent_notify']; $s.= "..|---|\n"; $s.= "..|".$event['MenuImage']." ".$event['s_Menu_Name']."|trigger_event_DaemonEvent_notify\n";