Code

Added mapping for "halt" to "localboot"
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 10 May 2007 15:24:14 +0000 (15:24 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 10 May 2007 15:24:14 +0000 (15:24 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6354 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_workstationGeneric.inc

index be1101998d1a9356fd6a691cf6986343d3577064..809244b8366cdcbfb48656ac8f676d5a1566bc24 100644 (file)
@@ -47,6 +47,7 @@ class workgeneric extends plugin
 
   var $mapActions   = array("reboot"          => "localboot",
                             "localboot"       => "localboot",
+                            "halt"            => "localboot",
                             "instant_update"  => "softupdate",
                             "update"          => "scheduledupdate",
                             "reinstall"       => "install",
@@ -256,7 +257,7 @@ class workgeneric extends plugin
                                        "localboot" => _("Force localboot"),
                                        "sysinfo"  => _("System analysis")));
     } else {
-      $smarty->assign("actions", array("wake" => _("Wake up"),
+      $smarty->assign("actions", array("halt" => _("Switch off"), "reboot" => _("Reboot"),
                                        "reinstall" => _("Reinstall"),
                                        "update" => _("Scheduled update"),
                                        "memcheck" => _("Memory test"),