mirror of
https://github.com/friendica/friendica
synced 2025-04-25 15:10:13 +00:00
get markup template
implement getMarkupTemplate function
This commit is contained in:
parent
91facd2d0a
commit
35abc4bb64
89 changed files with 243 additions and 243 deletions
|
@ -515,7 +515,7 @@ function dfrn_request_content(App $a)
|
|||
return; // NOTREACHED
|
||||
}
|
||||
|
||||
$tpl = get_markup_template("dfrn_req_confirm.tpl");
|
||||
$tpl = Renderer::getMarkupTemplate("dfrn_req_confirm.tpl");
|
||||
$o = Renderer::replaceMacros($tpl, [
|
||||
'$dfrn_url' => $dfrn_url,
|
||||
'$aes_allow' => (($aes_allow) ? '<input type="hidden" name="aes_allow" value="1" />' : "" ),
|
||||
|
@ -628,9 +628,9 @@ function dfrn_request_content(App $a)
|
|||
* it doesn't matter if they know you or not.
|
||||
*/
|
||||
if ($a->profile['page-flags'] == Contact::PAGE_NORMAL) {
|
||||
$tpl = get_markup_template('dfrn_request.tpl');
|
||||
$tpl = Renderer::getMarkupTemplate('dfrn_request.tpl');
|
||||
} else {
|
||||
$tpl = get_markup_template('auto_request.tpl');
|
||||
$tpl = Renderer::getMarkupTemplate('auto_request.tpl');
|
||||
}
|
||||
|
||||
$page_desc = L10n::t("Please enter your 'Identity Address' from one of the following supported communications networks:");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue