From: cajus Date: Mon, 13 Feb 2006 15:35:57 +0000 (+0000) Subject: Fixed share setup X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=dba206d053752f0e47198ab0fdbc15f3850896ef;p=gosa.git Fixed share setup git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2683 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_servNfs.inc b/plugins/admin/systems/class_servNfs.inc index 7a72a47d2..85455c1ff 100644 --- a/plugins/admin/systems/class_servNfs.inc +++ b/plugins/admin/systems/class_servNfs.inc @@ -127,7 +127,7 @@ class servnfs extends plugin // only 0-9a-z if(!$this->is_edit){ - if(preg_match("/[^a-z0-9]/i",$this->name)){ + if(preg_match("/[^a-z0-9.-]/i",$this->name)){ $message[]=_("Please specify a valid name for your setup."); } if(empty($this->name)){ diff --git a/plugins/admin/systems/servservice.tpl b/plugins/admin/systems/servservice.tpl index 8bde62432..240fa525e 100644 --- a/plugins/admin/systems/servservice.tpl +++ b/plugins/admin/systems/servservice.tpl @@ -8,7 +8,7 @@ changeState('DelNfsEntId'); changeState('NewNfsAddId');"> - {t}Nfs Export{/t} + {t}Shares{/t}