From: cajus Date: Fri, 28 Jul 2006 11:18:10 +0000 (+0000) Subject: override for inherited objects X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=00fbf3d5d8c669734857e58235afd27df6a19f0f;p=gosa.git override for inherited objects git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4338 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_workstationService.inc b/plugins/admin/systems/class_workstationService.inc index 1be02c93c..dace6a70d 100644 --- a/plugins/admin/systems/class_workstationService.inc +++ b/plugins/admin/systems/class_workstationService.inc @@ -223,6 +223,17 @@ class workservice extends plugin } } + + /* Workaround to fill in inherited values if we've specified an objectclass */ + if (isset($_SESSION['SelectedSystemType']['ogroup']) && $_SESSION['SelectedSystemType']['ogroup'] != 'none'){ + $this->XResolutions= array('default' => _("inherited")); + $this->XColordepths= array('default' => _("inherited")); + $this->XKbModels= array('default' => _("inherited")); + $this->XKbLayouts= array('default' => _("inherited")); + $this->XKbVariants= array('default' => _("inherited")); + $this->MouseTypes= array('AUTO' => _("inherited")); + $this->MousePorts= array('AUTO' => _("inherited")); + } } function execute()