forked from extern/egroupware
"bugfix: removed change-org checkbox in view"
This commit is contained in:
parent
9957f21e21
commit
b970654f4f
@ -1489,6 +1489,7 @@ class uicontacts extends bocontacts
|
||||
$readonlys['button[save]'] = $readonlys['button[apply]'] = $readonlys['change_photo'] = true;
|
||||
$readonlys['button[delete]'] = !$content['owner'] || !$this->check_perms(EGW_ACL_DELETE,$content);
|
||||
$readonlys['button[edit]'] = !$this->check_perms(EGW_ACL_EDIT,$content);
|
||||
$content['disable_change_org'] = true;
|
||||
// ToDo: fix vCard export
|
||||
$readonlys['button[vcard]'] = true;
|
||||
|
||||
@ -1543,7 +1544,7 @@ $readonlys['button[vcard]'] = true;
|
||||
$GLOBALS['egw_info']['flags']['currentid'] = $content['id'];
|
||||
|
||||
$this->tmpl->exec('addressbook.uicontacts.view',$content,$sel_options,$readonlys,array('id' => $content['id']));
|
||||
|
||||
|
||||
$GLOBALS['egw']->hooks->process(array(
|
||||
'location' => 'addressbook_view',
|
||||
'ab_id' => $content['id']
|
||||
|
Loading…
Reference in New Issue
Block a user