mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-10 10:28:50 +00:00
move to Renderer class
update functions calls for new Renderer class.
This commit is contained in:
parent
43f7ea1e16
commit
9079480d4a
30 changed files with 108 additions and 78 deletions
|
@ -13,6 +13,7 @@ use Friendica\Content\Text\BBCode;
|
|||
use Friendica\Core\Config;
|
||||
use Friendica\Core\L10n;
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\Core\Renderer;
|
||||
use Friendica\Util\Emailer;
|
||||
|
||||
function notifyall_install()
|
||||
|
@ -105,7 +106,7 @@ function notifyall_content(&$a)
|
|||
|
||||
$title = L10n::t('Send email to all members of this Friendica instance.');
|
||||
|
||||
$o = replace_macros(get_markup_template('notifyall_form.tpl', 'addon/notifyall/'), [
|
||||
$o = Renderer::replaceMacros(Renderer::getMarkupTemplate('notifyall_form.tpl', 'addon/notifyall/'), [
|
||||
'$title' => $title,
|
||||
'$text' => htmlspecialchars(defaults($_REQUEST, 'text', '')),
|
||||
'$subject' => ['subject', L10n::t('Message subject'), defaults($_REQUEST, 'subject', ''),''],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue