1
0
Fork 0

replace macros

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

View file

@ -11,6 +11,7 @@
*/
use Friendica\App;
use Friendica\Core\Renderer;
use Friendica\Core\System;
function smoothly_init(App $a) {
@ -112,6 +113,6 @@ if (! function_exists('_js_in_foot')) {
$bottom['$baseurl'] = $baseurl;
$tpl = get_markup_template('bottom.tpl');
return $a->page['bottom'] = replace_macros($tpl, $bottom);
return $a->page['bottom'] = Renderer::replaceMacros($tpl, $bottom);
}
}