// 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

+13 -1
View File
@@ -648,7 +648,19 @@ class AdminImagesControllerCore extends AdminController
'safe_mode' => Tools::getSafeModeStatus(),
'link_ppreferences' => 'index.php?tab=AdminPPreferences&token='.Tools::getAdminTokenLite('AdminPPreferences').'#PS_LEGACY_IMAGES_on',
));
}
}
public function initPageHeaderToolbar()
{
if (empty($this->display))
$this->page_header_toolbar_btn['new_image_type'] = array(
'href' => self::$currentIndex.'&addimage_type&token='.$this->token,
'desc' => $this->l('Add new image type'),
'icon' => 'process-icon-new'
);
parent::initPageHeaderToolbar();
}
/**
* Move product images to the new filesystem