Why use 6 lines when you can use 8,000?

This commit is contained in:
Thomas Willingham
2013-10-02 20:39:47 +01:00
parent 6b095f7b23
commit 6224a5e458
3 changed files with 5 additions and 1 deletions

View File

@@ -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');

View File

@@ -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");