Code

Fixed problems in kolab/server tabs
[gosa.git] / plugins / admin / systems / class_terminalGeneric.inc
index 4beb928d1408e007f1e8493e6c110d9712eb7389..99b11ba7efa0612b9913dd9b1166f92958774826 100644 (file)
@@ -37,6 +37,7 @@ class termgeneric extends plugin
   var $modes= array();
 
   /* attribute list for save action */
+  var $ignore_account= TRUE;
   var $attributes= array("gotoMode", "gotoTerminalPath", "macAddress",
       "gotoSwapServer", "gotoSyslogServer", "gotoNtpServer",
       "gotoFloppyEnable", "gotoCdromEnable", "cn", "gotoSndModule",
@@ -122,7 +123,7 @@ class termgeneric extends plugin
 
     /* Do we represent a valid terminal? */
     if (!$this->is_account && $this->parent == NULL){
-      $display= "<img src=\"images/stop.png\" align=center>&nbsp;<b>".
+      $display= "<img alt=\"\" src=\"images/stop.png\" align=middle>&nbsp;<b>".
         _("This 'dn' has no terminal features.")."</b>";
       return($display);
     }
@@ -161,6 +162,7 @@ class termgeneric extends plugin
 
     /* Show main page */
     $smarty->assign("netconfig", dirname(__FILE__)."/network.tpl");
+    $smarty->assign("actionACL", chkacl($this->acl, 'action'));
     return($smarty->fetch (get_template_path('terminal.tpl', TRUE)));
   }