Code

* Modify action naming
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 29 Oct 2008 09:27:55 +0000 (09:27 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 29 Oct 2008 09:27:55 +0000 (09:27 +0000)
* Send reboot instead of localboot

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@12800 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/ogroups/goto/class_termgroup.inc

index fe937fa33a7c07c94706f4826f9c18a50cc6c350..2a9756ef982bc2004504ded27ea4a24980029be8 100644 (file)
@@ -15,14 +15,14 @@ class termgroup extends plugin
   var $orig_dn            = "";
   var $didAction          = FALSE;
   var $mapActions   = array("halt"            => "halt",
-                            "reboot"          => "localboot",
+                            "reboot"          => "reboot",
                             "update"          => "update",
                             "reinstall"       => "reinstall",
                             "rescan"          => "rescan",
                             "wake"            => "wakeup",
-                          # These are currently not supported by the tftp daemon
-                           # "memcheck"        => "memcheck",
-                           # "sysinfo"         => "sysinfo"
+                                             # These are currently not supported by the tftp daemon
+                            # "memcheck"      => "memcheck",
+                            # "sysinfo"       => "sysinfo"
                           );
 
   var $attributes     = array("gotoMode","gotoSyslogServer", "gotoNtpServer");
@@ -220,13 +220,13 @@ class termgroup extends plugin
     }
 
     $smarty->assign("actions", array("halt" => _("Switch off"), "reboot" => _("Reboot"),
-          "instant_update" => _("Instant update"),
-          "update" => _("Scheduled update"),
+          "update" => _("Software update"),
           "wake" => _("Wake"),
           "reinstall" => _("Reinstall"),
           "rescan" => _("Rescan hardware"),
-          "memcheck" => _("Memory test"),
-          "sysinfo"  => _("System analysis")));
+          #"memcheck" => _("Memory test"),
+          #"sysinfo"  => _("System analysis")
+          ));
 
     $smarty->assign("inheritTimeServer",$this->inheritTimeServer);
     $smarty->assign("modes", $this->modes);