// Toolbar modifs

This commit is contained in:
Jerome Nadaud committed 2013-10-08 18:42:07 +02:00
1 parent b7e13e2e7f
commit d88857610d
78 files changed
+871 -626

No files matched your search

@@ -617,6 +617,7 @@ class AdminImportControllerCore extends AdminController
{
// toolbar (save, cancel, new, ..)
$this->initToolbar();
$this->initPageHeaderToolbar();
if ($this->display == 'import')
if (Tools::getValue('csv'))
$this->content .= $this->renderView();
@@ -631,6 +632,9 @@ class AdminImportControllerCore extends AdminController
$this->context->smarty->assign(array(
'content' => $this->content,
'url_post' => self::$currentIndex.'&token='.$this->token,
'show_page_header_toolbar' => $this->show_page_header_toolbar,
'page_header_toolbar_title' => $this->page_header_toolbar_title,
'page_header_toolbar_btn' => $this->page_header_toolbar_btn
));
}