X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fquattro%2Fconfig.php;h=47210012caa8f7ce95ae89640781a60ce78502c1;hb=4e49939421d39dfa971d8744691568bcdbdca15e;hp=32179dd9e2b0214cb5d0c1ec8dd4fc6743a790c4;hpb=1392c58377b462c10f9db5edc97cd82d3a683dc7;p=friendica.git diff --git a/view/theme/quattro/config.php b/view/theme/quattro/config.php index 32179dd9e2..47210012ca 100644 --- a/view/theme/quattro/config.php +++ b/view/theme/quattro/config.php @@ -1,26 +1,29 @@ "Quattro", - "lilac"=>"Lilac", - "green"=>"Green" + "dark" => "Quattro", + "lilac" => "Lilac", + "green" => "Green", ); - - if ($tfs===false) $tfs="20"; - if ($pfs===false) $pfs="12"; - - $t = get_markup_template("theme_settings.tpl" ); - $includes = array( - '$field_select' => 'field_select.tpl', - ); - $includes = set_template_includes($a->theme['template_engine'], $includes); + if ($tfs === false) { + $tfs = "20"; + } + if ($pfs === false) { + $pfs = "12"; + } - $o .= replace_macros($t, $includes + array( - '$submit' => t('Submit'), - '$baseurl' => $a->get_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), + $t = get_markup_template("theme_settings.tpl" ); + $o .= replace_macros($t, array( + '$submit' => t('Submit'), + '$baseurl' => App::get_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), )); return $o; }