diff --git a/plugins/admin/systems/class_terminalService.inc b/plugins/admin/systems/class_terminalService.inc
index c84058364d15ee3add066d836fa61f17074076e9..2779986921f66762e73301db26a4224c31ede072 100644 (file)
var $objectclasses= array("GOhard");
var $objectclasses= array("GOhard");
- function termservice ($config, $dn= NULL)
+ function termservice ($config, $dn= NULL, $parent= NULL)
{
{
- plugin::plugin ($config, $dn);
+ plugin::plugin ($config, $dn, $parent);
array_unshift($this->XDrivers, "["._("unknown")."]");
array_unshift($this->XDrivers, "["._("unknown")."]");
$this->hardware_list["automatic"]= _("automatic");
ksort($this->hardware_list);
$this->hardware_list["automatic"]= _("automatic");
ksort($this->hardware_list);
+ /* Convert gotoLpdEnable */
+ $this->gotoLpdEnable= ($this->gotoLpdEnable == "yes");
/* Load hardware list */
$ldap= $this->config->get_ldap_link();
/* Load hardware list */
$ldap= $this->config->get_ldap_link();
}
}
}
}
+ /* Convert to string */
+ $this->gotoLpdEnable= $this->gotoLpdEnable?"yes":"no";
+
/* Write back to ldap */
$ldap= $this->config->get_ldap_link();
$ldap->cd($this->dn);
/* Write back to ldap */
$ldap= $this->config->get_ldap_link();
$ldap->cd($this->dn);