[*] MO : updated module blockcurrencies for mobile theme

This commit is contained in:
mBertholino
2012-02-27 15:55:38 +00:00
parent 9215824846
commit 02689ebd3b
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 -->