Code

goFonQueueStrategy will be saved in correct format now
[gosa.git] / plugins / admin / systems / class_componentGeneric.inc
index 7997978d33bcfde538544af0734ba64318419bf1..139444563bd4fcddf36b9c266d0833a5a5c4e155 100644 (file)
@@ -60,6 +60,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)));
@@ -110,7 +113,7 @@ class componentGeneric extends plugin
       $message[]= _("The required field 'MAC-address' is not set.");
     }
     if ($this->ipHostNumber == "" && chkacl ($this->acl, "ipHostNumber") == ""){
-      $message[]= _("The required field 'IP-address' is not set.";
+      $message[]= _("The required field 'IP-address' is not set.");
     }
 
     $ui= get_userinfo();