aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic
diff options
context:
space:
mode:
authorJeroen van Riet Paap <jeroenpraat@xs4all.nl>2016-03-07 17:03:02 +0100
committerJeroen van Riet Paap <jeroenpraat@xs4all.nl>2016-03-07 17:03:02 +0100
commit7a5213cc8e7aee131df4347442b05c56c47a3fac (patch)
treebf4e334f2006a8f7224987ed122bf18f31e1c1e9 /view/theme/redbasic
parentf1f19372ad518ea1408924253d68f445c7ec2f0a (diff)
downloadvolse-hubzilla-7a5213cc8e7aee131df4347442b05c56c47a3fac.tar.gz
volse-hubzilla-7a5213cc8e7aee131df4347442b05c56c47a3fac.tar.bz2
volse-hubzilla-7a5213cc8e7aee131df4347442b05c56c47a3fac.zip
Set the schema to the default schema in derived themes.
See the documentation for creating derived themes how to override this.
Diffstat (limited to 'view/theme/redbasic')
-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', '---');