diff options
author | friendica <info@friendica.com> | 2013-07-17 02:01:35 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-07-17 02:01:35 -0700 |
commit | d6133c861cfdaa4ec6a6f5fbb3b2a9062ad4bc91 (patch) | |
tree | a2a7321d028dd86469c21f7a7d4fee32fa280259 /view/theme/redbasic/php/config.php | |
parent | 4c30cddbfc105c0ea60f30594b760633e654cb0c (diff) | |
download | volse-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/config.php')
-rw-r--r-- | view/theme/redbasic/php/config.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/view/theme/redbasic/php/config.php b/view/theme/redbasic/php/config.php index 5917b1e36..4e7363362 100644 --- a/view/theme/redbasic/php/config.php +++ b/view/theme/redbasic/php/config.php @@ -23,7 +23,7 @@ function theme_content(&$a) { function theme_post(&$a) { if(!local_user()) { return; } - + if (isset($_POST['redbasic-settings-submit'])) { set_pconfig(local_user(), 'redbasic', 'font_size', $_POST['redbasic_font_size']); set_pconfig(local_user(), 'redbasic', 'line_height', $_POST['redbasic_line_height']); @@ -37,6 +37,7 @@ function theme_post(&$a) { set_pconfig(local_user(), 'redbasic', 'colour_scheme', $_POST['redbasic_colour_scheme']); set_pconfig(local_user(), 'redbasic', 'radius', $_POST['redbasic_radius']); } + } // We probably don't want these if we're having global settings, but we'll comment out for now, just in case |