Code

Removed unused attribute
[gosa.git] / plugins / admin / systems / class_printGeneric.inc
index e36190879809fccfce43a2fcb3922f7f3f5a4122..b662fae88daaea38180fda7b590809da99779fce 100644 (file)
@@ -9,6 +9,7 @@ class printgeneric extends plugin
 
   /* Generic terminal attributes */
   var $interfaces= array();
+  var $ignore_account= TRUE;
 
   /* Needed values and lists */
   var $base= "";
@@ -52,7 +53,7 @@ class printgeneric extends plugin
 
     /* Do we represent a valid printer? */
     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 printer features.")."</b>";
       return($display);
     }
@@ -68,6 +69,9 @@ class printgeneric extends plugin
     }
     $smarty->assign("base_select", $this->base);
 
+    /* Don't show Asterisk for non-required attribute ipHostNumber and macAddress */
+    $smarty->assign("staticAddress", "");
+    
     /* Show main page */
     $smarty->assign("netconfig", dirname(__FILE__)."/network.tpl");
     return($smarty->fetch (get_template_path('printer.tpl', TRUE)));