X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Fapps.php;h=d497ce93a2812c6695dbc160bd491c8734562c65;hb=06157c2ab0d61347c05fbf9d4d1149fbfaaebb7d;hp=80138f78dc9654d1c959dfcd0f9614d38e790c82;hpb=9c9ebfc7c97016881d9ad2bb3c3b54a5640d2f08;p=friendica.git diff --git a/mod/apps.php b/mod/apps.php index 80138f78dc..d497ce93a2 100644 --- a/mod/apps.php +++ b/mod/apps.php @@ -5,6 +5,7 @@ use Friendica\Content\Nav; use Friendica\Core\Config; use Friendica\Core\L10n; +use Friendica\Core\Renderer; function apps_content() { @@ -24,8 +25,8 @@ function apps_content() notice(L10n::t('No installed applications.') . EOL); } - $tpl = get_markup_template('apps.tpl'); - return replace_macros($tpl, [ + $tpl = Renderer::getMarkupTemplate('apps.tpl'); + return Renderer::replaceMacros($tpl, [ '$title' => $title, '$apps' => $apps, ]);