diff --git a/classes/Helper.php b/classes/Helper.php index c763c6cba..7dc16c248 100755 --- a/classes/Helper.php +++ b/classes/Helper.php @@ -36,6 +36,7 @@ class HelperCore public $table; public $identifier; public $token; + public $toolbar_btn; public $context; public function __construct() diff --git a/classes/HelperForm.php b/classes/HelperForm.php index 1c4744aa1..e5ad4c5c4 100644 --- a/classes/HelperForm.php +++ b/classes/HelperForm.php @@ -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; } -} \ No newline at end of file +} diff --git a/classes/HelperList.php b/classes/HelperList.php index 1962f79a8..36598e64f 100644 --- a/classes/HelperList.php +++ b/classes/HelperList.php @@ -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),