Code

Fixed NFS share editing
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 27 Mar 2008 10:56:36 +0000 (10:56 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 27 Mar 2008 10:56:36 +0000 (10:56 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10023 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/systems/services/nfs/class_servNfs.inc

index c0535dd6c25dc4062d4cbd483e8489d14b074e6d..395e856b93ec26bed3f86413b2ed0cd0f9c528f7 100644 (file)
@@ -138,7 +138,7 @@ class servnfs extends plugin
       }        
     }
 
-    $display= $smarty->fetch(get_template_path('servnfs.tpl', TRUE));
+    $display= $smarty->fetch(get_template_path('servnfs.tpl', TRUE, dirname(__FILE__)));
     return($display);
   }
 
@@ -178,7 +178,7 @@ class servnfs extends plugin
       $message[]= msgPool::required(_("Path"));
     }
 
-    if(!test::is_path($this->path)){
+    if(!tests::is_path($this->path)){
       $message[]= msgPool::invalid(_("Path"));
     }