mirror of
https://github.com/friendica/friendica
synced 2025-04-25 23:50: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
|
@ -3,6 +3,7 @@
|
|||
namespace Friendica\Content;
|
||||
|
||||
use Friendica\Core\L10n;
|
||||
use Friendica\Core\Renderer;
|
||||
|
||||
/**
|
||||
* The Pager has two very different output, Minimal and Full, see renderMinimal() and renderFull() for more details.
|
||||
|
@ -173,7 +174,7 @@ class Pager
|
|||
];
|
||||
|
||||
$tpl = get_markup_template('paginate.tpl');
|
||||
return replace_macros($tpl, ['pager' => $data]);
|
||||
return Renderer::replaceMacros($tpl, ['pager' => $data]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -277,6 +278,6 @@ class Pager
|
|||
}
|
||||
|
||||
$tpl = get_markup_template('paginate.tpl');
|
||||
return replace_macros($tpl, ['pager' => $data]);
|
||||
return Renderer::replaceMacros($tpl, ['pager' => $data]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue