mirror of
https://github.com/friendica/friendica
synced 2024-11-09 16:22:56 +00:00
hopefully last feedback :)
This commit is contained in:
parent
41565326e3
commit
baa97febef
3 changed files with 3 additions and 3 deletions
|
@ -341,7 +341,7 @@ class Profile
|
|||
if ($visitor_is_following) {
|
||||
$unfollow_link = $visitor_base_path . '/contact/unfollow?url=' . urlencode($profile_url) . '&auto=1';
|
||||
} 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]],
|
||||
'/ignored' => [Module\Contact::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]],
|
||||
],
|
||||
|
||||
|
|
|
@ -154,7 +154,7 @@ function vier_community_info()
|
|||
foreach ($contacts as $contact) {
|
||||
$entry = Renderer::replaceMacros($tpl, [
|
||||
'$id' => $contact['id'],
|
||||
'$profile_link' => 'contact/follow/?url='.urlencode($contact['url']),
|
||||
'$profile_link' => 'contact/follow?url=' . urlencode($contact['url']),
|
||||
'$photo' => Contact::getMicro($contact),
|
||||
'$alt_text' => $contact['name'],
|
||||
]);
|
||||
|
|
Loading…
Reference in a new issue