X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fquattro%2Fconfig.php;h=47210012caa8f7ce95ae89640781a60ce78502c1;hb=4e49939421d39dfa971d8744691568bcdbdca15e;hp=c261a78ecbc9b56b3deec81c47a82aef20f6fc90;hpb=11ba88b6d21a40c302d21646dfa9366bb393931d;p=friendica.git diff --git a/view/theme/quattro/config.php b/view/theme/quattro/config.php index c261a78ecb..47210012ca 100644 --- a/view/theme/quattro/config.php +++ b/view/theme/quattro/config.php @@ -1,59 +1,79 @@ "Quattro", - "green"=>"Green" + "dark" => "Quattro", + "lilac" => "Lilac", + "green" => "Green", ); - - $t = file_get_contents( dirname(__file__). "/theme_settings.tpl" ); + + 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'), - '$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), + '$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; }