[*] MO : updated module blocknewsletter and module blockcms for mobile theme

This commit is contained in:
mBertholino
2012-02-28 08:54:00 +00:00
parent 56913068a7
commit 002b989c68
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -672,7 +672,7 @@ class BlockCms extends Module
return $this->display(__FILE__, 'blockcms.tpl');
}
private function _prepareHook($params)
private function _prepareHook()
{
$block_activation = Configuration::get('FOOTER_BLOCK_ACTIVATION');
@@ -714,14 +714,14 @@ class BlockCms extends Module
public function hookFooter()
{
if (!$this->_prepareHook($params))
if (!$this->_prepareHook())
return ;
return $this->display(__FILE__, 'blockcms.tpl');
}
public function hookDisplayMobileFooterCms($params)
public function hookDisplayMobileFooterCms()
{
if (!$this->_prepareHook($params))
if (!$this->_prepareHook())
return ;
return $this->display(__FILE__, 'blockmobilecms.tpl');
}