From 6224a5e458dd06c791e073c7b21a3b0fefd5e4d6 Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Wed, 2 Oct 2013 20:39:47 +0100 Subject: Why use 6 lines when you can use 8,000? --- view/theme/redbasic/php/config.php | 1 + view/theme/redbasic/php/style.php | 3 +++ 2 files changed, 4 insertions(+) (limited to 'view/theme/redbasic/php') 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"); -- cgit v1.2.3