From 116ccc540b19f280d3d23120df34070cd9691f16 Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 10 Aug 2006 10:31:59 +0000 Subject: [PATCH] Updated login dialog error message git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4467 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../personal/environment/class_logonManagementDialog.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/personal/environment/class_logonManagementDialog.inc b/plugins/personal/environment/class_logonManagementDialog.inc index 3a16c6555..12da92ef2 100644 --- a/plugins/personal/environment/class_logonManagementDialog.inc +++ b/plugins/personal/environment/class_logonManagementDialog.inc @@ -100,9 +100,9 @@ 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)){ $message[] = _("Please specify a valid script name."); -- 2.30.2