From 01708a472e32ce14edc296e7908740100a43d6d9 Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 11 May 2006 13:54:55 +0000 Subject: [PATCH] Made fields not mandatory git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3301 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_servNfs.inc | 5 ----- plugins/admin/systems/servnfs.tpl | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/plugins/admin/systems/class_servNfs.inc b/plugins/admin/systems/class_servNfs.inc index df90c6b69..e89bab3ea 100644 --- a/plugins/admin/systems/class_servNfs.inc +++ b/plugins/admin/systems/class_servNfs.inc @@ -189,11 +189,6 @@ class servnfs extends plugin } } - /* If we've NCP, we need a volume */ - if($this->type == "NCP" && empty($this->volume)){ - $message[]=_("Please specify a valid volume name for your share."); - } - if(preg_match("/\|/",$this->description)){ $message[]=_("Description contains invalid characters."); } diff --git a/plugins/admin/systems/servnfs.tpl b/plugins/admin/systems/servnfs.tpl index dcea65b3f..5d8000e4c 100644 --- a/plugins/admin/systems/servnfs.tpl +++ b/plugins/admin/systems/servnfs.tpl @@ -22,7 +22,7 @@ - {t}Path{/t} {$must} + {t}Path{/t} @@ -30,7 +30,7 @@ -
{t}Volume{/t} {$must}
+
{t}Volume{/t}
-- 2.30.2