From: cajus Date: Thu, 10 Aug 2006 10:31:26 +0000 (+0000) Subject: Updated error message X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c4ccba058fb737bbe33c04a4df6c0b6ed6cd66f3;p=gosa.git Updated error message git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4466 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/environment/class_logonManagementDialog.inc b/plugins/personal/environment/class_logonManagementDialog.inc index 98ce41ff3..d222bd11f 100644 --- a/plugins/personal/environment/class_logonManagementDialog.inc +++ b/plugins/personal/environment/class_logonManagementDialog.inc @@ -93,8 +93,8 @@ class logonManagementDialog extends plugin /* Call common method to give check the hook */ $message= plugin::check(); - if(preg_match("/[^a-z]/",$this->LogonName)){ - $message[] = _("Specified name is invalid."); + if(preg_match("/[^a-zA-Z]/",$this->LogonName)){ + $message[] = _("Specified name should only consist of uper-/lowercase characters."); } if(empty($this->LogonName)){