]> git.mxchange.org Git - friendica.git/blobdiff - mod/allfriends.php
Added support for internal Diaspora links to accounts
[friendica.git] / mod / allfriends.php
index 7840699a8e7c668c929647403ad3e1e6d605a997..d85d3ec9b36938f015e3f197c154ed086d98c6f7 100644 (file)
@@ -70,7 +70,7 @@ function allfriends_content(App $a)
                } else {
                        $connlnk = System::baseUrl() . '/follow/?url=' . $rr['url'];
                        $photo_menu = [
-                               'profile' => [L10n::t("View Profile"), Profile::zrl($rr['url'])],
+                               'profile' => [L10n::t("View Profile"), Contact::magicLink($rr['url'])],
                                'follow' => [L10n::t("Connect/Follow"), $connlnk]
                        ];
                }
@@ -99,7 +99,7 @@ function allfriends_content(App $a)
        $tpl = get_markup_template('viewcontact_template.tpl');
 
        $o .= replace_macros($tpl, [
-               //'$title' => sprintf(L10n::t('Friends of %s'), htmlentities($c[0]['name'])),
+               //'$title' => L10n::t('Friends of %s', htmlentities($c[0]['name'])),
                '$tab_str' => $tab_str,
                '$contacts' => $entries,
                '$paginate' => paginate($a),