// Context part 27

This commit is contained in:
tDidierjean
2011-07-29 14:29:57 +00:00
parent a7d8f2f894
commit 9213581a03
66 changed files with 532 additions and 813 deletions
+2 -4
View File
@@ -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()