From 02689ebd3bf7cad4fe8ab095f6925738e50aedb8 Mon Sep 17 00:00:00 2001 From: mBertholino Date: Mon, 27 Feb 2012 15:55:38 +0000 Subject: [PATCH] [*] MO : updated module blockcurrencies for mobile theme --- modules/blockcurrencies/blockcurrencies.php | 6 ++++++ modules/blockcurrencies/blockcurrencies.tpl | 12 ++++++++++++ 2 files changed, 18 insertions(+) diff --git a/modules/blockcurrencies/blockcurrencies.php b/modules/blockcurrencies/blockcurrencies.php index f81adc631..6aceb6cde 100644 --- a/modules/blockcurrencies/blockcurrencies.php +++ b/modules/blockcurrencies/blockcurrencies.php @@ -72,6 +72,12 @@ class BlockCurrencies extends Module return; $this->context->controller->addCSS(($this->_path).'blockcurrencies.css', 'all'); } + + public function hookMobileFooterChoice($params) + { + $this->smarty->assign('hook_mobile', true); + $this->hookTop($params); + } } diff --git a/modules/blockcurrencies/blockcurrencies.tpl b/modules/blockcurrencies/blockcurrencies.tpl index ffb9ee424..d97ffb121 100644 --- a/modules/blockcurrencies/blockcurrencies.tpl +++ b/modules/blockcurrencies/blockcurrencies.tpl @@ -61,4 +61,16 @@ $(document).ready(function () { + +{if isset($hook_mobile)} +
+
+ +
+
+{/if} +