]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/duepuntozero/config.php
Merge pull request #6726 from MrPetovan/task/6676-fix-implicit-mentions
[friendica.git] / view / theme / duepuntozero / config.php
index 30eb256237fbc062b5a5c36238d36557f9315a42..430fa7f60c59a679b3551be6534cf6a7beff5288 100644 (file)
@@ -7,6 +7,7 @@ use Friendica\App;
 use Friendica\Core\Config;
 use Friendica\Core\L10n;
 use Friendica\Core\PConfig;
+use Friendica\Core\Renderer;
 use Friendica\Core\System;
 
 function theme_content(App $a)
@@ -66,9 +67,8 @@ function clean_form(App $a, &$colorset, $user)
                $color = Config::get('duepuntozero', 'colorset');
        }
 
-       $t = get_markup_template("theme_settings.tpl");
-       /// @TODO No need for adding string here, $o is not defined
-       $o .= replace_macros($t, [
+       $t = Renderer::getMarkupTemplate("theme_settings.tpl");
+       $o = Renderer::replaceMacros($t, [
                '$submit'   => L10n::t('Submit'),
                '$baseurl'  => System::baseUrl(),
                '$title'    => L10n::t("Theme settings"),