aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/php/style.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-10-02 22:59:58 -0700
committerfriendica <info@friendica.com>2013-10-02 22:59:58 -0700
commite1fb45bc4a17fe4b16b6f4d49f620d56009baa96 (patch)
tree4abceafe683aafba37edc4fbbe611d247eba7300 /view/theme/redbasic/php/style.php
parent355c42788412d99801ce0f172dd6dbf529c09baf (diff)
downloadvolse-hubzilla-e1fb45bc4a17fe4b16b6f4d49f620d56009baa96.tar.gz
volse-hubzilla-e1fb45bc4a17fe4b16b6f4d49f620d56009baa96.tar.bz2
volse-hubzilla-e1fb45bc4a17fe4b16b6f4d49f620d56009baa96.zip
bring back photo shadows (via theme settings)
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 88bf2ceb0..d97e85668 100644
--- a/view/theme/redbasic/php/style.php
+++ b/view/theme/redbasic/php/style.php
@@ -33,6 +33,7 @@
$font_size = get_pconfig($uid, "redbasic", "font_size");
$font_colour = get_pconfig($uid, "redbasic", "font_colour");
$radius = get_pconfig($uid, "redbasic", "radius");
+ $shadow = get_pconfig($uid,"redbasic","photo_shadow");
//Set some defaults - we have to do this after pulling owner settings, and we have to check for each setting
//individually. If we don't, we'll have problems if a user has set one, but not all options.
@@ -58,6 +59,8 @@
$font_colour = "000";
if (! $radius)
$radius = "5";
+ if (! $shadow)
+ $shadow = "0";
@@ -76,7 +79,8 @@ $options = array (
'$item_opacity' => $item_opacity,
'$font_size' => $font_size,
'$font_colour' => $font_colour,
-'$radius' => $radius
+'$radius' => $radius,
+'$shadow' => $shadow
);
echo str_replace(array_keys($options), array_values($options), $x);