From 002b989c68aa01b4a31cd19b60c81ca2d6b1f237 Mon Sep 17 00:00:00 2001 From: mBertholino Date: Tue, 28 Feb 2012 08:54:00 +0000 Subject: [PATCH] [*] MO : updated module blocknewsletter and module blockcms for mobile theme --- modules/blockcms/blockcms.php | 8 ++++---- modules/blocknewsletter/blocknewsletter.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/blockcms/blockcms.php b/modules/blockcms/blockcms.php index 60bc07afd..2668f9131 100755 --- a/modules/blockcms/blockcms.php +++ b/modules/blockcms/blockcms.php @@ -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'); } diff --git a/modules/blocknewsletter/blocknewsletter.php b/modules/blocknewsletter/blocknewsletter.php index 89068d9dc..0a18f3365 100644 --- a/modules/blocknewsletter/blocknewsletter.php +++ b/modules/blocknewsletter/blocknewsletter.php @@ -498,7 +498,7 @@ class Blocknewsletter extends Module $this->context->controller->addCSS($this->_path.'blocknewsletter.css', 'all'); } - public function hookDisplayMobileIndex() + public function hookDisplayMobileIndex($params) { $this->_prepareHook($params); return $this->display(__FILE__, 'blockmobilenewsletter.tpl');