summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e42e872)
raw | patch | inline | side by side (parent: e42e872)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 19 Oct 2009 13:17:15 +0000 (13:17 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 19 Oct 2009 13:17:15 +0000 (13:17 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14604 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/systems/services/nfs/class_servNfs.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/systems/services/nfs/class_servNfs.inc b/gosa-plugins/goto/admin/systems/services/nfs/class_servNfs.inc
index 79f3c101a5b111f7fc17868ef772eb0e1b2b9d34..105d9565db00261eca8d23d45608b98ad50171e0 100644 (file)
if(empty($this->name)){
$message[]= msgPool::required(_("Name"));
}
- if(!preg_match("/^[a-z0-9\._äüö\$]*$/ui",$this->name)){
- $message[]= msgPool::invalid(_("Name"),$this->name,"/[a-z0-9\._äüö]\$/ui");
- } else {
- if (!preg_match("/^[^\$]+[\$]*\$$/", $this->name)) {
- $message[] = _("Hidden shares must have a '$' at the end of the name!");
- }
+ if(!preg_match("/^[a-z0-9\._äüö]*$/ui",$this->name)){
+ $message[]= msgPool::invalid(_("Name"),$this->name,"/[a-z0-9\._äüö]/ui");
}
}