From 6fe396f0fa8d0de2ac3b505366ef7f1f57551026 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 12 Jan 2010 06:31:20 +0000 Subject: [PATCH] Updated class selector git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15142 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/goto/admin/systems/goto/SelectDeviceType.tpl | 2 +- .../goto/admin/systems/goto/class_SelectDeviceType.inc | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gosa-plugins/goto/admin/systems/goto/SelectDeviceType.tpl b/gosa-plugins/goto/admin/systems/goto/SelectDeviceType.tpl index 90ecc5668..a5cd26976 100644 --- a/gosa-plugins/goto/admin/systems/goto/SelectDeviceType.tpl +++ b/gosa-plugins/goto/admin/systems/goto/SelectDeviceType.tpl @@ -48,6 +48,6 @@

 

- +

diff --git a/gosa-plugins/goto/admin/systems/goto/class_SelectDeviceType.inc b/gosa-plugins/goto/admin/systems/goto/class_SelectDeviceType.inc index 09e41147c..8399d1d4e 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_SelectDeviceType.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_SelectDeviceType.inc @@ -11,7 +11,7 @@ class SelectDeviceType extends plugin var $SystemTypes = array(); var $ObjectGroup = "none"; - var $SystemType = "workstation"; + var $SystemType = "gotoWorkstation"; var $dn; @@ -36,9 +36,9 @@ class SelectDeviceType extends plugin asort($tmp, SORT_LOCALE_STRING); $this->ObjectGroups= $tmp; - $this->SystemTypes =array("workstation"=>_("Workstation"), "terminal"=>_("Terminal"), "server"=>_("Server")); + $this->SystemTypes =array("gotoWorkstation"=>_("Workstation"), "gotoTerminal"=>_("Terminal"), "goServer"=>_("Server")); if(class_available("opsi")){ - $this->SystemTypes["opsi_client"]= _("Windows workstation"); + $this->SystemTypes["FAKE_OC_OpsiHost"]= _("Windows workstation"); } } @@ -61,7 +61,7 @@ class SelectDeviceType extends plugin $smarty= get_smarty(); $display= ""; - $map = array("workstation" => "W","terminal" => "T","server" => "S", "opsi_client" => "O"); + $map = array("gotoWorkstation" => "W","gotoTerminal" => "T","goServer" => "S", "FAKE_OC_OpsiHost" => "O"); $smarty->assign("dns_cnt" , count($this->dns)); $smarty->assign("ogroups", $tmp[$map[$this->SystemType]]); $smarty->assign("SystemTypes" ,$this->SystemTypes); -- 2.30.2