// Added row_hover parameter to enable or disable row color on hover

This commit is contained in:
bMancone
2012-01-23 10:22:41 +00:00
parent 84f4d0838c
commit 5e36dd0b97
5 changed files with 15 additions and 7 deletions
+5
View File
@@ -97,6 +97,9 @@ class HelperListCore extends Helper
public $specificConfirmDelete;
public $colorOnBackground;
/** @var bool If true, activates color on hover */
public $row_hover = true;
protected $identifiersDnd = array(
'id_product' => 'id_product',
'id_category' => 'id_category_to_move',
@@ -335,6 +338,7 @@ class HelperListCore extends Helper
'has_actions' => !empty($this->actions),
'has_bulk_actions' => !empty($this->bulk_actions),
'list_skip_actions' => $this->list_skip_actions,
'row_hover' => $this->row_hover,
)));
return $this->content_tpl->fetch();
}
@@ -620,6 +624,7 @@ class HelperListCore extends Helper
'table_dnd' => isset($table_dnd) ? $table_dnd : null,
'name' => isset($name) ? $name : null,
'name_id' => isset($name_id) ? $name_id : null,
'row_hover' => $this->row_hover,
)));
return $this->header_tpl->fetch();