summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f503dcf)
raw | patch | inline | side by side (parent: f503dcf)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 14 Mar 2008 10:31:36 +0000 (10:31 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 14 Mar 2008 10:31:36 +0000 (10:31 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9822 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/mail/admin/systems/services/spam/class_goSpamServer.inc | patch | blob | history |
diff --git a/gosa-plugins/mail/admin/systems/services/spam/class_goSpamServer.inc b/gosa-plugins/mail/admin/systems/services/spam/class_goSpamServer.inc
index be993d6ca736db84c0973650de34001e6a0a8fb0..755ce472d356cefe610915e577a06fb4172de5ff 100644 (file)
if(tests::is_ip($post) || tests::is_domain($post) || (tests::is_ip_with_subnetmask($post))){
$this->TrustedNetworks[$post] = $post;
}else{
- print_red(_("Specified value is not a valid 'trusted network' value."));
+ print_red(msgPool::invalid(_("Trusted network")));
}
}
}
/* Check if required score is numeric */
if(!is_numeric($this->saRequiredScore)){
- $message[] = _("Required score must be a numeric value.");
+ $message[] = msgPool::invalid(_("Score"),$this->saRequiredScore,"/[0-9]/");
}
return($message);