diff --git a/plugins/admin/systems/class_winGeneric.inc b/plugins/admin/systems/class_winGeneric.inc
index cc0852f4f0326dd913540efdad91a3b0c92ccdbb..a9533636a93d81bf65561a76478afe137a540ae8 100644 (file)
$smarty->assign("$attr", $this->$attr);
}
+ /* Show Asterisk for required attribute ipHostNumber and macAddress */
+ $smarty->assign("staticAddress", "<font class=\"must\">*</font>");
$smarty->assign("base_select", $this->base);
/* must: cn, macAddress */
if ($this->cn == "" && chkacl ($this->acl, "cn") == ""){
- $message[]= "The required field 'Component name' is not set.";
+ $message[]= _("The required field 'Component name' is not set.");
}
- if ($this->macAddress == "" && chkacl ($this->acl, "macAddresscn") == ""){
- $message[]= "The required field 'MAC-address' is not set.";
+ if ($this->macAddress == "" && chkacl ($this->acl, "macAddress") == ""){
+ $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.");
}
$ui= get_userinfo();