mirror of
https://github.com/friendica/friendica
synced 2025-04-24 18:30: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
|
@ -8,6 +8,7 @@ namespace Friendica\Content;
|
|||
use Friendica\Core\Protocol;
|
||||
use Friendica\Content\Feature;
|
||||
use Friendica\Core\L10n;
|
||||
use Friendica\Core\Renderer;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\Model\Contact;
|
||||
|
@ -124,7 +125,7 @@ class ForumManager
|
|||
|
||||
$tpl = get_markup_template('widget_forumlist.tpl');
|
||||
|
||||
$o .= replace_macros(
|
||||
$o .= Renderer::replaceMacros(
|
||||
$tpl,
|
||||
[
|
||||
'$title' => L10n::t('Forums'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue