[*] MO : updated modules for mobile theme
This commit is contained in:
@@ -24,13 +24,13 @@
|
|||||||
* International Registered Trademark & Property of PrestaShop SA
|
* International Registered Trademark & Property of PrestaShop SA
|
||||||
*}
|
*}
|
||||||
|
|
||||||
|
<hr width="99%" align="center" size="2" />
|
||||||
<!-- Block Mobile Newsletter module-->
|
<!-- Block Mobile Newsletter module-->
|
||||||
<div id="newsletter">
|
<div id="newsletter">
|
||||||
<p>Newsletter</p>
|
<h4>{l s="Newsletter" mod="blocknewletter"}</h4>
|
||||||
<form action="form.php" method="post">
|
<form action="form.php" method="post">
|
||||||
<div data-role="fieldcontain">
|
<fieldset>
|
||||||
<label for="email">Your email:</label>
|
<input type="email" name="email"
|
||||||
<input type="text" name="email" size="18"
|
|
||||||
value="{if isset($value) && $value}{$value}{else}{l s='your e-mail' mod='blocknewsletter'}{/if}"
|
value="{if isset($value) && $value}{$value}{else}{l s='your e-mail' mod='blocknewsletter'}{/if}"
|
||||||
onfocus="javascript:if(this.value=='{l s='your e-mail' mod='blocknewsletter'}')this.value='';"
|
onfocus="javascript:if(this.value=='{l s='your e-mail' mod='blocknewsletter'}')this.value='';"
|
||||||
onblur="javascript:if(this.value=='')this.value='{l s='your e-mail' mod='blocknewsletter'}';"
|
onblur="javascript:if(this.value=='')this.value='{l s='your e-mail' mod='blocknewsletter'}';"
|
||||||
@@ -38,6 +38,6 @@
|
|||||||
<div data-theme="a" class="ui-btn ui-btn-corner-all ui-shadow ui-btn-up-a" aria-disabled="false">
|
<div data-theme="a" class="ui-btn ui-btn-corner-all ui-shadow ui-btn-up-a" aria-disabled="false">
|
||||||
<span aria-hidden="true" class="ui-btn-inner ui-btn-corner-all"><span class="ui-btn-text">OK</span></span>
|
<span aria-hidden="true" class="ui-btn-inner ui-btn-corner-all"><span class="ui-btn-text">OK</span></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
</div><!-- /newsletter -->
|
</div><!-- /newsletter -->
|
||||||
@@ -57,6 +57,13 @@ class BlockSearch extends Module
|
|||||||
return $this->hookTop($params);
|
return $this->hookTop($params);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function hookDisplayMobileHeader($params)
|
||||||
|
{
|
||||||
|
if (Configuration::get('PS_SEARCH_AJAX'))
|
||||||
|
$this->context->controller->addJqueryPlugin('autocomplete');
|
||||||
|
$this->context->controller->addCSS(_THEME_CSS_DIR_.'product_list.css');
|
||||||
|
}
|
||||||
|
|
||||||
public function hookHeader($params)
|
public function hookHeader($params)
|
||||||
{
|
{
|
||||||
if (Configuration::get('PS_SEARCH_AJAX'))
|
if (Configuration::get('PS_SEARCH_AJAX'))
|
||||||
|
|||||||
Reference in New Issue
Block a user