From 096ab06dcbc3c414ec1608788df61615767eafee Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 18 Mar 2015 16:37:33 +0100 Subject: just to be sure --- view/theme/redbasic/php/config.php | 2 +- view/theme/redbasic/php/style.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'view') 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'; -- cgit v1.2.3