From d05899fb5014db3d86e34788aaac609f80e659f5 Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Thu, 10 Oct 2013 18:42:21 +0100 Subject: But remember to set the expert flag --- view/theme/redbasic/php/config.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'view') diff --git a/view/theme/redbasic/php/config.php b/view/theme/redbasic/php/config.php index d75203a79..deadbe2b1 100644 --- a/view/theme/redbasic/php/config.php +++ b/view/theme/redbasic/php/config.php @@ -55,10 +55,14 @@ function redbasic_form(&$a, $schema, $nav_colour, $background_colour, $backgroun '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), -- cgit v1.2.3