diff options
author | marijus <mario@localhost.localdomain> | 2013-11-06 00:16:02 +0100 |
---|---|---|
committer | marijus <mario@localhost.localdomain> | 2013-11-06 00:16:02 +0100 |
commit | 9dfa7c6030d673a05a5c9bc692c579ec7eeeb7db (patch) | |
tree | 9f6c4a301c2b6bb41d8f67962461ecba30749995 /view/theme/redbasic/php/style.php | |
parent | f9e97d97acbdc0588a1b161924f81a300d2f39d6 (diff) | |
download | volse-hubzilla-9dfa7c6030d673a05a5c9bc692c579ec7eeeb7db.tar.gz volse-hubzilla-9dfa7c6030d673a05a5c9bc692c579ec7eeeb7db.tar.bz2 volse-hubzilla-9dfa7c6030d673a05a5c9bc692c579ec7eeeb7db.zip |
make the font-colour for the banner adjustable as well
Diffstat (limited to 'view/theme/redbasic/php/style.php')
-rw-r--r-- | view/theme/redbasic/php/style.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php index 56df0f4f2..6ea6faadc 100644 --- a/view/theme/redbasic/php/style.php +++ b/view/theme/redbasic/php/style.php @@ -12,6 +12,7 @@ $nav_colour = get_pconfig($uid, "redbasic", "nav_colour"); // Load the owners pconfig + $banner_colour = get_pconfig($uid,'redbasic','banner_colour'); $schema = get_pconfig($uid,'redbasic','schema'); $bgcolour = get_pconfig($uid, "redbasic", "background_colour"); $background_image = get_pconfig($uid, "redbasic", "background_image"); @@ -54,6 +55,8 @@ $nav_bg_3 = "#f00"; $nav_bg_4 = "#b00"; } + if (! $banner_colour) + $banner_colour = "fff"; if (! $bgcolour) $bgcolour = "fff"; if (! $background_image) @@ -116,6 +119,7 @@ $options = array ( '$nav_bg_2' => $nav_bg_2, '$nav_bg_3' => $nav_bg_3, '$nav_bg_4' => $nav_bg_4, +'$banner_colour' => $banner_colour, '$search_background' => $search_background, '$bgcolour' => $bgcolour, '$background_image' => $background_image, @@ -137,4 +141,4 @@ echo str_replace(array_keys($options), array_values($options), $x); if($sloppy_photos && file_exists('view/theme/redbasic/css/sloppy_photos.css')) { echo file_get_contents('view/theme/redbasic/css/sloppy_photos.css'); -}
\ No newline at end of file +} |