X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fquattro%2Fconfig.php;h=bbe33a1e14f52ce0fdcb4c3f41d1dfa66c652352;hb=HEAD;hp=562a9ff5f1c67f854c4c5f34ddbced0b5cc67f50;hpb=724a58e79a664b65a3b68a4e3eb7fc88e1958af5;p=friendica.git diff --git a/view/theme/quattro/config.php b/view/theme/quattro/config.php index 562a9ff5f1..bbe33a1e14 100644 --- a/view/theme/quattro/config.php +++ b/view/theme/quattro/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) { @@ -68,10 +69,9 @@ function quattro_form(App $a, $align, $color, $tfs, $pfs) { $pfs = "12"; } - $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"), '$align' => ['quattro_align', L10n::t('Alignment'), $align, '', ['left' => L10n::t('Left'), 'center' => L10n::t('Center')]], '$color' => ['quattro_color', L10n::t('Color scheme'), $color, '', $colors],