From dba206d053752f0e47198ab0fdbc15f3850896ef Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 13 Feb 2006 15:35:57 +0000 Subject: [PATCH] Fixed share setup git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2683 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_servNfs.inc | 2 +- plugins/admin/systems/servservice.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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}
-- 2.30.2