mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +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
|
@ -49,6 +49,7 @@ use Friendica\Core\L10n;
|
|||
use Friendica\Core\Logger;
|
||||
use Friendica\Core\PConfig;
|
||||
use Friendica\Core\Protocol;
|
||||
use Friendica\Core\Renderer;
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\Model\Contact;
|
||||
use Friendica\Model\GContact;
|
||||
|
@ -668,8 +669,8 @@ function statusnet_addon_admin(App $a, &$o)
|
|||
//'applicationname' => Array("applicationname[$id]", L10n::t("Application name"), "", ""),
|
||||
];
|
||||
|
||||
$t = get_markup_template("admin.tpl", "addon/statusnet/");
|
||||
$o = replace_macros($t, [
|
||||
$t = Renderer::getMarkupTemplate("admin.tpl", "addon/statusnet/");
|
||||
$o = Renderer::replaceMacros($t, [
|
||||
'$submit' => L10n::t('Save Settings'),
|
||||
'$sites' => $sitesform,
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue