From 00fbf3d5d8c669734857e58235afd27df6a19f0f Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 28 Jul 2006 11:18:10 +0000 Subject: [PATCH] override for inherited objects git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4338 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_workstationService.inc | 11 +++++++++++ 1 file changed, 11 insertions(+) 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() -- 2.30.2