From 7b87f31105dcb0f52d75b7f04008812d66c4630a Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 24 Feb 2009 08:57:56 +0000 Subject: [PATCH] Applied changeset:13437 git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13447 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../systems/goto/class_terminalService.inc | 23 ++++++++++------ .../systems/goto/class_workstationService.inc | 26 ++++++++++++------- 2 files changed, 31 insertions(+), 18 deletions(-) diff --git a/trunk/gosa-plugins/goto/admin/systems/goto/class_terminalService.inc b/trunk/gosa-plugins/goto/admin/systems/goto/class_terminalService.inc index a19bfe318..ae0d99331 100644 --- a/trunk/gosa-plugins/goto/admin/systems/goto/class_terminalService.inc +++ b/trunk/gosa-plugins/goto/admin/systems/goto/class_terminalService.inc @@ -145,12 +145,19 @@ class termservice extends plugin /* Additional values will be extracted from CONFIG_DIR.keyboardLayouts */ $this->XKbLayouts = array("de"=> "de","en" =>"en", "es" => "es", "us" =>"us", "fr" => "fr"); $this->XKbVariants= array("nodeadkeys"=>"nodeadkeys", "basic"=>"basic"); - $this->MouseTypes = array("ImPS/2"=>"ImPS/2","PS/2"=>"PS/2", "explorerps/2"=>"explorerps/2", - "Microsoft"=>"Microsoft","Logitech"=>"Logitech"); - $this->MousePorts = array("/dev/ttyS0"=>"/dev/ttyS0", - "/dev/ttyS1"=>"/dev/ttyS1","/dev/psaux"=>"/dev/psaux", - "/dev/input/mice"=>"/dev/input/mice"); - + + $this->MouseTypes= array("auto" => "auto", + "explorerps/2" => "explorerps/2", + "ImPS/2" => "ImPS/2", + "PS/2" => "PS/2", + "Microsoft" => "Microsoft", + "Logitech" => "Logitech",); + + $this->MousePorts= array("/dev/input/mice" => "/dev/input/mice", + "/dev/mouse" => "/dev/mouse", + "/dev/psaux" => "/dev/psaux", + "/dev/ttyS0" => "/dev/ttyS0", + "/dev/ttyS1" => "/dev/ttyS1",); /* Try to read additional keyboard layouts */ @@ -276,10 +283,10 @@ class termservice extends plugin $this->XKbVariants= array('default' => _("inherited").' ['.$attrs[$name][0].']' ) + $this->XKbVariants; break; case 'gotoXMouseType': - $this->MouseTypes= array('AUTO' => _("inherited").' ['.$attrs[$name][0].']' ) + $this->MouseTypes; + $this->MouseTypes= array('default' => _("inherited").' ['.$attrs[$name][0].']' ) + $this->MouseTypes; break; case 'gotoXMouseport': - $this->MousePorts= array('AUTO' => _("inherited").' ['.$attrs[$name][0].']' ) + $this->MousePorts; + $this->MousePorts= array('default' => _("inherited").' ['.$attrs[$name][0].']' ) + $this->MousePorts; break; } } diff --git a/trunk/gosa-plugins/goto/admin/systems/goto/class_workstationService.inc b/trunk/gosa-plugins/goto/admin/systems/goto/class_workstationService.inc index f0fcff4e4..639da3b8d 100644 --- a/trunk/gosa-plugins/goto/admin/systems/goto/class_workstationService.inc +++ b/trunk/gosa-plugins/goto/admin/systems/goto/class_workstationService.inc @@ -98,12 +98,18 @@ class workservice extends plugin $this->XKbModels[$type] = $type; } - $this->MouseTypes= array("ImPS/2" => "ImPS/2", "PS/2" => "PS/2", "Microsoft" => "Microsoft", - "Logitech" => "Logitech","explorerps/2"=>"explorerps/2",); - - $this->MousePorts= array("/dev/ttyS0" =>"/dev/ttyS0", - "/dev/ttyS1" => "/dev/ttyS1", "/dev/psaux" =>"/dev/psaux", - "/dev/input/mice" => "/dev/input/mice"); + $this->MouseTypes= array("auto" => "auto", + "explorerps/2" => "explorerps/2", + "ImPS/2" => "ImPS/2", + "PS/2" => "PS/2", + "Microsoft" => "Microsoft", + "Logitech" => "Logitech",); + + $this->MousePorts= array("/dev/input/mice" => "/dev/input/mice", + "/dev/mouse" => "/dev/mouse", + "/dev/psaux" => "/dev/psaux", + "/dev/ttyS0" => "/dev/ttyS0", + "/dev/ttyS1" => "/dev/ttyS1",); /* Additional values will be extracted from CONFIG_DIR./keyboardLayouts */ $this->XKbLayouts = array("de"=> "de","en" =>"en", "es" => "es", "us" =>"us", "fr" => "fr"); @@ -203,10 +209,10 @@ class workservice extends plugin $this->XKbVariants= array('default' => _("inherited").' ['.$attrs[$name][0].']' ) + $this->XKbVariants; break; case 'gotoXMouseType': - $this->MouseTypes= array('AUTO' => _("inherited").' ['.$attrs[$name][0].']' ) + $this->MouseTypes; + $this->MouseTypes= array('default' => _("inherited").' ['.$attrs[$name][0].']' ) + $this->MouseTypes; break; case 'gotoXMouseport': - $this->MousePorts= array('AUTO' => _("inherited").' ['.$attrs[$name][0].']' ) + $this->MousePorts; + $this->MousePorts= array('default' => _("inherited").' ['.$attrs[$name][0].']' ) + $this->MousePorts; break; } @@ -222,8 +228,8 @@ class workservice extends plugin $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")); + $this->MouseTypes= array('default' => _("inherited")); + $this->MousePorts= array('default' => _("inherited")); } } -- 2.30.2