summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 98943db)
raw | patch | inline | side by side (parent: 98943db)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 4 Mar 2008 10:22:54 +0000 (10:22 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 4 Mar 2008 10:22:54 +0000 (10:22 +0000) |
-Only display trigger action that have a valid command, same for scheduled.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9302 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9302 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/systems/admin/systems/class_divListSystem.inc | patch | blob | history |
diff --git a/gosa-plugins/systems/admin/systems/class_divListSystem.inc b/gosa-plugins/systems/admin/systems/class_divListSystem.inc
index d99b291ea3c9e473a5842c834a5bae0e9b677d8c..7e44575d2e56f7c783281469959035d32c318950 100644 (file)
}
$events = DaemonEvent::get_event_types(SYSTEM_EVENT);
+
$s.= "..|<img src='images/rocket.png' alt='' border='0' class='center'>".
" "._("Trigger action")."|\n";
- foreach($events['BY_CLASS'] as $name => $event){
+ foreach($events['BY_TRIGGERED_ACTION'] as $event){
+ $name = $event['CLASS_NAME'];
$s.= "...|".$event['MenuImage']." ".$event['s_Menu_Name']."|trigger_event_".$name."\n";
}
$s.= "..|<img src='images/clock.png' alt='' border='0' class='center'>".
" "._("Schedule action")."|\n";
- foreach($events['BY_CLASS'] as $name => $event){
+ foreach($events['BY_SCHEDULED_ACTION'] as $name => $event){
+ $name = $event['CLASS_NAME'];
$s.= "...|".$event['MenuImage']." ".$event['s_Menu_Name']."|schedule_event_".$name."\n";
}