Reworked fetching of contact data on "display" page

This commit is contained in:
Michael Vogel 2015-10-06 18:31:08 +02:00
parent eefedc019b
commit 14e17b944f
2 changed files with 38 additions and 49 deletions

View file

@ -250,7 +250,8 @@ function notifications_content(&$a) {
'$gender_label' => t('Gender:'),
'$hidden' => array('hidden', t('Hide this contact from others'), ($rr['hidden'] == 1), ''),
'$activity' => array('activity', t('Post a new friend activity'), (intval(get_pconfig(local_user(),'system','post_newfriend')) ? '1' : 0), t('if applicable')),
'$url' => zrl($rr['url']),
'$url' => $rr['url'],
'$zrl' => zrl($rr['url']),
'$url_label' => t('Profile URL'),
'$knowyou' => $knowyou,
'$approve' => t('Approve'),