[*] 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
This commit is contained in:
mBertholino
2012-02-27 15:55:38 +00:00
parent 9b254fcafa
commit dcc8c95de7
2 changed files with 18 additions and 0 deletions
@@ -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);
}
}
@@ -61,4 +61,16 @@ $(document).ready(function () {
</ul>
</form>
</div>
{if isset($hook_mobile)}
<div class="ui-block-a">
<div data-role="fieldcontain">
<select name="select-choice-1" id="select-choice-1">
<option value="standard">€ Euros</option>
<option value="rush">$ Dollars</option>
</select>
</div>
</div>
{/if}
<!-- /Block currencies module -->