Code

msgPool
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 14 Mar 2008 10:31:36 +0000 (10:31 +0000)
committerhickert <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

index be993d6ca736db84c0973650de34001e6a0a8fb0..755ce472d356cefe610915e577a06fb4172de5ff 100644 (file)
@@ -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);