Minor cosmetic updates, added label/bool for other themes
This commit is contained in:
parent
c132357630
commit
319b4b29db
@ -139,8 +139,8 @@ parserRules: {
|
|||||||
tr: {},
|
tr: {},
|
||||||
td: {
|
td: {
|
||||||
check_attributes: {
|
check_attributes: {
|
||||||
colspan: "numbers",
|
colspan: "numbers",
|
||||||
rowspan: "numbers",
|
rowspan: "numbers",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -74,16 +74,15 @@ abstract class lnApp_SystemMessage extends HTMLRender {
|
|||||||
return $output;
|
return $output;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Render all of these items
|
* Render all of these items
|
||||||
*/
|
*/
|
||||||
public function render_all() {
|
public function render_all() {
|
||||||
// Reload our message from the session
|
// Reload our message from the session
|
||||||
if ($msgs = Session::instance()->get_once('sessionmsgs'))
|
if ($msgs = Session::instance()->get_once('sessionmsgs'))
|
||||||
static::$_data = $msgs;
|
static::$_data = $msgs;
|
||||||
|
|
||||||
return parent::render_all();
|
return parent::render_all();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
@ -10,16 +10,16 @@
|
|||||||
* @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
|
||||||
* @param string $value value
|
*
|
||||||
* @param array $list List of Values that shouldnt equal
|
* @param string $value value
|
||||||
* @return boolean
|
* @param array $list List of Values that shouldnt equal
|
||||||
*/
|
* @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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
@ -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),
|
||||||
|
1
views/theme/focusbusiness/label/bool.php
Normal file
1
views/theme/focusbusiness/label/bool.php
Normal file
@ -0,0 +1 @@
|
|||||||
|
<span class="label <?php echo $label; ?>" style="font-weight: normal;"><?php echo $column; ?></span>
|
Reference in New Issue
Block a user