aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/php
diff options
context:
space:
mode:
authorThomas Willingham <founder@kakste.com>2013-10-02 20:39:47 +0100
committerThomas Willingham <founder@kakste.com>2013-10-02 20:39:47 +0100
commit6224a5e458dd06c791e073c7b21a3b0fefd5e4d6 (patch)
treed27773a2961d40323b73d9319356e7d2b814d4de /view/theme/redbasic/php
parent6b095f7b237a62463abcf7257304fce83b60890f (diff)
downloadvolse-hubzilla-6224a5e458dd06c791e073c7b21a3b0fefd5e4d6.tar.gz
volse-hubzilla-6224a5e458dd06c791e073c7b21a3b0fefd5e4d6.tar.bz2
volse-hubzilla-6224a5e458dd06c791e073c7b21a3b0fefd5e4d6.zip
Why use 6 lines when you can use 8,000?
Diffstat (limited to 'view/theme/redbasic/php')
-rw-r--r--view/theme/redbasic/php/config.php1
-rw-r--r--view/theme/redbasic/php/style.php3
2 files changed, 4 insertions, 0 deletions
diff --git a/view/theme/redbasic/php/config.php b/view/theme/redbasic/php/config.php
index 2502bb675..7470c399a 100644
--- a/view/theme/redbasic/php/config.php
+++ b/view/theme/redbasic/php/config.php
@@ -36,6 +36,7 @@ function redbasic_form(&$a, $nav_colour, $background_colour, $background_image,
$nav_colours = array (
'red' => 'red',
'black' => 'black',
+ 'silver' => 'silver',
);
$t = get_markup_template('theme_settings.tpl');
diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php
index e9ee57268..aff592a05 100644
--- a/view/theme/redbasic/php/style.php
+++ b/view/theme/redbasic/php/style.php
@@ -37,6 +37,9 @@
$nav_bg_1 = $nav_bg_3 = "#000";
$nav_bg_2 = $nav_bg_4 = "#222";
}
+ if ($nav_colour == "silver") {
+ $nav_bg_1 = $nav_bg_2 = $nav_bg_3 = $nav_bg_4 = "silver";
+ }
$background_colour = get_pconfig($uid, "redbasic", "background_colour");
$background_image = get_pconfig($uid, "redbasic", "background_image");