aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-09-25 12:02:00 +0200
committerMario Vavti <mario@mariovavti.com>2018-09-25 12:02:00 +0200
commit9bb0f1d18ece05ac1d37800c61d0b071f560dac3 (patch)
treecb1b837a184c1e38793bfd57ffa8e1a3e8ad7dbd /view
parent39866b74637a58df5b1ffb8f2b6f164849d65315 (diff)
downloadvolse-hubzilla-9bb0f1d18ece05ac1d37800c61d0b071f560dac3.tar.gz
volse-hubzilla-9bb0f1d18ece05ac1d37800c61d0b071f560dac3.tar.bz2
volse-hubzilla-9bb0f1d18ece05ac1d37800c61d0b071f560dac3.zip
move advanced_theming switch to settings/display for now
Diffstat (limited to 'view')
-rw-r--r--view/theme/redbasic/php/config.php2
-rwxr-xr-xview/tpl/settings_display.tpl1
2 files changed, 2 insertions, 1 deletions
diff --git a/view/theme/redbasic/php/config.php b/view/theme/redbasic/php/config.php
index f98182739..ae926d07b 100644
--- a/view/theme/redbasic/php/config.php
+++ b/view/theme/redbasic/php/config.php
@@ -85,7 +85,7 @@ class RedbasicConfig {
function form($arr) {
- if(feature_enabled(local_channel(),'advanced_theming'))
+ if(get_pconfig(local_channel(), 'system', 'advanced_theming'))
$expert = 1;
diff --git a/view/tpl/settings_display.tpl b/view/tpl/settings_display.tpl
index 1500ea0d3..ee0e137b5 100755
--- a/view/tpl/settings_display.tpl
+++ b/view/tpl/settings_display.tpl
@@ -69,6 +69,7 @@
{{include file="field_checkbox.tpl" field=$preload_images}}
{{include file="field_checkbox.tpl" field=$manual_update}}
{{include file="field_checkbox.tpl" field=$start_menu}}
+ {{include file="field_checkbox.tpl" field=$advanced_theming}}
{{if $expert}}
<div class="form-group">
<a class="btn btn-outline-secondary "href="pdledit">{{$layout_editor}}</a>