aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/php/style.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-10-19 23:39:03 -0700
committerfriendica <info@friendica.com>2013-10-19 23:39:03 -0700
commit5c5174b00837133dcebb9003d8386ef8596b0a55 (patch)
tree828193c4cc208edb695c193c9630021e17ee6c2b /view/theme/redbasic/php/style.php
parent784aa1407fe5b6fa1525265dccc4bd40620b9a12 (diff)
parent3d8cce4a27638333c020c3ee0621231ce73d3eda (diff)
downloadvolse-hubzilla-5c5174b00837133dcebb9003d8386ef8596b0a55.tar.gz
volse-hubzilla-5c5174b00837133dcebb9003d8386ef8596b0a55.tar.bz2
volse-hubzilla-5c5174b00837133dcebb9003d8386ef8596b0a55.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 3344fcb3a..c4bd2e15a 100644
--- a/view/theme/redbasic/php/style.php
+++ b/view/theme/redbasic/php/style.php
@@ -21,6 +21,7 @@
$font_colour = get_pconfig($uid, "redbasic", "font_colour");
$radius = get_pconfig($uid, "redbasic", "radius");
$shadow = get_pconfig($uid,"redbasic","photo_shadow");
+ $section_width=get_pconfig($uid,"redbasic","section_width");
// Now load the scheme. If a value is changed above, we'll keep the settings
// If not, we'll keep those defined by the schema
@@ -69,6 +70,8 @@
$shadow = "0";
if(! $active_colour)
$active_colour = '#FFFFFF';
+ if (! $section_width)
+ $section_width="72%";
@@ -113,7 +116,8 @@ $options = array (
'$font_colour' => $font_colour,
'$radius' => $radius,
'$shadow' => $shadow,
-'$active_colour' => $active_colour
+'$active_colour' => $active_colour,
+'$section_width' => $section_width
);
echo str_replace(array_keys($options), array_values($options), $x);