X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=plugins%2Fadmin%2Fsystems%2Fclass_terminalService.inc;h=6cce41a472e530ac7f8f8f0ecd40881c50561157;hb=82b212dba42b8bb340cb2689f7b9b009604940dd;hp=043846474e144ca717e229f07ac672c10717894e;hpb=39d0a234a02b9678799b80ea97ee53e8d4bfc6ff;p=gosa.git diff --git a/plugins/admin/systems/class_terminalService.inc b/plugins/admin/systems/class_terminalService.inc index 043846474..6cce41a47 100644 --- a/plugins/admin/systems/class_terminalService.inc +++ b/plugins/admin/systems/class_terminalService.inc @@ -31,6 +31,7 @@ class termservice extends plugin var $goFonHardware= "automatic"; /* Needed values and lists */ + var $ignore_account= TRUE; var $base= ""; var $cn= ""; var $orig_dn= ""; @@ -124,6 +125,9 @@ class termservice extends plugin function execute() { + /* Call parent execute */ + plugin::execute(); + /* Do we need to flip is_account state? */ if (isset($_POST['modify_state'])){ $this->is_account= !$this->is_account; @@ -131,7 +135,7 @@ class termservice extends plugin /* Do we represent a valid terminal? */ if (!$this->is_account && $this->parent == NULL){ - $display= " ". + $display= "\"\" ". _("This 'dn' has no terminal features.").""; return ($display); } @@ -165,6 +169,7 @@ class termservice extends plugin $smarty->assign($val, $this->$val); $smarty->assign($val."ACL", chkacl($this->acl, $val)); } + $smarty->assign("staticAddress", ""); /* Checkboxes */ foreach(array("gotoLpdEnable", "gotoScannerEnable") as $val){ @@ -199,14 +204,11 @@ class termservice extends plugin $smarty->assign ("gotoXMonitor", $this->gotoXMonitor); /* Show main page */ - return($smarty->fetch (get_template_path('service.tpl', TRUE))); + return($smarty->fetch (get_template_path('terminalService.tpl', TRUE))); } function remove_from_parent() { - $ldap= $this->config->get_ldap_link(); - $ldap->rmdir($this->dn); - show_ldap_error($ldap->get_error()); $this->handle_post_events("remove"); }