summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7d53a2f)
raw | patch | inline | side by side (parent: 7d53a2f)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 20 Oct 2005 08:31:04 +0000 (08:31 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 20 Oct 2005 08:31:04 +0000 (08:31 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1635 594d385d-05f5-0310-b6e9-bd551577e9d8
index 1ab8d6c1a9b2c95c45abfd4928badffd2f2da7ef..f9f6b5e080de10fefb2d4f6a8e9a664530b32fd3 100644 (file)
$message[] = _("Please enter a name.");
}
- if(preg_match("/[^0-9a-z]/i",$this->cn)){
- $message[] = _("Please enter a valid name. Only a-Z 0-9 are allowed.");
- }
-
return ($message);
}
index 5ca3329b1550f2d7c50d21f0d97607efe6b51f97..809a1eb2275ed23e7a9c0bf69aea57174521696b 100644 (file)
{
$message= array();
- if((empty($this->cn))||(preg_match("/[^a-z0-9]/i",$this->cn))){
- $message[]=_("Please enter a valid name. Only 0-9 a-Z are allowed here.");
- }
-
if(count($this->FAIclasses) == 0){
$message[]=_("Please assign at least one class to this profile.");
}
diff --git a/plugins/admin/fai/class_faiScriptEntry.inc b/plugins/admin/fai/class_faiScriptEntry.inc
index 13d5bdb08b713edd778e5a7ea2b9d8d9b4917d69..418b462da20543cd9c7612b2b966fbe74fcc1007 100644 (file)
$message[] = _("Please enter a name.");
}
- if(preg_match("/[^0-9a-z]/i",$this->cn)){
- $message[] = _("Please enter a valid name. Only a-Z 0-9 are allowed.");
- }
-
return ($message);
}
diff --git a/plugins/admin/fai/class_faiVariableEntry.inc b/plugins/admin/fai/class_faiVariableEntry.inc
index ac2317065ab75ad0efc6f7056aa4ff228c65a00d..a73a13ab1342846a9cb6d1bbc59c4a771392b99c 100644 (file)
$message[] = _("Please enter a name.");
}
- if(preg_match("/[^0-9a-z_]/i",$this->cn)){
- $message[] = _("Please enter a valid name. Only a-Z 0-9 are allowed.");
- }
-
return ($message);
}