Code

Updated error message
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 10 Aug 2006 10:31:26 +0000 (10:31 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 10 Aug 2006 10:31:26 +0000 (10:31 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4466 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/environment/class_logonManagementDialog.inc

index 98ce41ff312a27e1e7454f321ab4c79e3ff2337b..d222bd11fa271c81c73c260c8527427ffb27a11a 100644 (file)
@@ -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)){