mirror of
https://github.com/friendica/friendica
synced 2025-04-25 03:10:11 +00:00
replace macros
implement new replaceMacros function
This commit is contained in:
parent
f6c86649c2
commit
91facd2d0a
91 changed files with 335 additions and 249 deletions
|
@ -6,6 +6,7 @@ use Friendica\App;
|
|||
use Friendica\Core\Addon;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Core\L10n;
|
||||
use Friendica\Core\Renderer;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Module\Login;
|
||||
|
||||
|
@ -54,7 +55,7 @@ function home_content(App $a) {
|
|||
|
||||
|
||||
$tpl = get_markup_template('home.tpl');
|
||||
return replace_macros($tpl, [
|
||||
return Renderer::replaceMacros($tpl, [
|
||||
'$defaultheader' => $defaultheader,
|
||||
'$customhome' => $customhome,
|
||||
'$login' => $login,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue