Formatting

This commit is contained in:
Michael 2021-05-12 11:54:43 +00:00
parent c3f28252ff
commit daa832fcf9

View file

@ -41,8 +41,7 @@ class Acknowledge extends BaseApi
{
DI::session()->set('return_path', $_REQUEST['return_path'] ?? '');
$tpl = Renderer::getMarkupTemplate('oauth_authorize.tpl');
$o = Renderer::replaceMacros($tpl, [
$o = Renderer::replaceMacros(Renderer::getMarkupTemplate('oauth_authorize.tpl'), [
'$title' => DI::l10n()->t('Authorize application connection'),
'$app' => ['name' => $_REQUEST['application'] ?? ''],
'$authorize' => DI::l10n()->t('Do you want to authorize this application to access your posts and contacts, and/or create new posts for you?'),