aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/php/style.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-11-05 15:31:03 -0800
committerfriendica <info@friendica.com>2013-11-05 15:31:03 -0800
commite28b12a5e191899695f51c57f90aa4e49b8f02c0 (patch)
treea424a700e1c371e58b8765e74278e86b2f82a3bc /view/theme/redbasic/php/style.php
parentb4f8c247a21d02e5fb2d85e761d37b8d8a02cf9b (diff)
parent4a371480c8e0aab1084341204efec80efb930a93 (diff)
downloadvolse-hubzilla-e28b12a5e191899695f51c57f90aa4e49b8f02c0.tar.gz
volse-hubzilla-e28b12a5e191899695f51c57f90aa4e49b8f02c0.tar.bz2
volse-hubzilla-e28b12a5e191899695f51c57f90aa4e49b8f02c0.zip
Merge https://github.com/friendica/red into zpull
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 3b2c3860b..bf98cbcce 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 = "#f5f5f5";
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
+}