X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fquattro%2Fconfig.php;h=5124dbfd7fe061e6132f9852efed182ec013264a;hb=54d598ce7c66308dbcf5d5aa0b14b3aec73885a8;hp=1a5a9c02132938bb5839467b05735a8e2272c7ec;hpb=8ec5b06e0440302cef9f6bc2f35730fca5a9030e;p=friendica.git diff --git a/view/theme/quattro/config.php b/view/theme/quattro/config.php index 1a5a9c0213..5124dbfd7f 100644 --- a/view/theme/quattro/config.php +++ b/view/theme/quattro/config.php @@ -1,75 +1,82 @@ "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'), - '$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), + '$submit' => 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), )); return $o; }