X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=view%2Ftheme%2Fquattro%2Fconfig.php;h=47210012caa8f7ce95ae89640781a60ce78502c1;hb=4e49939421d39dfa971d8744691568bcdbdca15e;hp=0f2fc53ca08eb4f105a0c97bf3686ea5d45d3d37;hpb=9d4fdee65d54a0ece18faaf2ec59af764f62d80d;p=friendica.git diff --git a/view/theme/quattro/config.php b/view/theme/quattro/config.php index 0f2fc53ca0..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 = 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), - '$pfs' => array('quattro_pfs', t('Posts font size'), $pfs), - '$tfs' => array('quattro_tfs',t('Textareas font size'), $tfs), + '$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; }