X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fquattro%2Fconfig.php;h=cdef0eeaacfe039d7080fb0658ea9a83bc140b18;hb=15a5d689c6b0d3e0cac389aa4574605ed58dda9c;hp=4cd5a4a7d3d80aac61dea68b3eed3d5935ece085;hpb=5adfeb0bd5fed2f793332056c03bb7c043d5fc69;p=friendica.git diff --git a/view/theme/quattro/config.php b/view/theme/quattro/config.php index 4cd5a4a7d3..cdef0eeaac 100644 --- a/view/theme/quattro/config.php +++ b/view/theme/quattro/config.php @@ -1,10 +1,13 @@ "Quattro", "lilac" => "Lilac", "green" => "Green", - ); + ]; if ($tfs === false) { $tfs = "20"; @@ -66,15 +69,15 @@ function quattro_form(App $a, $align, $color, $tfs, $pfs) { $pfs = "12"; } - $t = get_markup_template("theme_settings.tpl" ); - $o .= replace_macros($t, array( - '$submit' => t('Submit'), + $t = Renderer::getMarkupTemplate("theme_settings.tpl" ); + $o = Renderer::replaceMacros($t, [ + '$submit' => L10n::t('Submit'), '$baseurl' => System::baseUrl(), - '$title' => t("Theme settings"), - '$align' => array('quattro_align', t('Alignment'), $align, '', array('left'=>t('Left'), 'center'=>t('Center'))), - '$color' => array('quattro_color', t('Color scheme'), $color, '', $colors), - '$pfs' => array('quattro_pfs', t('Posts font size'), $pfs), - '$tfs' => array('quattro_tfs', t('Textareas font size'), $tfs), - )); + '$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], + '$pfs' => ['quattro_pfs', L10n::t('Posts font size'), $pfs], + '$tfs' => ['quattro_tfs', L10n::t('Textareas font size'), $tfs], + ]); return $o; }