'red', 'black' => 'black', 'silver' => 'silver', ); if(feature_enabled(local_user(),'expert')) $expert = 1; $t = get_markup_template('theme_settings.tpl'); $o .= replace_macros($t, array( '$submit' => t('Submit'), '$baseurl' => $a->get_baseurl(), '$expert' => $expert, '$title' => t("Theme settings"), '$schema' => array('redbasic_schema', t('Set scheme'), $schema, '', $scheme_choices), '$nav_colour' => array('redbasic_nav_colour', t('Navigation bar colour'), $nav_colour, '', $nav_colours), '$background_colour' => array('redbasic_background_colour', t('Set the background colour'), $background_colour), '$background_image' => array('redbasic_background_image', t('Set the background image'), $background_image), '$item_colour' => array('redbasic_item_colour', t('Set the background colour of items'), $item_colour), '$item_opacity' => array('redbasic_item_opacity', t('Set the opacity of items'), $item_opacity), '$font_size' => array('redbasic_font_size', t('Set font-size for posts and comments'), $font_size), '$font_colour' => array('redbasic_font_colour', t('Set font-colour for posts and comments'), $font_colour), '$radius' => array('redbasic_radius', t('Set radius of corners'), $radius), '$shadow' => array('redbasic_shadow', t('Set shadow depth of photos'), $shadow), )); return $o; }