From 53f1479e488c1af0e5be144064806df532abb0b4 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 14 Mar 2008 10:31:36 +0000 Subject: [PATCH] msgPool git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9822 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../mail/admin/systems/services/spam/class_goSpamServer.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 be993d6ca..755ce472d 100644 --- a/gosa-plugins/mail/admin/systems/services/spam/class_goSpamServer.inc +++ b/gosa-plugins/mail/admin/systems/services/spam/class_goSpamServer.inc @@ -214,7 +214,7 @@ class gospamserver extends goService{ 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"))); } } } @@ -285,7 +285,7 @@ class gospamserver extends goService{ /* 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); -- 2.30.2