// Add transplant module button to page header toolbar

This commit is contained in:
Jerome Nadaud committed 2013-10-17 13:24:01 +02:00
1 parent 983b4dd617
commit 1f93d071c2
1 file changed
+10
@@ -245,6 +245,16 @@ class AdminModulesPositionsControllerCore extends AdminController
)); ));
} }
public function initPageHeaderToolbar()
{
$this->page_header_toolbar_btn['save'] = array(
'href' => self::$currentIndex.'&addToHook'.($this->display_key ? '&show_modules='.$this->display_key : '').'&token='.$this->token,
'desc' => $this->l('Transplant a module')
);
return parent::initPageHeaderToolbar();
}
public function initMain() public function initMain()
{ {
// Init toolbar // Init toolbar