diff options
author | Christian Vogeley <christian.vogeley@hotmail.de> | 2013-10-20 01:19:04 +0200 |
---|---|---|
committer | Christian Vogeley <christian.vogeley@hotmail.de> | 2013-10-20 01:19:04 +0200 |
commit | c0789bdb4fc7412efd5e2fb1e15b63d359a74cfa (patch) | |
tree | 12d4cbc3fd471b5b66b02b9e209faecd1b7c080e /view/theme/redbasic/php/style.php | |
parent | 77db6e087a58616279afbcd526b506225d19c3fd (diff) | |
download | volse-hubzilla-c0789bdb4fc7412efd5e2fb1e15b63d359a74cfa.tar.gz volse-hubzilla-c0789bdb4fc7412efd5e2fb1e15b63d359a74cfa.tar.bz2 volse-hubzilla-c0789bdb4fc7412efd5e2fb1e15b63d359a74cfa.zip |
redbasic: set width of main section
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 b5d020937..0c17140a6 100644 --- a/view/theme/redbasic/php/style.php +++ b/view/theme/redbasic/php/style.php @@ -22,6 +22,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 @@ -70,6 +71,8 @@ $shadow = "0"; if(! $active_colour) $active_colour = '#FFFFFF'; + if (! $section_width) + $section_width="72%"; @@ -114,7 +117,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); |