X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fquattro%2Fconfig.php;h=47210012caa8f7ce95ae89640781a60ce78502c1;hb=4e49939421d39dfa971d8744691568bcdbdca15e;hp=9a08adbaf9f99bf790c8388e2c3dd4ccf7843934;hpb=0436782e70f496c96f30ee7822865f777ae1d73e;p=friendica.git diff --git a/view/theme/quattro/config.php b/view/theme/quattro/config.php index 9a08adbaf9..47210012ca 100644 --- a/view/theme/quattro/config.php +++ b/view/theme/quattro/config.php @@ -1,11 +1,12 @@ "Quattro", - "lilac"=>"Lilac", - "green"=>"Green" + "dark" => "Quattro", + "lilac" => "Lilac", + "green" => "Green", ); - - if ($tfs===false) $tfs="20"; - if ($pfs===false) $pfs="12"; - + + if ($tfs === false) { + $tfs = "20"; + } + if ($pfs === false) { + $pfs = "12"; + } + $t = get_markup_template("theme_settings.tpl" ); $o .= replace_macros($t, array( - '$submit' => t('Submit'), + '$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), + '$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; }