From 84bb919269624145be8189e6cec00c9579d0f16a Mon Sep 17 00:00:00 2001 From: Deon George Date: Tue, 28 May 2013 21:40:44 +1000 Subject: [PATCH] Minor presentation updates --- classes/lnApp/Block.php | 6 ++---- views/table.php | 1 + views/theme/baseadmin/page.php | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/classes/lnApp/Block.php b/classes/lnApp/Block.php index edb16fb..55c4670 100644 --- a/classes/lnApp/Block.php +++ b/classes/lnApp/Block.php @@ -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 .= '
'; - $output .= sprintf('
',empty($record['span']) ? 'span12' : $record['span']); + $output .= sprintf('
',empty($record['span']) ? '12' : $record['span']); $output .= '
'; if (! empty($record['title'])) @@ -76,7 +75,6 @@ abstract class lnApp_Block extends HTMLRender { $output .= '
'; $output .= '
'; $output .= '
'; - $output .= '
'; return $output; } diff --git a/views/table.php b/views/table.php index 68ebed4..6f14ed9 100644 --- a/views/table.php +++ b/views/table.php @@ -19,6 +19,7 @@