// 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 $table;
|
||||||
public $identifier;
|
public $identifier;
|
||||||
public $token;
|
public $token;
|
||||||
|
public $toolbar_btn;
|
||||||
public $context;
|
public $context;
|
||||||
|
|
||||||
public function __construct()
|
public function __construct()
|
||||||
|
|||||||
@@ -77,6 +77,7 @@ class HelperFormCore extends Helper
|
|||||||
|
|
||||||
$this->context->smarty->assign(array(
|
$this->context->smarty->assign(array(
|
||||||
'submit_action' => $this->submit_action,
|
'submit_action' => $this->submit_action,
|
||||||
|
'toolbar_btn' => $this->toolbar_btn,
|
||||||
'firstCall' => $this->first_call,
|
'firstCall' => $this->first_call,
|
||||||
'current' => $this->currentIndex,
|
'current' => $this->currentIndex,
|
||||||
'token' => $this->token,
|
'token' => $this->token,
|
||||||
|
|||||||
@@ -286,6 +286,7 @@ class HelperListCore extends Helper
|
|||||||
'fields_display' => $this->fieldsDisplay,
|
'fields_display' => $this->fieldsDisplay,
|
||||||
'list' => $this->_list,
|
'list' => $this->_list,
|
||||||
'actions' => $this->actions,
|
'actions' => $this->actions,
|
||||||
|
'toolbar_btn' => $this->toolbar_btn,
|
||||||
'no_link' => $this->no_link,
|
'no_link' => $this->no_link,
|
||||||
'current_index' => $this->currentIndex,
|
'current_index' => $this->currentIndex,
|
||||||
'view' => in_array('view', $this->actions),
|
'view' => in_array('view', $this->actions),
|
||||||
|
|||||||
Reference in New Issue
Block a user