summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 06309a3)
raw | patch | inline | side by side (parent: 06309a3)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 12 Sep 2008 12:27:52 +0000 (12:27 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 12 Sep 2008 12:27:52 +0000 (12:27 +0000) |
-Share type must be set, if we do not have the acls to set the type, abort saving -> check()
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12449 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12449 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/systems/services/nfs/class_servNfs.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/systems/services/nfs/class_servNfs.inc b/gosa-plugins/goto/admin/systems/services/nfs/class_servNfs.inc
index f2411ac9caac4d68a09cedf41ac6e6ba2cf07a37..147cc912ca4569a3cff3c6406952c4ecd2d008ba 100644 (file)
var $description =""; // description
var $type =""; // Type FS/Samba/NCP
var $charset =""; // charset
- var $host =""; // hostname
+ var $host =""; // hostname
var $types =array(); // Array Types NFS/Samba/NCP/netatalk
var $charsets =array(); // Array with charsets
var $path =""; // Path
$message[]= _("'Path / Volume' must contain at least one '/'!");
}
+ if(!in_array($this->type,$this->types)){
+ $message[]= msgPool::required(_("Type"));
+ }
+
// only 0-9a-z
if(!$this->is_edit){
if(empty($this->name)){