// new modules hooked for default theme, fixed hook names

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11087 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mMarinetti
2011-12-09 15:52:37 +00:00
parent 319e623727
commit a551a424b6
4 changed files with 16 additions and 17 deletions
+4 -4
View File
@@ -58,7 +58,7 @@ class BlockSupplier extends Module
return true;
}
function hookLeftColumn($params)
function hookDisplayLeftColumn($params)
{
$this->context->smarty->assign(array(
'suppliers' => Supplier::getSuppliers(false),
@@ -125,12 +125,12 @@ class BlockSupplier extends Module
return $output;
}
function hookRightColumn($params)
function hookDisplayRightColumn($params)
{
return $this->hookLeftColumn($params);
return $this->hookDisplayLeftColumn($params);
}
function hookHeader($params)
function hookDisplayHeader($params)
{
$this->context->controller->addCSS(($this->_path).'blocksupplier.css', 'all');
}