- $_SESSION["fastlane"] = $contact["url"];
-
- $header = t("Disconnect/Unfollow");
-
- $o = replace_macros($tpl,[
- '$header' => htmlentities($header),
- '$desc' => "",
- '$pls_answer' => "",
- '$does_know_you' => "",
- '$add_note' => "",
- '$page_desc' => "",
- '$friendica' => "",
- '$statusnet' => "",
- '$diaspora' => "",
- '$diasnote' => "",
- '$your_address' => t('Your Identity Address:'),
- '$invite_desc' => "",
- '$emailnet' => "",
- '$submit' => $submit,
- '$cancel' => t('Cancel'),
- '$nickname' => "",
- '$name' => $contact["name"],
- '$url' => $contact["url"],
- '$zrl' => Profile::zrl($contact["url"]),
- '$url_label' => t("Profile URL"),
- '$myaddr' => $myaddr,
- '$request' => $request,
- '$keywords' => "",
- '$keywords_label' => ""
+ $_SESSION['fastlane'] = $contact['url'];
+
+ $o = Renderer::replaceMacros($tpl, [
+ '$header' => L10n::t('Disconnect/Unfollow'),
+ '$desc' => '',
+ '$pls_answer' => '',
+ '$does_know_you' => '',
+ '$add_note' => '',
+ '$page_desc' => '',
+ '$friendica' => '',
+ '$statusnet' => '',
+ '$diaspora' => '',
+ '$diasnote' => '',
+ '$your_address' => L10n::t('Your Identity Address:'),
+ '$invite_desc' => '',
+ '$emailnet' => '',
+ '$submit' => L10n::t('Submit Request'),
+ '$cancel' => L10n::t('Cancel'),
+ '$nickname' => '',
+ '$name' => $contact['name'],
+ '$url' => $contact['url'],
+ '$zrl' => Contact::magicLink($contact['url']),
+ '$url_label' => L10n::t('Profile URL'),
+ '$myaddr' => $self['url'],
+ '$request' => $request,
+ '$keywords' => '',
+ '$keywords_label'=> ''