aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/php/config.php
diff options
context:
space:
mode:
authorThomas Willingham <founder@kakste.com>2013-03-11 01:12:13 +0000
committerThomas Willingham <founder@kakste.com>2013-03-11 01:12:13 +0000
commit9834df13c96caa975a4e2de93452828db2a8c76b (patch)
treeffb45298553b504daaa6b3665718f7dc7a9ea4fb /view/theme/redbasic/php/config.php
parentf96125117649036279cfd2b66a4b64f3ca3a724e (diff)
downloadvolse-hubzilla-9834df13c96caa975a4e2de93452828db2a8c76b.tar.gz
volse-hubzilla-9834df13c96caa975a4e2de93452828db2a8c76b.tar.bz2
volse-hubzilla-9834df13c96caa975a4e2de93452828db2a8c76b.zip
Make idiot mode colour schemes work.
Diffstat (limited to 'view/theme/redbasic/php/config.php')
-rw-r--r--view/theme/redbasic/php/config.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/view/theme/redbasic/php/config.php b/view/theme/redbasic/php/config.php
index 73d993d6c..21399945c 100644
--- a/view/theme/redbasic/php/config.php
+++ b/view/theme/redbasic/php/config.php
@@ -15,7 +15,8 @@ function theme_content(&$a) {
$linkcolour = get_pconfig(local_user(), 'redbasic', 'linkcolour');
$iconset = get_pconfig(local_user(), 'redbasic', 'iconset');
$shiny = get_pconfig(local_user(), 'redbasic', 'shiny');
- return redbasic_form($a, $font_size, $line_height, $colour, $shadow, $navcolour, $opaquenav, $displaystyle, $linkcolour, $iconset, $shiny);
+ $colour_scheme = get_pconfig(local_user(), 'redbasic', 'colour_scheme');
+ return redbasic_form($a, $font_size, $line_height, $colour, $shadow, $navcolour, $opaquenav, $displaystyle, $linkcolour, $iconset, $shiny, $colour_scheme);
}
function theme_post(&$a) {
@@ -31,6 +32,7 @@ function theme_post(&$a) {
set_pconfig(local_user(), 'redbasic', 'linkcolour', $_POST['redbasic_linkcolour']);
set_pconfig(local_user(), 'redbasic', 'iconset', $_POST['redbasic_iconset']);
set_pconfig(local_user(), 'redbasic', 'shiny', $_POST['redbasic_shiny']);
+ set_pconfig(local_user(), 'redbasic', 'colour_scheme', $_POST['redbasic_colour_scheme']);
}
}
@@ -65,7 +67,7 @@ function theme_post(&$a) {
//}
// These aren't all used yet, but they're not bloat - we'll use drop down menus in idiot mode.
-function redbasic_form(&$a, $font_size, $line_height, $colour, $shadow, $navcolour, $opaquenav, $displaystyle, $linkcolour, $iconset, $shiny) {
+function redbasic_form(&$a, $font_size, $line_height, $colour, $shadow, $navcolour, $opaquenav, $displaystyle, $linkcolour, $iconset, $shiny, $colour_scheme) {
$line_heights = array(
"1.3" => "1.3",
"---" => "---",