summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 02ba0ab)
raw | patch | inline | side by side (parent: 02ba0ab)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 20 Nov 2006 04:18:17 +0000 (04:18 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 20 Nov 2006 04:18:17 +0000 (04:18 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5156 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_terminalService.inc | patch | blob | history |
diff --git a/plugins/admin/systems/class_terminalService.inc b/plugins/admin/systems/class_terminalService.inc
index d449f089bc7f35a0a5b4b72c0dd37ee12d11c073..eb40ec0ac5c44ccb720c754a7bd8969211333db4 100644 (file)
$this->hardware_list["automatic"]= _("automatic");
ksort($this->hardware_list);
+ /* Convert gotoLpdEnable */
+ $this->gotoLpdEnable= preg_match("/yes/i",$this->gotoLpdEnable);
- /* Load hardware list */
+ /* Load hardware list */
$ldap= $this->config->get_ldap_link();
$ldap->cd($this->config->current['BASE']);
$ldap->search("(&(objectClass=gotoWorkstationTemplate)(member=".$this->dn."))");
/* Save to LDAP */
function save()
{
+ /* Convert to string */
+ $this->gotoLpdEnable= $this->gotoLpdEnable?"Yes":"No";
+
plugin::save();
/* Strip out 'default' values */