From: hickert Date: Wed, 28 Apr 2010 14:55:42 +0000 (+0000) Subject: Applied patch from psc - 16492 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=26cd90cf75a079acb94e575da1169198ccd9574d;p=gosa.git Applied patch from psc - 16492 - removed old and unused code fragments git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17915 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc index ed6d5d9d2..6d7e60f57 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc @@ -8,8 +8,6 @@ class workstartup extends plugin /* Generic terminal attributes */ # This is disabled as long there is no possiblilty to set these parameters - #var $bootmode = "G"; - var $bootmode = ""; var $gotoBootKernel = "default-inherited"; var $gotoKernelParameters = ""; var $gotoLdapServer = "default-inherited"; @@ -607,23 +605,6 @@ class workstartup extends plugin $smarty->assign("FAIScriptlist", $this->faiList->render()); - /* Radio button group */ - if (preg_match("/G/", $this->bootmode)) { - $smarty->assign("graphicalbootup", "checked"); - } else { - $smarty->assign("graphicalbootup", ""); - } - if (preg_match("/T/", $this->bootmode)) { - $smarty->assign("textbootup", "checked"); - } else { - $smarty->assign("textbootup", ""); - } - if (preg_match("/D/", $this->bootmode)) { - $smarty->assign("debugbootup", "checked"); - } else { - $smarty->assign("debugbootup", ""); - } - /* Show main page */ $smarty->assign("gotoKernelParameters",$this->gotoKernelParameters); return($smarty->fetch (get_template_path('workstationStartup.tpl', TRUE,dirname(__FILE__)))); @@ -656,11 +637,6 @@ class workstartup extends plugin }else{ $this->gotoLdap_inherit = FALSE; } - - /* Save group radio buttons */ - if ($this->acl_is_writeable("bootmode") && isset($_POST["bootmode"])){ - $this->bootmode= $_POST["bootmode"]; - } } } @@ -950,7 +926,6 @@ class workstartup extends plugin "plProvidedAcls"=> array( "gotoLdapServer" => _("Ldap server"), "gotoBootKernel" => _("Boot kernel"), - "bootmode" => _("Boot mode"), "gotoKernelParameters" => _("Kernel parameter"), "gotoModules" => _("Kernel modules"),