hopefully last feedback :)
This commit is contained in:
parent
41565326e3
commit
baa97febef
|
@ -341,7 +341,7 @@ class Profile
|
||||||
if ($visitor_is_following) {
|
if ($visitor_is_following) {
|
||||||
$unfollow_link = $visitor_base_path . '/contact/unfollow?url=' . urlencode($profile_url) . '&auto=1';
|
$unfollow_link = $visitor_base_path . '/contact/unfollow?url=' . urlencode($profile_url) . '&auto=1';
|
||||||
} else {
|
} else {
|
||||||
$follow_link = $visitor_base_path .'/contact/follow?url=' . urlencode($profile_url) . '&auto=1';
|
$follow_link = $visitor_base_path . '/contact/follow?url=' . urlencode($profile_url) . '&auto=1';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -387,7 +387,7 @@ return [
|
||||||
'/hidden' => [Module\Contact::class, [R::GET]],
|
'/hidden' => [Module\Contact::class, [R::GET]],
|
||||||
'/ignored' => [Module\Contact::class, [R::GET]],
|
'/ignored' => [Module\Contact::class, [R::GET]],
|
||||||
'/hovercard' => [Module\Contact\Hovercard::class, [R::GET]],
|
'/hovercard' => [Module\Contact\Hovercard::class, [R::GET]],
|
||||||
'/follow[/{url}]' => [Module\Contact\Follow::class, [R::GET, R::POST]],
|
'/follow' => [Module\Contact\Follow::class, [R::GET, R::POST]],
|
||||||
'/unfollow' => [Module\Contact\Unfollow::class, [R::GET, R::POST]],
|
'/unfollow' => [Module\Contact\Unfollow::class, [R::GET, R::POST]],
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
|
@ -154,7 +154,7 @@ function vier_community_info()
|
||||||
foreach ($contacts as $contact) {
|
foreach ($contacts as $contact) {
|
||||||
$entry = Renderer::replaceMacros($tpl, [
|
$entry = Renderer::replaceMacros($tpl, [
|
||||||
'$id' => $contact['id'],
|
'$id' => $contact['id'],
|
||||||
'$profile_link' => 'contact/follow/?url='.urlencode($contact['url']),
|
'$profile_link' => 'contact/follow?url=' . urlencode($contact['url']),
|
||||||
'$photo' => Contact::getMicro($contact),
|
'$photo' => Contact::getMicro($contact),
|
||||||
'$alt_text' => $contact['name'],
|
'$alt_text' => $contact['name'],
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user