// #PSFV-94 : replace back link with cancel button in the toolbar on all admin controllers
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9876 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -134,12 +134,6 @@ class HelperListCore extends Helper
|
||||
$this->footer_tpl = $this->context->smarty->createTemplate($this->footer_tpl);
|
||||
}
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
* Usage : Set the value to false if you want to simply display the back button
|
||||
*/
|
||||
public $no_back = true;
|
||||
|
||||
/**
|
||||
* Return an html list given the data to fill it up
|
||||
*
|
||||
@@ -599,8 +593,6 @@ class HelperListCore extends Helper
|
||||
'name' => isset($name) ? $name : null,
|
||||
'name_id' => isset($name_id) ? $name_id : null,
|
||||
'show_toolbar' => $this->show_toolbar,
|
||||
'back' => Tools::getValue('back'),
|
||||
'no_back' => $this->no_back
|
||||
));
|
||||
|
||||
return $this->header_tpl->fetch();
|
||||
@@ -617,8 +609,6 @@ class HelperListCore extends Helper
|
||||
'current' => $this->currentIndex,
|
||||
'simple_header' => $this->simple_header,
|
||||
'bulk_actions' => $this->bulk_actions,
|
||||
'back' => Tools::getValue('back'),
|
||||
'no_back' => $this->no_back
|
||||
));
|
||||
return $this->footer_tpl->fetch();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user