From 377bcda8f4b2f874a3752c05661d1900b7fb8bfb Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 29 May 2006 11:12:14 +0000 Subject: [PATCH] Fixed inherit fpr ws starttab git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3545 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_workstationService.inc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/plugins/admin/systems/class_workstationService.inc b/plugins/admin/systems/class_workstationService.inc index d0649fc57..b62048e80 100644 --- a/plugins/admin/systems/class_workstationService.inc +++ b/plugins/admin/systems/class_workstationService.inc @@ -188,7 +188,7 @@ class workservice extends plugin $ldap->search("(&(objectClass=gotoWorkstationTemplate)(member=".$this->dn."))"); if ($ldap->count() == 1){ $map= array("gotoXResolution", "gotoXColordepth", "gotoXKbModel", "gotoXKbLayout", - "gotoXKbVariant", "gotoMouseType", "gotoMousePort"); + "gotoXKbVariant", "gotoXMouseType", "gotoXMouseport"); $attrs= $ldap->fetch(); foreach ($map as $name){ @@ -210,13 +210,13 @@ class workservice extends plugin $this->XKbLayouts= array_merge(array('default' => _("inherited").' ['.$attrs[$name][0].']' ), $this->XKbLayouts); break; case 'gotoXKbVariant': - $this->XKBvariants= array_merge(array('default' => _("inherited").' ['.$attrs[$name][0].']' ), $this->XKbVariants); + $this->XKbVariants= array_merge(array('default' => _("inherited").' ['.$attrs[$name][0].']' ), $this->XKbVariants); break; - case 'gotoMouseType': - $this->XMouseTypes= array_merge(array('default' => _("inherited").' ['.$attrs[$name][0].']' ), $this->XMouseTypes); + case 'gotoXMouseType': + $this->MouseTypes= array_merge(array('AUTO' => _("inherited").' ['.$attrs[$name][0].']' ), $this->MouseTypes); break; - case 'gotoMousePort': - $this->XMousePorts= array_merge(array('default' => _("inherited").' ['.$attrs[$name][0].']' ), $this->XMousePorts); + case 'gotoXMouseport': + $this->MousePorts= array_merge(array('AUTO' => _("inherited").' ['.$attrs[$name][0].']' ), $this->MousePorts); break; } -- 2.30.2