diff --git a/inc/config.php b/inc/config.php index cec996c1..d82ebfc6 100644 --- a/inc/config.php +++ b/inc/config.php @@ -999,7 +999,7 @@ // Bypass flood check $config['mod']['flood'] = ADMIN; // Raw HTML posting - $config['mod']['rawhtml'] = MOD; + $config['mod']['rawhtml'] = DISABLED; /* Administration */ // View the report queue diff --git a/templates/mod/config-editor.html b/templates/mod/config-editor.html index ec7213bb..41e01dad 100644 --- a/templates/mod/config-editor.html +++ b/templates/mod/config-editor.html @@ -25,6 +25,13 @@ {% if var.type == 'string' %} + {% elseif var.type == 'integer' and var.name.0 == 'mod' and (var.default in ['JANITOR', 'MOD', 'ADMIN', 'DISABLED'] or var.default|slice(0, 14) == "$config['mod']") and var.value <= constant('DISABLED') %} + {% elseif var.type == 'integer' %} {% elseif var.type == 'boolean' %}