diff options
author | redmatrix <mike@macgirvin.com> | 2016-09-01 12:42:47 -0700 |
---|---|---|
committer | redmatrix <mike@macgirvin.com> | 2016-09-01 12:42:47 -0700 |
commit | 2ebb8851f684be467ae768fdac0eead1a636805c (patch) | |
tree | c37a02dcd170fa04280582a992863c065134391f /Zotlabs/Render/Theme.php | |
parent | 6adb18091124cd51e1bf8a2efae31cb83a0db075 (diff) | |
download | volse-hubzilla-2ebb8851f684be467ae768fdac0eead1a636805c.tar.gz volse-hubzilla-2ebb8851f684be467ae768fdac0eead1a636805c.tar.bz2 volse-hubzilla-2ebb8851f684be467ae768fdac0eead1a636805c.zip |
theme preview - that was easy; plus a bit more tweaking of the saved search widget to try and get the sucker to auto submit
Diffstat (limited to 'Zotlabs/Render/Theme.php')
-rw-r--r-- | Zotlabs/Render/Theme.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Zotlabs/Render/Theme.php b/Zotlabs/Render/Theme.php index 62068bc82..9f9009d72 100644 --- a/Zotlabs/Render/Theme.php +++ b/Zotlabs/Render/Theme.php @@ -66,6 +66,8 @@ class Theme { $chosen_theme = $page_theme; } } + if(array_key_exists('theme_preview',$_GET)) + $chosen_theme = $_GET['theme_preview']; // Allow theme selection of the form 'theme_name:schema_name' |