replace macros

implement new replaceMacros function
This commit is contained in:
Adam Magness 2018-10-31 10:35:50 -04:00
parent f6c86649c2
commit 91facd2d0a
91 changed files with 335 additions and 249 deletions

View file

@ -9,6 +9,7 @@ use Friendica\Core\Config;
use Friendica\Core\L10n;
use Friendica\Core\Logger;
use Friendica\Core\UserImport;
use Friendica\Core\Renderer;
function uimport_post(App $a)
{
@ -49,7 +50,7 @@ function uimport_content(App $a)
}
$tpl = get_markup_template("uimport.tpl");
return replace_macros($tpl, [
return Renderer::replaceMacros($tpl, [
'$regbutt' => L10n::t('Import'),
'$import' => [
'title' => L10n::t("Move account"),