replace macros
implement new replaceMacros function
This commit is contained in:
parent
f6c86649c2
commit
91facd2d0a
91 changed files with 335 additions and 249 deletions
|
@ -12,6 +12,7 @@ use Friendica\Core\Config;
|
|||
use Friendica\Core\L10n;
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\Core\Protocol;
|
||||
use Friendica\Core\Renderer;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\Model\Contact;
|
||||
|
@ -263,7 +264,7 @@ function display_content(App $a, $update = false, $update_uid = 0)
|
|||
$conversation = '';
|
||||
}
|
||||
|
||||
$a->page['htmlhead'] .= replace_macros(get_markup_template('display-head.tpl'),
|
||||
$a->page['htmlhead'] .= Renderer::replaceMacros(get_markup_template('display-head.tpl'),
|
||||
['$alternate' => $alternate,
|
||||
'$conversation' => $conversation]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue