summaryrefslogtreecommitdiff
path: root/LibertySystem.php
diff options
context:
space:
mode:
Diffstat (limited to 'LibertySystem.php')
-rwxr-xr-xLibertySystem.php9
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;