aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/php/style.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-07-17 02:01:35 -0700
committerfriendica <info@friendica.com>2013-07-17 02:01:35 -0700
commitd6133c861cfdaa4ec6a6f5fbb3b2a9062ad4bc91 (patch)
treea2a7321d028dd86469c21f7a7d4fee32fa280259 /view/theme/redbasic/php/style.php
parent4c30cddbfc105c0ea60f30594b760633e654cb0c (diff)
downloadvolse-hubzilla-d6133c861cfdaa4ec6a6f5fbb3b2a9062ad4bc91.tar.gz
volse-hubzilla-d6133c861cfdaa4ec6a6f5fbb3b2a9062ad4bc91.tar.bz2
volse-hubzilla-d6133c861cfdaa4ec6a6f5fbb3b2a9062ad4bc91.zip
configurable theme precedence rules, and passing the page owner to the pcss theme settings.
Diffstat (limited to 'view/theme/redbasic/php/style.php')
-rw-r--r--view/theme/redbasic/php/style.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php
index e42770d17..8643925d3 100644
--- a/view/theme/redbasic/php/style.php
+++ b/view/theme/redbasic/php/style.php
@@ -3,9 +3,11 @@
// the get_config bits, though this is untested.
// We also need to eventually. Use the page owners settings for everybody - get_pconfig(page_owner()) or whatever that would look like.
- $uid = get_controlling_channel_id();
- load_pconfig($uid,'redbasic');
+ $uid = get_theme_uid();
+
+ if($uid)
+ load_pconfig($uid,'redbasic');
$line_height = false;
$redbasic_font_size = false;