diff options
| author | laetzer <laetzer@users.sourceforge.net> | 2007-05-20 09:18:10 +0000 |
|---|---|---|
| committer | laetzer <laetzer@users.sourceforge.net> | 2007-05-20 09:18:10 +0000 |
| commit | 4420e14e61a23e8f3717a42814d3ed1c18bd6a9b (patch) | |
| tree | 493cb9d4df9fdbe915fb13f5330aadc03860d635 | |
| parent | 51b931af126fec3948061b2f2af8f8dd0fda2f36 (diff) | |
| download | liberty-4420e14e61a23e8f3717a42814d3ed1c18bd6a9b.tar.gz liberty-4420e14e61a23e8f3717a42814d3ed1c18bd6a9b.tar.bz2 liberty-4420e14e61a23e8f3717a42814d3ed1c18bd6a9b.zip | |
display:block for each attachment wrapper
| -rwxr-xr-x | LibertySystem.php | 9 |
1 files changed, 8 insertions, 1 deletions
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 <spider@steelsun.com> */ @@ -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; |
