Code

System management
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 4 Mar 2008 12:51:39 +0000 (12:51 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 4 Mar 2008 12:51:39 +0000 (12:51 +0000)
-Updated list of displayed events

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9309 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/systems/admin/systems/class_divListSystem.inc

index 7e44575d2e56f7c783281469959035d32c318950..37a0893b1af0f23bd69b370f6a9807bb9e3bedb9 100644 (file)
@@ -223,15 +223,13 @@ class divListSystem extends MultiSelectWindow
 
     $s.= "..|<img src='images/rocket.png' alt='' border='0' class='center'>".
       "&nbsp;"._("Trigger action")."|\n";
-    foreach($events['BY_TRIGGERED_ACTION'] as $event){
-      $name = $event['CLASS_NAME'];
+    foreach($events['TRIGGERED'] as $name => $event){
       $s.= "...|".$event['MenuImage']."&nbsp;".$event['s_Menu_Name']."|trigger_event_".$name."\n";
     }
 
     $s.= "..|<img src='images/clock.png' alt='' border='0' class='center'>".
       "&nbsp;"._("Schedule action")."|\n";
-    foreach($events['BY_SCHEDULED_ACTION'] as $name =>  $event){
-      $name = $event['CLASS_NAME'];
+    foreach($events['SCHEDULED'] as $name =>  $event){
       $s.= "...|".$event['MenuImage']."&nbsp;".$event['s_Menu_Name']."|schedule_event_".$name."\n";
     }