transfer some stuff from "follow" to the "notifications" to reduce the differences in the two dialogues.

This commit is contained in:
Michael Vogel 2015-10-04 15:55:24 +02:00
parent ba41336099
commit 83ea4f7253
3 changed files with 5 additions and 3 deletions

View file

@ -216,7 +216,7 @@ function notifications_content(&$a) {
'$contact_id' => $rr['contact-id'],
'$photo' => ((x($rr,'photo')) ? proxy_url($rr['photo']) : "images/person-175.jpg"),
'$fullname' => $rr['name'],
'$location' => $rr['glocation'],
'$location' => bbcode($rr['glocation'], false, false),
'$location_label' => t('Location:'),
'$about' => proxy_parse_html(bbcode($rr['gabout'], false, false)),
'$about_label' => t('About:'),
@ -227,6 +227,7 @@ function notifications_content(&$a) {
'$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_label' => t('Profile URL'),
'$knowyou' => $knowyou,
'$approve' => t('Approve'),
'$note' => $rr['note'],