mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-11 01:24:27 +02:00
Use magicLink whenever possible
This commit is contained in:
parent
885f2b52d1
commit
8a34895a23
23 changed files with 61 additions and 165 deletions
|
@ -86,14 +86,14 @@ function match_content(App $a)
|
|||
$jj->photo = str_replace("http:///photo/", get_server()."/photo/", $jj->photo);
|
||||
$connlnk = System::baseUrl() . '/follow/?url=' . $jj->url;
|
||||
$photo_menu = [
|
||||
'profile' => [L10n::t("View Profile"), Profile::zrl($jj->url)],
|
||||
'profile' => [L10n::t("View Profile"), Contact::magicLink($jj->url)],
|
||||
'follow' => [L10n::t("Connect/Follow"), $connlnk]
|
||||
];
|
||||
|
||||
$contact_details = Contact::getDetailsByURL($jj->url, local_user());
|
||||
|
||||
$entry = [
|
||||
'url' => Profile::zrl($jj->url),
|
||||
'url' => Contact::magicLink($jj->url),
|
||||
'itemurl' => (($contact_details['addr'] != "") ? $contact_details['addr'] : $jj->url),
|
||||
'name' => $jj->name,
|
||||
'details' => $contact_details['location'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue