[*] MO : updated module blockcurrencies for mobile theme
This commit is contained in:
@@ -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 -->
|
||||
|
||||
Reference in New Issue
Block a user