add widget class to blocks again by default. we have the wrap variable now to remove the div wrapper if necessary.

This commit is contained in:
Mario Vavti 2015-04-24 22:41:56 +02:00
parent b7f6cceaea
commit cc3c1107bd

View File

@ -155,7 +155,7 @@ function comanche_block($s) {
dbesc($name)
);
if($r) {
$o .= (($var['wrap'] == 'none') ? '' : '<div class="bblock">');
$o .= (($var['wrap'] == 'none') ? '' : '<div class="bblock widget">');
if($r[0]['title'])
$o .= '<h3>' . $r[0]['title'] . '</h3>';