Code

allow special chars in device names
[gosa.git] / plugins / admin / systems / class_componentGeneric.inc
index 4c850812879a4e54194c56de1bca65ee42ddda26..c3edb7590b5cdf721309ef332222f92d32d55f80 100644 (file)
@@ -42,6 +42,9 @@ class componentGeneric extends plugin
 
   function execute()
   {
+       /* Call parent execute */
+       plugin::execute();
+
     /* Do we represent a valid phone? */
     if (!$this->is_account && $this->parent == NULL){
       $display= "<img alt=\"\" src=\"images/stop.png\" align=middle>&nbsp;<b>".
@@ -60,6 +63,9 @@ class componentGeneric extends plugin
     }
     $smarty->assign("base_select", $this->base);
 
+    /* Show Asterisk for required attribute ipHostNumber and macAddress */
+    $smarty->assign("staticAddress", "<font class=\"must\">*</font>");
+    
     /* Show main page */
     $smarty->assign("netconfig", dirname(__FILE__)."/network.tpl");
     return($smarty->fetch (get_template_path('component.tpl', TRUE)));