From 099459271530d728ada5cca246fbfde211feb213 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 18 May 2006 07:29:03 +0000 Subject: [PATCH] Renamed default to 'inherited ' git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3406 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_workstationStartup.inc | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/plugins/admin/systems/class_workstationStartup.inc b/plugins/admin/systems/class_workstationStartup.inc index 9d5d2c5de..0d5fd2bf9 100644 --- a/plugins/admin/systems/class_workstationStartup.inc +++ b/plugins/admin/systems/class_workstationStartup.inc @@ -8,7 +8,7 @@ class workstartup extends plugin /* Generic terminal attributes */ var $bootmode = "G"; - var $goLdapServerList = array("default"); + var $goLdapServerList = array(); var $gotoBootKernel = ""; var $gotoKernelParameters = ""; var $gotoLdapServer = ""; @@ -53,7 +53,9 @@ class workstartup extends plugin */ $ldap = $this->config->get_ldap_link(); $ldap->cd($this->config->current['BASE']); - + + $this->goLdapServerList = array("default" =>_("inherited")); + $_SESSION['getAvailableClassesForThisRelease_CACHE'] = array(); $_SESSION['getAvailableClassesForThisRelease_CACHED_CLASSES'] = array(); @@ -578,9 +580,15 @@ class workstartup extends plugin $use = " checked "; }; + if($server == "default"){ + $display = _("inherited"); + }else{ + $display = $server; + } + $SelectBoxLdapServer->AddEntry( array( - array("string"=>$server), + array("string"=>$display), array("string"=>"", "attach"=>"style='border-right:0px;'") )); -- 2.30.2