get markup template
implement getMarkupTemplate function
This commit is contained in:
parent
91facd2d0a
commit
35abc4bb64
89 changed files with 243 additions and 243 deletions
|
@ -82,7 +82,7 @@ function api_content(App $a)
|
|||
killme();
|
||||
}
|
||||
|
||||
$tpl = get_markup_template("oauth_authorize_done.tpl");
|
||||
$tpl = Renderer::getMarkupTemplate("oauth_authorize_done.tpl");
|
||||
$o = Renderer::replaceMacros($tpl, [
|
||||
'$title' => L10n::t('Authorize application connection'),
|
||||
'$info' => L10n::t('Return to your app and insert this Securty Code:'),
|
||||
|
@ -104,7 +104,7 @@ function api_content(App $a)
|
|||
return "Invalid request. Unknown token.";
|
||||
}
|
||||
|
||||
$tpl = get_markup_template('oauth_authorize.tpl');
|
||||
$tpl = Renderer::getMarkupTemplate('oauth_authorize.tpl');
|
||||
$o = Renderer::replaceMacros($tpl, [
|
||||
'$title' => L10n::t('Authorize application connection'),
|
||||
'$app' => $app,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue