Minor presentation updates

This commit is contained in:
Deon George
2013-05-28 21:40:44 +10:00
parent ab1adad456
commit 84bb919269
3 changed files with 5 additions and 6 deletions

View File

@@ -16,7 +16,7 @@ abstract class lnApp_Block extends HTMLRender {
protected static $_data = array();
protected static $_spacer = '';
protected static $_c = 0;
protected $_items = array('body','title','title_icon','type');
protected $_items = array('body','span','title','title_icon','type');
protected static $_required_keys = array('body');
@@ -50,8 +50,7 @@ abstract class lnApp_Block extends HTMLRender {
$record = static::$_data[$this->_x];
$output = '';
$output .= '<div class="row">';
$output .= sprintf('<div class="%s">',empty($record['span']) ? 'span12' : $record['span']);
$output .= sprintf('<div class="span%s">',empty($record['span']) ? '12' : $record['span']);
$output .= '<div class="widget stacked">';
if (! empty($record['title']))
@@ -76,7 +75,6 @@ abstract class lnApp_Block extends HTMLRender {
$output .= '</div> <!-- /widget-content -->';
$output .= '</div> <!-- /widget-stacked -->';
$output .= '</div> <!-- /span -->';
$output .= '</div> <!-- /row -->';
return $output;
}