aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/php/style.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-03-08 06:03:55 +1100
committerredmatrix <git@macgirvin.com>2016-03-08 06:03:55 +1100
commita2e0574fcea3c041e3865597b0eecea682289e94 (patch)
tree97a548343141a58a0ded084e08407c11d0664ed3 /view/theme/redbasic/php/style.php
parent68d7ab6b55d34e19055aaab30966c4827c63e370 (diff)
parent1f56ff5407fcbee3037e449a1b96261ab483aac9 (diff)
downloadvolse-hubzilla-a2e0574fcea3c041e3865597b0eecea682289e94.tar.gz
volse-hubzilla-a2e0574fcea3c041e3865597b0eecea682289e94.tar.bz2
volse-hubzilla-a2e0574fcea3c041e3865597b0eecea682289e94.zip
Merge pull request #312 from jeroenpraat/master
Redbasic: Fix the issue with derived themes and schemas
Diffstat (limited to 'view/theme/redbasic/php/style.php')
-rw-r--r--view/theme/redbasic/php/style.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php
index 0ca47b1fb..ef1450681 100644
--- a/view/theme/redbasic/php/style.php
+++ b/view/theme/redbasic/php/style.php
@@ -215,3 +215,8 @@ if($align_left && file_exists('view/theme/redbasic/css/align_left.css')) {
if($schemecss) {
echo $schemecss;
}
+
+// Set the schema to the default schema in derived themes. See the documentation for creating derived themes how to override this.
+
+if($a->channel['channel_theme'] != 'redbasic')
+ set_pconfig(local_channel(), 'redbasic', 'schema', '---');