From: hickert Date: Wed, 26 Jul 2006 10:48:48 +0000 (+0000) Subject: Fixed edit mode flag X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=dd6d4b12a05184be62ae34e1e742d2f9424c641b;p=gosa.git Fixed edit mode flag git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4315 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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 ");