Code

* Saved missing value for goImapSieveServer
[gosa.git] / plugins / admin / systems / class_terminalService.inc
index 979ade253936e06763a1eaca77aee6af18f37db7..6dfea3537493ea6d3fa7904eb55d07c4915f43ee 100644 (file)
@@ -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= "<img src=\"images/stop.png\" align=\"middle\">&nbsp;<b>".
+      $display= "<img alt=\"\" src=\"images/stop.png\" align=\"middle\">&nbsp;<b>".
         _("This 'dn' has no terminal features.")."</b>";
       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,7 +204,7 @@ 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()