// Context part 27
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7812 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -63,17 +63,15 @@ class BlockStore extends Module
|
||||
|
||||
function hookRightColumn($params)
|
||||
{
|
||||
$context = Context::getContext();
|
||||
|
||||
|
||||
$context->smarty->assign('store_img', Configuration::get('BLOCKSTORE_IMG'));
|
||||
$this->context->smarty->assign('store_img', Configuration::get('BLOCKSTORE_IMG'));
|
||||
return $this->display(__FILE__, 'blockstore.tpl');
|
||||
}
|
||||
|
||||
function hookHeader($params)
|
||||
{
|
||||
$context = Context::getContext();
|
||||
$context->controller->addCSS($this->_path.'/blockstore.css', 'all');
|
||||
$this->context->controller->addCSS($this->_path.'/blockstore.css', 'all');
|
||||
}
|
||||
|
||||
public function postProcess()
|
||||
|
||||
Reference in New Issue
Block a user