separate the 'expert' feature into 'advanced_theming' and 'advanced_dirsearch'. Hide both features unless techlevel > 3.

This commit is contained in:
redmatrix
2016-09-01 19:01:02 -07:00
parent 720f1d7123
commit af87038150
5 changed files with 41 additions and 17 deletions

View File

@@ -98,8 +98,8 @@ function theme_post(&$a) {
function redbasic_form(&$a, $arr) {
if(feature_enabled(local_channel(),'expert'))
$expert = 1;
if(feature_enabled(local_channel(),'advanced_theming'))
$expert = 1;
$t = get_markup_template('theme_settings.tpl');
$o .= replace_macros($t, array(