X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fduepuntozero%2Fconfig.php;h=cd04455512d2dbd3f2a723661b05674365968c92;hb=035528c2bec698dc372c0d1337e8dbbf3a9f967f;hp=d8323225d5bf1399d2999e36022786d667f5a46a;hpb=170e84e9f2da8d2fecd3a25d790b053b568cd45a;p=friendica.git diff --git a/view/theme/duepuntozero/config.php b/view/theme/duepuntozero/config.php index d8323225d5..cd04455512 100644 --- a/view/theme/duepuntozero/config.php +++ b/view/theme/duepuntozero/config.php @@ -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,10 +67,9 @@ function clean_form(App $a, &$colorset, $user) $color = Config::get('duepuntozero', 'colorset'); } - $t = get_markup_template("theme_settings.tpl"); - $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"), '$colorset' => ['duepuntozero_colorset', L10n::t('Variations'), $color, '', $colorset], ]);