diff --git a/addressbook/templates/default/view.tpl b/addressbook/templates/default/view.tpl index bdfebf0b94..b0aa47de54 100644 --- a/addressbook/templates/default/view.tpl +++ b/addressbook/templates/default/view.tpl @@ -11,8 +11,10 @@ {edit_link} + + - + {copy_link} @@ -22,7 +24,7 @@ - + {vcard_link} diff --git a/addressbook/view.php b/addressbook/view.php index 1e59eec201..44b00ccd6f 100755 --- a/addressbook/view.php +++ b/addressbook/view.php @@ -99,7 +99,14 @@ . $access_link . ''; $sfields = rawurlencode(serialize($fields[0])); - $editlink = $phpgw->common->check_owner($record_owner,"/addressbook/edit.php",lang("edit"),"ab_id=" . $ab_id . "&start=".$start."&sort=".$sort."&order=".$order); + + if ($rights & PHPGW_ACL_EDIT) { + $editlink = '
'; + } else { + $editlink = ''; + } + $copylink = ''; $vcardlink = ''; $donelink = '';