X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fquattro%2Fconfig.php;h=2a32b9f05a7cf851c8f1cc4d8c03f9094b71669a;hb=e1f366164509fc8217f9d0cf21d7475f6d71b73a;hp=32179dd9e2b0214cb5d0c1ec8dd4fc6743a790c4;hpb=453082516e90aba59553fd4392b2cdfed6ae9a57;p=friendica.git diff --git a/view/theme/quattro/config.php b/view/theme/quattro/config.php index 32179dd9e2..2a32b9f05a 100644 --- a/view/theme/quattro/config.php +++ b/view/theme/quattro/config.php @@ -48,7 +48,7 @@ function theme_admin_post(&$a){ } } - +/// @TODO $a is no longer used here function quattro_form(&$a, $align, $color, $tfs, $pfs){ $colors = array( "dark"=>"Quattro", @@ -60,15 +60,9 @@ function quattro_form(&$a, $align, $color, $tfs, $pfs){ 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); - - $o .= replace_macros($t, $includes + array( + $o .= replace_macros($t, array( '$submit' => t('Submit'), - '$baseurl' => $a->get_baseurl(), + '$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),