fixed not displayed links in view

This commit is contained in:
Ralf Becker 2005-11-14 17:46:23 +00:00
parent 784fa6add7
commit 0e155c2ae5

View File

@ -186,7 +186,10 @@ class uicontacts extends bocontacts
}
}
$content['view'] = true;
$content['link'] = $content['link_to'] = array(
'to_app' => 'addressbook',
'to_id' => $content['id'],
);
$readonlys['link'] = $readonlys['link_to'] = $readonlys['customfields'] = true;
$readonlys['button[save]'] = $readonlys['button[apply]'] = true;
$readonlys['button[delete]'] = !$this->check_perms(EGW_ACL_DELETE,$content);