Minor cosmetic updates, added label/bool for other themes

This commit is contained in:
Deon George 2013-11-29 11:43:16 +11:00
parent c132357630
commit 319b4b29db
5 changed files with 20 additions and 20 deletions

View File

@ -84,6 +84,5 @@ abstract class lnApp_SystemMessage extends HTMLRender {
return parent::render_all(); return parent::render_all();
} }
} }
?> ?>

View File

@ -10,6 +10,7 @@
* @license http://dev.leenooks.net/license.html * @license http://dev.leenooks.net/license.html
*/ */
abstract class lnApp_Valid extends Kohana_Valid { abstract class lnApp_Valid extends Kohana_Valid {
/** /**
* Checks that a value is not equal to another list of values * Checks that a value is not equal to another list of values
* *
@ -17,8 +18,7 @@ abstract class lnApp_Valid extends Kohana_Valid {
* @param array $list List of Values that shouldnt equal * @param array $list List of Values that shouldnt equal
* @return boolean * @return boolean
*/ */
public static function not_equal($value, array $list) public static function not_equal($value, array $list) {
{
return ! in_array($value,$list); return ! in_array($value,$list);
} }
} }

View File

@ -28,7 +28,7 @@ return array
'kohana' => array('enabled'=>FALSE), 'kohana' => array('enabled'=>FALSE),
'auth' => array('enabled'=>FALSE), 'auth' => array('enabled'=>FALSE),
'cache' => array('enabled'=>FALSE), 'cache' => array('enabled'=>FALSE),
'database' => array('enabled'=>TRUE), 'database' => array('enabled'=>FALSE),
'minion' => array('enabled'=>FALSE), 'minion' => array('enabled'=>FALSE),
'orm' => array('enabled'=>FALSE), 'orm' => array('enabled'=>FALSE),
'pagination' => array('enabled'=>FALSE), 'pagination' => array('enabled'=>FALSE),

View File

@ -0,0 +1 @@
<span class="label <?php echo $label; ?>" style="font-weight: normal;"><?php echo $column; ?></span>