From: hickert Date: Fri, 7 Mar 2008 08:11:39 +0000 (+0000) Subject: msgPool X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a1bcb20dfc1e43a58e12d6cadfe851d54ca1dfe0;p=gosa.git msgPool git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9411 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/personal/environment/class_environment.inc b/gosa-plugins/goto/personal/environment/class_environment.inc index fa35bfa65..bfca1cf09 100644 --- a/gosa-plugins/goto/personal/environment/class_environment.inc +++ b/gosa-plugins/goto/personal/environment/class_environment.inc @@ -1105,7 +1105,7 @@ class environment extends plugin $this->detect_grouptype(); if(preg_match("/[^0-9]/",$this->gotoProfileQuota)) { - $message[]=_("Please set a valid profile quota size."); + $message[] = msgPool::invalid(_("Profile quota"),$this->gotoProfileQuota,"/[0-9]/") ; } if(!isset($this->attrs['objectClass'])){ $this->attrs['objectClass']=array(); @@ -1677,7 +1677,7 @@ class environment extends plugin $this->detect_grouptype(); if(preg_match("/[^0-9]/",$this->gotoProfileQuota) && in_array("gotoProfileQuota",$this->multi_boxes)) { - $message[]=_("Please set a valid profile quota size."); + $message[] = msgPool::invalid(_("Profile quota"),$this->gotoProfileQuota,"/[0-9]/") ; } return($message); }