diff options
author | Thomas Willingham <founder@kakste.com> | 2013-10-10 18:42:21 +0100 |
---|---|---|
committer | Thomas Willingham <founder@kakste.com> | 2013-10-10 18:42:21 +0100 |
commit | d05899fb5014db3d86e34788aaac609f80e659f5 (patch) | |
tree | 15ca0dd338f07547cc554182158e6b007bbaf720 /view/theme/redbasic/php | |
parent | 41838fdfad93e6bbee54f27350f611b4c5b7e403 (diff) | |
download | volse-hubzilla-d05899fb5014db3d86e34788aaac609f80e659f5.tar.gz volse-hubzilla-d05899fb5014db3d86e34788aaac609f80e659f5.tar.bz2 volse-hubzilla-d05899fb5014db3d86e34788aaac609f80e659f5.zip |
But remember to set the expert flag
Diffstat (limited to 'view/theme/redbasic/php')
-rw-r--r-- | view/theme/redbasic/php/config.php | 4 |
1 files changed, 4 insertions, 0 deletions
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), |