diff options
author | friendica <info@friendica.com> | 2014-02-27 20:48:10 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-02-27 20:48:10 -0800 |
commit | 102521844b3d6f31d0d801b0d0c89241c2c621af (patch) | |
tree | 9e44dc68fdf76640a3f784b1ae872b960d73a413 /view | |
parent | d2bc7c606a6585dc82127717acf2cfe60b45f987 (diff) | |
download | volse-hubzilla-102521844b3d6f31d0d801b0d0c89241c2c621af.tar.gz volse-hubzilla-102521844b3d6f31d0d801b0d0c89241c2c621af.tar.bz2 volse-hubzilla-102521844b3d6f31d0d801b0d0c89241c2c621af.zip |
put schemas in Comanche (this requires theme support (!))
Diffstat (limited to 'view')
-rw-r--r-- | view/theme/redbasic/php/style.php | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php index 901d06af7..01e81eb53 100644 --- a/view/theme/redbasic/php/style.php +++ b/view/theme/redbasic/php/style.php @@ -37,10 +37,16 @@ if(! $a->install) { } -// Now load the scheme. If a value is changed above, we'll keep the settings -// If not, we'll keep those defined by the schema -// Setting $scheme to '' wasn't working for some reason, so we'll check it's -// not --- like the mobile theme does instead. + // Now load the scheme. If a value is changed above, we'll keep the settings + // If not, we'll keep those defined by the schema + // Setting $schema to '' wasn't working for some reason, so we'll check it's + // not --- like the mobile theme does instead. + + + // Allow layouts to over-ride the schema + + if($_REQUEST['schema']) + $schema = $_REQUEST['schema']; if (($schema) && ($schema != '---')) { // Check it exists, because this setting gets distributed to clones |