From: cajus Date: Thu, 29 Mar 2007 10:09:26 +0000 (+0000) Subject: Added "Force localboot" X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1371f9fb0b601838eda78e6daa92d672647294a6;p=gosa.git Added "Force localboot" git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5927 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_servGeneric.inc b/plugins/admin/systems/class_servGeneric.inc index 27c454131..be0ae77af 100644 --- a/plugins/admin/systems/class_servGeneric.inc +++ b/plugins/admin/systems/class_servGeneric.inc @@ -30,6 +30,7 @@ class servgeneric extends plugin var $ui ; var $mapActions = array("reboot" => "", "instant_update" => "softupdate", + "localboot" => "localboot", "update" => "sceduledupdate", "reinstall" => "install", "rescan" => "", @@ -203,12 +204,14 @@ class servgeneric extends plugin "reinstall" => _("Reinstall"), "rescan" => _("Rescan hardware"), "memcheck" => _("Memory test"), + "localboot" => _("Force localboot"), "sysinfo" => _("System analysis"))); } else { $smarty->assign("actions", array("wake" => _("Wake up"), "reinstall" => _("Reinstall"), "update" => _("Scheduled update"), "memcheck" => _("Memory test"), + "localboot" => _("Force localboot"), "sysinfo" => _("System analysis"))); } diff --git a/plugins/admin/systems/class_workstationGeneric.inc b/plugins/admin/systems/class_workstationGeneric.inc index 36c9d3eb3..f26f4a445 100644 --- a/plugins/admin/systems/class_workstationGeneric.inc +++ b/plugins/admin/systems/class_workstationGeneric.inc @@ -51,6 +51,7 @@ class workgeneric extends plugin var $objectclasses= array("top", "gotoWorkstation", "GOhard"); var $mapActions = array("reboot" => "localboot", + "localboot" => "localboot", "instant_update" => "softupdate", "update" => "sceduledupdate", "reinstall" => "install", @@ -287,12 +288,14 @@ class workgeneric extends plugin "reinstall" => _("Reinstall"), "rescan" => _("Rescan hardware"), "memcheck" => _("Memory test"), + "localboot" => _("Force localboot"), "sysinfo" => _("System analysis"))); } else { $smarty->assign("actions", array("wake" => _("Wake up"), "reinstall" => _("Reinstall"), "update" => _("Scheduled update"), "memcheck" => _("Memory test"), + "localboot" => _("Force localboot"), "sysinfo" => _("System analysis"))); } /* Arrays */