aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/php/style.php
diff options
context:
space:
mode:
authormarijus <mario@localhost.localdomain>2013-11-06 00:16:02 +0100
committermarijus <mario@localhost.localdomain>2013-11-06 00:16:02 +0100
commit9dfa7c6030d673a05a5c9bc692c579ec7eeeb7db (patch)
tree9f6c4a301c2b6bb41d8f67962461ecba30749995 /view/theme/redbasic/php/style.php
parentf9e97d97acbdc0588a1b161924f81a300d2f39d6 (diff)
downloadvolse-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.php6
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
+}