summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a1bcb20)
raw | patch | inline | side by side (parent: a1bcb20)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 7 Mar 2008 08:15:01 +0000 (08:15 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 7 Mar 2008 08:15:01 +0000 (08:15 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9412 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/nagios/personal/nagios/class_nagiosAccount.inc | patch | blob | history |
diff --git a/gosa-plugins/nagios/personal/nagios/class_nagiosAccount.inc b/gosa-plugins/nagios/personal/nagios/class_nagiosAccount.inc
index 16ce1eac95a7e70c4aa83e4f637542609e1d4027..d9d6588440d58cfb0a34dd6deae6b188977901d9 100644 (file)
$ldap= $this->config->get_ldap_link();
/* must: mail */
if ($this->NagiosAlias == ""){
- $message[]= _("The required field 'NagiosAlias' is not set.");
+ $message[]= msgPool::required(_("Alias"));
}
if ($this->NagiosMail == ""){
- $message[]= _("The required field 'NagiosMail' is not set.");
+ $message[]= msgPool::required(_("Mail"));
}
if ($this->is_template){
if (!tests::is_email($this->NagiosMail, TRUE)){
- $message[]= _("Please enter a valid email address in 'NagiosMail' field.");
+ $message[]= msgPool::invalid(_("Mail"),"","","%givenName.%dn@your-domain.com");
}
} else {
if (!tests::is_email($this->NagiosMail)){
- $message[]= _("Please enter a valid email address in 'NagiosMail' field.");
+ $message[]= msgPool::invalid(_("Mail"),"","","example@your-domain.com");
}
}
return($message);