// added toolbar support in helper classes
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9677 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -36,6 +36,7 @@ class HelperCore
|
||||
public $table;
|
||||
public $identifier;
|
||||
public $token;
|
||||
public $toolbar_btn;
|
||||
public $context;
|
||||
|
||||
public function __construct()
|
||||
|
||||
@@ -77,6 +77,7 @@ class HelperFormCore extends Helper
|
||||
|
||||
$this->context->smarty->assign(array(
|
||||
'submit_action' => $this->submit_action,
|
||||
'toolbar_btn' => $this->toolbar_btn,
|
||||
'firstCall' => $this->first_call,
|
||||
'current' => $this->currentIndex,
|
||||
'token' => $this->token,
|
||||
@@ -108,4 +109,4 @@ class HelperFormCore extends Helper
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -286,6 +286,7 @@ class HelperListCore extends Helper
|
||||
'fields_display' => $this->fieldsDisplay,
|
||||
'list' => $this->_list,
|
||||
'actions' => $this->actions,
|
||||
'toolbar_btn' => $this->toolbar_btn,
|
||||
'no_link' => $this->no_link,
|
||||
'current_index' => $this->currentIndex,
|
||||
'view' => in_array('view', $this->actions),
|
||||
|
||||
Reference in New Issue
Block a user