From dcc8c95de71b6652a18ea5729d59f5f1193a24d3 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 git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13637 b9a71923-0436-4b27-9f14-aed3839534dd --- 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} +