From 4420e14e61a23e8f3717a42814d3ed1c18bd6a9b Mon Sep 17 00:00:00 2001 From: laetzer Date: Sun, 20 May 2007 09:18:10 +0000 Subject: display:block for each attachment wrapper --- LibertySystem.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'LibertySystem.php') diff --git a/LibertySystem.php b/LibertySystem.php index 60e6c2a..88c978c 100755 --- a/LibertySystem.php +++ b/LibertySystem.php @@ -3,7 +3,7 @@ * System class for handling the liberty package * * @package liberty -* @version $Header: /cvsroot/bitweaver/_bit_liberty/LibertySystem.php,v 1.72 2007/05/18 17:07:13 nickpalmer Exp $ +* @version $Header: /cvsroot/bitweaver/_bit_liberty/LibertySystem.php,v 1.73 2007/05/20 09:18:10 laetzer Exp $ * @author spider */ @@ -903,6 +903,13 @@ function liberty_plugins_div_style( $pParamHash ) { } } } + + // force display:block to the "div" if not specified otherwise + if( empty($pParamHash['display_prop']) || !isset($pParamHash['display_prop']) ){ + $ret['style'] .= "display:block;"; + }else{ + $ret['style'] .= "display:" . $pParamHash['display_prop'] . ""; + } } return $ret; -- cgit v1.3