configurable theme precedence rules, and passing the page owner to the pcss theme settings.

This commit is contained in:
friendica
2013-07-17 02:01:35 -07:00
parent 4c30cddbfc
commit d6133c861c
5 changed files with 50 additions and 7 deletions

View File

@@ -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;