- $tpl = get_markup_template("contact_edit.tpl");
- $o .= replace_macros($tpl, [
- '$header' => L10n::t("Contact"),
- '$tab_str' => $tab_str,
- '$submit' => L10n::t('Submit'),
- '$lbl_vis1' => $lbl_vis1,
- '$lbl_vis2' => L10n::t('Please choose the profile you would like to display to %s when viewing your profile securely.', $contact['name']),
- '$lbl_info1' => $lbl_info1,
- '$lbl_info2' => L10n::t('Their personal note'),
- '$reason' => trim(notags($contact['reason'])),
- '$infedit' => L10n::t('Edit contact notes'),
- '$common_link' => 'common/loc/' . local_user() . '/' . $contact['id'],
- '$relation_text' => $relation_text,
- '$visit' => L10n::t('Visit %s\'s profile [%s]', $contact['name'], $contact['url']),
- '$blockunblock' => L10n::t('Block/Unblock contact'),
- '$ignorecont' => L10n::t('Ignore contact'),
- '$lblcrepair' => L10n::t("Repair URL settings"),
- '$lblrecent' => L10n::t('View conversations'),
- '$lblsuggest' => $lblsuggest,
- '$nettype' => $nettype,
- '$poll_interval' => $poll_interval,
- '$poll_enabled' => $poll_enabled,
- '$lastupdtext' => L10n::t('Last update:'),
- '$lost_contact' => $lost_contact,
- '$updpub' => L10n::t('Update public posts'),
- '$last_update' => $last_update,
- '$udnow' => L10n::t('Update now'),
- '$follow' => $follow,
- '$follow_text' => $follow_text,
+ $tpl = Renderer::getMarkupTemplate('contact_edit.tpl');
+ $o .= Renderer::replaceMacros($tpl, [
+ '$header' => L10n::t('Contact'),
+ '$tab_str' => $tab_str,
+ '$submit' => L10n::t('Submit'),
+ '$lbl_vis1' => $lbl_vis1,
+ '$lbl_vis2' => L10n::t('Please choose the profile you would like to display to %s when viewing your profile securely.', $contact['name']),
+ '$lbl_info1' => $lbl_info1,
+ '$lbl_info2' => L10n::t('Their personal note'),
+ '$reason' => trim(Strings::escapeTags($contact['reason'])),
+ '$infedit' => L10n::t('Edit contact notes'),
+ '$common_link' => 'common/loc/' . local_user() . '/' . $contact['id'],
+ '$relation_text' => $relation_text,
+ '$visit' => L10n::t('Visit %s\'s profile [%s]', $contact['name'], $contact['url']),
+ '$blockunblock' => L10n::t('Block/Unblock contact'),
+ '$ignorecont' => L10n::t('Ignore contact'),
+ '$lblcrepair' => L10n::t('Repair URL settings'),
+ '$lblrecent' => L10n::t('View conversations'),
+ '$lblsuggest' => $lblsuggest,
+ '$nettype' => $nettype,
+ '$poll_interval' => $poll_interval,
+ '$poll_enabled' => $poll_enabled,
+ '$lastupdtext' => L10n::t('Last update:'),
+ '$lost_contact' => $lost_contact,
+ '$updpub' => L10n::t('Update public posts'),
+ '$last_update' => $last_update,
+ '$udnow' => L10n::t('Update now'),
+ '$follow' => $follow,
+ '$follow_text' => $follow_text,