diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-03-18 16:37:33 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-03-18 16:37:33 +0100 |
commit | 096ab06dcbc3c414ec1608788df61615767eafee (patch) | |
tree | 7eb0f4744d3447c7d5dd9b1845e0fee1cc2a18c5 | |
parent | d4de2dfe7a3e69d1b0f8b2b3c7fa5c0547ec5fa7 (diff) | |
download | volse-hubzilla-096ab06dcbc3c414ec1608788df61615767eafee.tar.gz volse-hubzilla-096ab06dcbc3c414ec1608788df61615767eafee.tar.bz2 volse-hubzilla-096ab06dcbc3c414ec1608788df61615767eafee.zip |
just to be sure
-rw-r--r-- | view/theme/redbasic/php/config.php | 2 | ||||
-rw-r--r-- | view/theme/redbasic/php/style.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/view/theme/redbasic/php/config.php b/view/theme/redbasic/php/config.php index ea9de6c70..69c6f19ee 100644 --- a/view/theme/redbasic/php/config.php +++ b/view/theme/redbasic/php/config.php @@ -125,7 +125,7 @@ if(feature_enabled(local_channel(),'expert')) '$font_colour' => array('redbasic_font_colour', t('Set font-color for posts and comments'), $arr['font_colour']), '$radius' => array('redbasic_radius', t('Set radius of corners'), $arr['radius']), '$shadow' => array('redbasic_shadow', t('Set shadow depth of photos'), $arr['shadow']), - '$converse_width' => array('redbasic_converse_width',t('Set maximum width of content region'),$arr['converse_width'], t('Example: 800px')), + '$converse_width' => array('redbasic_converse_width',t('Set maximum width of content region in pixel'),$arr['converse_width'], t('Leave empty for default width')), '$converse_center' => array('redbasic_converse_center',t('Center page content'),$arr['converse_center'], '', array(t('No'),t('Yes'))), '$nav_min_opacity' => array('redbasic_nav_min_opacity',t('Set minimum opacity of nav bar - to hide it'),$arr['nav_min_opacity']), '$top_photo' => array('redbasic_top_photo', t('Set size of conversation author photo'), $arr['top_photo']), diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php index 9c133313d..1a2e43e0e 100644 --- a/view/theme/redbasic/php/style.php +++ b/view/theme/redbasic/php/style.php @@ -306,7 +306,7 @@ if(! $a->install) { // left aside is 231px + converse width -$main_width = (231 + $converse_width); +$main_width = (231 + intval($converse_width)); // prevent main_width smaller than 768px $main_width = (($main_width < 768) ? 768 : $main_width) . 'px'; |