Code

Fixed share setup
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 13 Feb 2006 15:35:57 +0000 (15:35 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 13 Feb 2006 15:35:57 +0000 (15:35 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2683 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_servNfs.inc
plugins/admin/systems/servservice.tpl

index 7a72a47d206411a5edbac73e4a3a86e84dcabeb9..85455c1ff507a4ad0021d13bd2618e7fbcdc363e 100644 (file)
@@ -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)){
index 8bde624321e9f6a42aba88007c605388ee1f5ab5..240fa525eb25b88db17cef9a50aabbfa9270bba2 100644 (file)
@@ -8,7 +8,7 @@
                        changeState('DelNfsEntId');
                        changeState('NewNfsAddId');"> 
 
-               <b>{t}Nfs Export{/t}</b>
+               <b>{t}Shares{/t}</b>
    <table summary="">
     <tr>
      <td>