]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/config.php
And some more templates
[friendica.git] / view / theme / frio / config.php
index 8bab362ff92812cf5183b1da737a13aa16c58438..f73ef3ab0a195114158e75704596b51791343bfa 100644 (file)
@@ -4,6 +4,7 @@ use Friendica\App;
 use Friendica\Core\Config;
 use Friendica\Core\L10n;
 use Friendica\Core\PConfig;
+use Friendica\Core\Renderer;
 use Friendica\Core\System;
 
 require_once 'view/theme/frio/php/Image.php';
@@ -113,7 +114,7 @@ function frio_form($arr)
 
        $background_image_help = '<strong>' . L10n::t('Note') . ': </strong>' . L10n::t('Check image permissions if all users are allowed to see the image');
 
-       $t = get_markup_template('theme_settings.tpl');
+       $t = Renderer::getMarkupTemplate('theme_settings.tpl');
        $ctx = [
                '$submit'           => L10n::t('Submit'),
                '$baseurl'          => System::baseUrl(),
@@ -137,7 +138,7 @@ function frio_form($arr)
                $ctx['$login_bg_color'] = ['frio_login_bg_color', L10n::t('Login page background color'), $arr['login_bg_color'], L10n::t('Leave background image and color empty for theme defaults'), false];
        }
 
-       $o = replace_macros($t, $ctx);
+       $o = Renderer::replaceMacros($t, $ctx);
 
        return $o;
 }