From dd6d4b12a05184be62ae34e1e742d2f9424c641b Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 26 Jul 2006 10:48:48 +0000 Subject: [PATCH] Fixed edit mode flag git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4315 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/connectivity/class_webdavAccount.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/personal/connectivity/class_webdavAccount.inc b/plugins/personal/connectivity/class_webdavAccount.inc index 161e75f76..58acf40cb 100644 --- a/plugins/personal/connectivity/class_webdavAccount.inc +++ b/plugins/personal/connectivity/class_webdavAccount.inc @@ -9,6 +9,7 @@ class webdavAccount extends plugin /* attribute list for save action */ var $attributes= array(); var $objectclasses= array("gosaWebdavAccount"); + var $ReadOnly = false; function webdavAccount ($config, $dn= NULL) { @@ -37,7 +38,7 @@ class webdavAccount extends plugin $smarty->assign("tabbed", 1); } - if(($this->is_account && $this->acl_is_removeable()) || (!$this->is_account && $this->acl_is_createable())) { + if((!$this->ReadOnly) && (($this->is_account && $this->acl_is_removeable()) || (!$this->is_account && $this->acl_is_createable()))) { $smarty->assign('webdavAccountACL', ""); }else{ $smarty->assign('webdavAccountACL', " disabled "); -- 2.30.2