summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f67bf2a)
raw | patch | inline | side by side (parent: f67bf2a)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 7 Oct 2005 05:45:48 +0000 (05:45 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 7 Oct 2005 05:45:48 +0000 (05:45 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1520 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/plugins/admin/fai/class_faiPartitionTable.inc b/plugins/admin/fai/class_faiPartitionTable.inc
index 3c83b3484c2edb7b1a5170a0cc5a2d90b755d67f..afcc5201b647b0e3716ff16718bbf4008956d076 100644 (file)
$message= array();
- $str = utf8_encode("üöä");
- if(preg_match("/[^a-z0-9".$str."\.,;:\-_\? ]/i",$this->description)){
- $message[]=_("Please enter a valid description.");
- }
-
if((empty($this->cn))||(preg_match("/[^a-z0-9]/i",$this->cn))){
$message[]=_("Please enter a valid name.");
}
index 19ea3ce00cf704e9cf0119545e69c58e9d38c098..4b2d26df9ab93da4723c647cfa347adae104f0a3 100644 (file)
function check()
{
$message= array();
- $str = utf8_encode("üöä");
- if((preg_match("/[^a-z0-9".$str."\.,;:\-_\? ]/i",$this->description))){
- $message[]=_("Please enter a valid description.");
- }
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.");
index 8471f376cd750265237eb8bc13edc90ca932e669..8d129f54ece544983331bade67fd617832ec0704 100644 (file)
function check()
{
$message= array();
- $str = utf8_encode("üöä");
- if(preg_match("/[^a-z0-9".$str."\.,;:\-_\? ]/i",$this->description)){
- $message[]=_("Please enter a valid description.");
- }
return ($message);
}
diff --git a/plugins/admin/fai/class_faiScriptEntry.inc b/plugins/admin/fai/class_faiScriptEntry.inc
index 2e7341729d8d140d54d7f4429f408eb82ac240d3..9f93babfa4346dade117d9b4ee80462798b076ca 100644 (file)
{
$message= array();
- $str = utf8_encode("üöä");
-
- if(preg_match("/[^a-z0-9".$str."\.,;:\-_\? ]/i",$this->Object_description)){
- $message[] = _("Invalid character in description. Please enter a valid description.");
- }
-
if(empty($this->Object_cn)){
$message[] = _("Please enter a name.");
}
index 0d1ea42a6652df1d9a77581eaf6810277d112c21..f2950242bffcbc5afd4d1f8edb4ba0fa850b25ac 100644 (file)
function check()
{
$message= array();
- $str = utf8_encode("üöä");
- if((preg_match("/[^a-z0-9".$str."\.,;:\-_\? ]/i",$this->description))){
- $message[]=_("Please enter a valid description.");
- }
return ($message);
}
diff --git a/plugins/admin/fai/class_faiTemplateEntry.inc b/plugins/admin/fai/class_faiTemplateEntry.inc
index a3096f17339dda451121671f50826e482b45b652..7176ffbcdb3f1ca12e3d131deba76bc6145c99e8 100644 (file)
$message[]=_("Please specify a value for attribute 'path'.");
}
- $str = utf8_encode("üöä");
-
- if(preg_match("/[^a-z0-9".$str."\.,;:\-_\? ]/i",$this->Object_description)){
- $message[] = _("Invalid character in description. Please enter a valid description.");
- }
-
if(empty($this->Object_cn)){
$message[] = _("Please enter a name.");
}
index ae7d76f634fb23c828cfb6c34ba878859c0a067f..d14d7d846fb8e8972c01958e2005863c3048f05a 100644 (file)
function check()
{
$message= array();
- $str = utf8_encode("üöä");
- if(preg_match("/[^a-z0-9".$str."\.,;:\-_\? ]/i",$this->description)){
- $message[]=_("Please enter a valid description.");
- }
return ($message);
}