summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9d381b1)
raw | patch | inline | side by side (parent: 9d381b1)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 26 Jul 2006 10:48:48 +0000 (10:48 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 26 Jul 2006 10:48:48 +0000 (10:48 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4315 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/personal/connectivity/class_webdavAccount.inc | patch | blob | history |
diff --git a/plugins/personal/connectivity/class_webdavAccount.inc b/plugins/personal/connectivity/class_webdavAccount.inc
index 161e75f763e21116eab2f3d270c60fe0ef9fc020..58acf40cb86588e377560856a93650a9526c5eeb 100644 (file)
/* attribute list for save action */
var $attributes= array();
var $objectclasses= array("gosaWebdavAccount");
+ var $ReadOnly = false;
function webdavAccount ($config, $dn= NULL)
{
$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 ");