From: cajus Date: Thu, 21 Feb 2008 15:38:11 +0000 (+0000) Subject: Added stubs for menu X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4cec6462ae8c0e64b6c51d4edc447140298238e5;p=gosa.git Added stubs for menu git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9035 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/systems/admin/systems/class_divListSystem.inc b/gosa-plugins/systems/admin/systems/class_divListSystem.inc index 61871b7a9..dc5467a98 100644 --- a/gosa-plugins/systems/admin/systems/class_divListSystem.inc +++ b/gosa-plugins/systems/admin/systems/class_divListSystem.inc @@ -182,7 +182,7 @@ class divListSystem extends MultiSelectWindow $s.= "...|". " "._("Workstation")."|"."newsystem_workstation|\n"; } - if(preg_match("/c/",$ui->get_permissions($this->selectedBase,"workstation/workgeneric"))){ + if(preg_match("/c/",$ui->get_permissions($this->selectedBase,"workstation/servgeneric"))){ $s.= "...|". " "._("Server")."|"."newsystem_server|\n"; } @@ -198,6 +198,23 @@ class divListSystem extends MultiSelectWindow $s.= "...|". " "._("Component")."|"."newsystem_component|\n"; } + + # Actions + $s.= "..|". + " "._("Trigger action")."|\n"; + $s.= "...|"." "._("Halt")."|"."halt_multiple|\n"; + $s.= "...|"." "._("Reboot")."|"."reboot_multiple|\n"; + $s.= "...|"." "._("Re-install")."|"."reinstall_multiple|\n"; + $s.= "...|"." "._("Softupdate")."|"."update_multiple|\n"; + $s.= "...|"." "._("Wake up")."|"."wake_multiple|\n"; + $s.= "..|". + " "._("Schedule action")."|\n"; + $s.= "...|"." "._("Halt")."|"."schedule_halt_multiple|\n"; + $s.= "...|"." "._("Reboot")."|"."schedule_reboot_multiple|\n"; + $s.= "...|"." "._("Re-install")."|"."schedule_reinstall_multiple|\n"; + $s.= "...|"." "._("Softupdate")."|"."schedule_update_multiple|\n"; + $s.= "...|"." "._("Wake up")."|"."schedule_wake_multiple|\n"; + $s.= "..|". " "._("Remove")."|"."remove_multiple|\n";