// fix new theme / old php in modules

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10878 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mMarinetti
2011-12-02 16:41:22 +00:00
parent 4e47e1e227
commit 203b5ae6ad
66 changed files with 955 additions and 847 deletions
@@ -55,7 +55,7 @@ class BlockPermanentLinks extends Module
* @param array $params Parameters
* @return string Content
*/
function hookDisplayTop($params)
function hookTop($params)
{
return $this->display(__FILE__, 'blockpermanentlinks-header.tpl');
}
@@ -75,13 +75,13 @@ class BlockPermanentLinks extends Module
{
return $this->hookLeftColumn($params);
}
function hookDisplayFooter($params)
function hookFooter($params)
{
return $this->display(__FILE__, 'blockpermanentlinks-footer.tpl');
}
function hookDisplayHeader($params)
function hookHeader($params)
{
$this->context->controller->addCSS(($this->_path).'blockpermanentlinks.css', 'all');
}