diff --git a/gosa-plugins/goto/admin/systems/goto/class_SelectDeviceType.inc b/gosa-plugins/goto/admin/systems/goto/class_SelectDeviceType.inc
index 09e41147c8c76767cd44794b4b7e5b07eeef9e7e..9e1c10975b0b2860c8b348cd9bb23f898e3279d8 100644 (file)
var $SystemTypes = array();
var $ObjectGroup = "none";
- var $SystemType = "workstation";
+ var $SystemType = "gotoWorkstation";
var $dn;
{
if(!is_array($dn)){
$this->dns = array($dn);
- plugin::plugin ($config, NULL);
}else{
$this->dns = $dn;
- plugin::plugin ($config, $dn);
}
+ plugin::plugin ($config, NULL);
/* Get object groups */
$ldap = $this->config->get_ldap_link();
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");
}
}
$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);