+/// @TODO $a is no longer used here
+function quattro_form(&$a, $align, $color, $tfs, $pfs){
+ $colors = array(
+ "dark"=>"Quattro",
+ "lilac"=>"Lilac",
+ "green"=>"Green"
+ );
+
+ 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),
+ ));
+ return $o;
+}