diff --git a/plugins/personal/connectivity/class_phpgwAccount.inc b/plugins/personal/connectivity/class_phpgwAccount.inc
index 130bbe2d6b64987bca746fb8a65d9bdca9c6aae3..0080bbbc9690460483f9787159584a34f0e4409b 100644 (file)
/* attribute list for save action */
var $attributes= array("phpgwAccountExpires", "phpgwAccountStatus", "phpgwAccountType");
var $objectclasses= array("phpgwAccount");
+ var $ReadOnly = false;
function phpgwAccount ($config, $dn= NULL)
{
$smarty->assign("phpgwState", "");
}
- 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('phpgwAccountACL', "");
}else{
$smarty->assign('phpgwAccountACL', " disabled ");