[*] FO : Fix bug #PSCFV-9611, autocomplete to off on opc page and other pages
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
<fieldset class="account_creation customerprivacy">
|
||||
<h3>{l s='Customer data privacy' mod='blockcustomerprivacy'}</h3>
|
||||
<p class="required">
|
||||
<input type="checkbox" value="1" id="customer_privacy" name="customer_privacy" style="float:left;margin: 15px;" />
|
||||
<input type="checkbox" value="1" id="customer_privacy" name="customer_privacy" style="float:left;margin: 15px;" autocomplete="off"/>
|
||||
</p>
|
||||
<label for="customer_privacy">{$privacy_message}</label>
|
||||
</fieldset>
|
||||
@@ -260,11 +260,11 @@ $(document).ready(function() {
|
||||
</p>
|
||||
{if isset($newsletter) && $newsletter}
|
||||
<p class="checkbox">
|
||||
<input type="checkbox" name="newsletter" id="newsletter" value="1" {if isset($smarty.post.newsletter) && $smarty.post.newsletter == '1'}checked="checked"{/if} />
|
||||
<input type="checkbox" name="newsletter" id="newsletter" value="1" {if isset($smarty.post.newsletter) && $smarty.post.newsletter == '1'}checked="checked"{/if} autocomplete="off"/>
|
||||
<label for="newsletter">{l s='Sign up for our newsletter!'}</label>
|
||||
</p>
|
||||
<p class="checkbox">
|
||||
<input type="checkbox" name="optin" id="optin" value="1" {if isset($smarty.post.optin) && $smarty.post.optin == '1'}checked="checked"{/if} />
|
||||
<input type="checkbox" name="optin" id="optin" value="1" {if isset($smarty.post.optin) && $smarty.post.optin == '1'}checked="checked"{/if} autocomplete="off"/>
|
||||
<label for="optin">{l s='Receive special offers from our partners!'}</label>
|
||||
</p>
|
||||
{/if}
|
||||
@@ -442,11 +442,11 @@ $(document).ready(function() {
|
||||
</p>
|
||||
{if $newsletter}
|
||||
<p class="checkbox" >
|
||||
<input type="checkbox" name="newsletter" id="newsletter" value="1" {if isset($smarty.post.newsletter) AND $smarty.post.newsletter == 1} checked="checked"{/if} />
|
||||
<input type="checkbox" name="newsletter" id="newsletter" value="1" {if isset($smarty.post.newsletter) AND $smarty.post.newsletter == 1} checked="checked"{/if} autocomplete="off"/>
|
||||
<label for="newsletter">{l s='Sign up for our newsletter!'}</label>
|
||||
</p>
|
||||
<p class="checkbox" >
|
||||
<input type="checkbox"name="optin" id="optin" value="1" {if isset($smarty.post.optin) AND $smarty.post.optin == 1} checked="checked"{/if} />
|
||||
<input type="checkbox"name="optin" id="optin" value="1" {if isset($smarty.post.optin) AND $smarty.post.optin == 1} checked="checked"{/if} autocomplete="off"/>
|
||||
<label for="optin">{l s='Receive special offers from our partners!'}</label>
|
||||
</p>
|
||||
{/if}
|
||||
|
||||
@@ -108,11 +108,11 @@
|
||||
</p>
|
||||
{if $newsletter}
|
||||
<p class="checkbox">
|
||||
<input type="checkbox" id="newsletter" name="newsletter" value="1" {if isset($smarty.post.newsletter) && $smarty.post.newsletter == 1} checked="checked"{/if} />
|
||||
<input type="checkbox" id="newsletter" name="newsletter" value="1" {if isset($smarty.post.newsletter) && $smarty.post.newsletter == 1} checked="checked"{/if} autocomplete="off"/>
|
||||
<label for="newsletter">{l s='Sign up for our newsletter!'}</label>
|
||||
</p>
|
||||
<p class="checkbox">
|
||||
<input type="checkbox" name="optin" id="optin" value="1" {if isset($smarty.post.optin) && $smarty.post.optin == 1} checked="checked"{/if} />
|
||||
<input type="checkbox" name="optin" id="optin" value="1" {if isset($smarty.post.optin) && $smarty.post.optin == 1} checked="checked"{/if} autocomplete="off"/>
|
||||
<label for="optin">{l s='Receive special offers from our partners!'}</label>
|
||||
</p>
|
||||
{/if}
|
||||
|
||||
@@ -63,11 +63,11 @@
|
||||
</p>
|
||||
{if $newsletter}
|
||||
<p class="checkbox" >
|
||||
<input type="checkbox" name="newsletter" id="newsletter" value="1" {if isset($smarty.post.newsletter) AND $smarty.post.newsletter == 1} checked="checked"{/if} />
|
||||
<input type="checkbox" name="newsletter" id="newsletter" value="1" {if isset($smarty.post.newsletter) AND $smarty.post.newsletter == 1} checked="checked"{/if} autocomplete="off"/>
|
||||
<label for="newsletter">{l s='Sign up for our newsletter!'}</label>
|
||||
</p>
|
||||
<p class="checkbox" >
|
||||
<input type="checkbox"name="optin" id="optin" value="1" {if isset($smarty.post.optin) AND $smarty.post.optin == 1} checked="checked"{/if} />
|
||||
<input type="checkbox"name="optin" id="optin" value="1" {if isset($smarty.post.optin) AND $smarty.post.optin == 1} checked="checked"{/if} autocomplete="off"/>
|
||||
<label for="optin">{l s='Receive special offers from our partners!'}</label>
|
||||
</p>
|
||||
{/if}
|
||||
|
||||
@@ -94,9 +94,9 @@
|
||||
</fieldset>
|
||||
{if $newsletter}
|
||||
<fieldset data-role="controlgroup">
|
||||
<input type="checkbox" id="newsletter" name="newsletter" value="1" {if isset($smarty.post.newsletter) && $smarty.post.newsletter == 1} checked="checked"{/if} />
|
||||
<input type="checkbox" id="newsletter" name="newsletter" value="1" {if isset($smarty.post.newsletter) && $smarty.post.newsletter == 1} checked="checked"{/if} autocomplete="off"/>
|
||||
<label for="newsletter">{l s='Sign up for our newsletter!'}</label>
|
||||
<input type="checkbox" name="optin" id="optin" value="1" {if isset($smarty.post.optin) && $smarty.post.optin == 1} checked="checked"{/if} />
|
||||
<input type="checkbox" name="optin" id="optin" value="1" {if isset($smarty.post.optin) && $smarty.post.optin == 1} checked="checked"{/if} autocomplete="off"/>
|
||||
<label for="optin">{l s='Receive special offers from our partners!'}</label>
|
||||
</fieldset>
|
||||
{/if}
|
||||
|
||||
@@ -131,7 +131,7 @@
|
||||
<div class="button_multishipping_mode" id="multishipping_mode_box">
|
||||
<div class="title">{l s='Multi-shipping'}</div>
|
||||
<div class="description">
|
||||
<input type="checkbox" id="multishipping_mode_checkbox" onchange="multishippingMode(this); return false;"/><label for="multishipping_mode_checkbox">{l s='I\'d like to specify a delivery address for each product ordered.'}</label>
|
||||
<input type="checkbox" id="multishipping_mode_checkbox" onchange="multishippingMode(this); return false;" autocomplete="off"/><label for="multishipping_mode_checkbox">{l s='I\'d like to specify a delivery address for each product ordered.'}</label>
|
||||
</div>
|
||||
<div class="description_off">
|
||||
<a href="{$link->getPageLink('order-opc', true, NULL, 'ajax=1&multi-shipping=1&method=multishipping')|escape:'html'}" id="link_multishipping_form" title="{l s='Choose the delivery address(es)'}">
|
||||
@@ -164,7 +164,7 @@
|
||||
</select>
|
||||
</p>
|
||||
<p class="checkbox addressesAreEquals" {if $cart->isVirtualCart()}style="display:none;"{/if}>
|
||||
<input type="checkbox" name="same" id="addressesAreEquals" value="1" onclick="updateAddressesDisplay();{if $opc}updateAddressSelection();{/if}" {if $cart->id_address_invoice == $cart->id_address_delivery || $addresses|@count == 1}checked="checked"{/if} />
|
||||
<input type="checkbox" name="same" id="addressesAreEquals" value="1" onclick="updateAddressesDisplay();{if $opc}updateAddressSelection();{/if}" {if $cart->id_address_invoice == $cart->id_address_delivery || $addresses|@count == 1}checked="checked"{/if} autocomplete="off"/>
|
||||
<label for="addressesAreEquals">{l s='Use the delivery address as the billing address.'}</label>
|
||||
</p>
|
||||
|
||||
|
||||
@@ -89,7 +89,7 @@
|
||||
{else}
|
||||
{if $recyclablePackAllowed}
|
||||
<p class="checkbox">
|
||||
<input type="checkbox" name="recyclable" id="recyclable" value="1" {if $recyclable == 1}checked="checked"{/if} />
|
||||
<input type="checkbox" name="recyclable" id="recyclable" value="1" {if $recyclable == 1}checked="checked"{/if} autocomplete="off"/>
|
||||
<label for="recyclable">{l s='I would like to receive my order in recycled packaging.'}.</label>
|
||||
</p>
|
||||
{/if}
|
||||
@@ -202,7 +202,7 @@
|
||||
{if $giftAllowed}
|
||||
<h3 class="gift_title">{l s='Gift'}</h3>
|
||||
<p class="checkbox">
|
||||
<input type="checkbox" name="gift" id="gift" value="1" {if $cart->gift == 1}checked="checked"{/if} />
|
||||
<input type="checkbox" name="gift" id="gift" value="1" {if $cart->gift == 1}checked="checked"{/if} autocomplete="off"/>
|
||||
<label for="gift">{l s='I would like my order to be gift wrapped.'}</label>
|
||||
<br />
|
||||
|
||||
@@ -225,7 +225,7 @@
|
||||
{if $conditions AND $cms_id}
|
||||
<h3 class="condition_title">{l s='Terms of service'}</h3>
|
||||
<p class="checkbox">
|
||||
<input type="checkbox" name="cgv" id="cgv" value="1" {if $checkedTOS}checked="checked"{/if} />
|
||||
<input type="checkbox" name="cgv" id="cgv" value="1" {if $checkedTOS}checked="checked"{/if} autocomplete="off"/>
|
||||
<label for="cgv">{l s='I agree to the Terms of Service and will adhere to them unconditionally.'}</label> <a href="{$link_conditions}" class="iframe">{l s='(Read the Terms of Service)'}</a>
|
||||
</p>
|
||||
<script type="text/javascript">$('a.iframe').fancybox();</script>
|
||||
|
||||
@@ -137,14 +137,14 @@
|
||||
{/if}
|
||||
</fieldset>
|
||||
<fieldset data-role="fieldcontain">
|
||||
<input type="checkbox" name="same" id="recyclable" value="1" class="delivery_option_radio" {if $recyclable == 1}checked="checked"{/if} />
|
||||
<input type="checkbox" name="same" id="recyclable" value="1" class="delivery_option_radio" {if $recyclable == 1}checked="checked"{/if} autocomplete="off"/>
|
||||
<label for="recyclable">{l s='I agree to receive my order in recycled packaging'}.</label>
|
||||
</fieldset>
|
||||
|
||||
{if $giftAllowed}
|
||||
<h3 class="gift_title">{l s='Gift'}</h3>
|
||||
<p class="checkbox">
|
||||
<input type="checkbox" name="gift" id="gift" value="1" {if $cart->gift == 1}checked="checked"{/if} />
|
||||
<input type="checkbox" name="gift" id="gift" value="1" {if $cart->gift == 1}checked="checked"{/if} autocomplete="off"/>
|
||||
<label for="gift">{l s='I would like my order to be gift wrapped.'}</label>
|
||||
<br />
|
||||
|
||||
@@ -164,7 +164,7 @@
|
||||
|
||||
<h3 class="bg">{l s='Terms of service'}</h3>
|
||||
<fieldset data-role="fieldcontain" id="cgv_checkbox">
|
||||
<input type="checkbox" value="1" id="cgv" name="cgv" {if $checkedTOS}checked="checked"{/if} />
|
||||
<input type="checkbox" value="1" id="cgv" name="cgv" {if $checkedTOS}checked="checked"{/if} autocomplete="off"/>
|
||||
<label for="cgv">{l s='I agree to the terms of service and will adhere to them unconditionally.'}</label>
|
||||
</fieldset>
|
||||
<p class="lnk_CGV"><a href="{$link_conditions}" data-ajax="false">{l s='(Read Terms of Service)'}</a></p>
|
||||
|
||||
@@ -184,7 +184,7 @@
|
||||
<div class="button_multishipping_mode" id="multishipping_mode_box">
|
||||
<div class="title">{l s='Multi-shipping'}</div>
|
||||
<div class="description">
|
||||
<input type="checkbox" id="multishipping_mode_checkbox" onchange="multishippingMode(this); return false;"/><label for="multishipping_mode_checkbox">{l s='I\'d like to specify a delivery address for each product ordered.'}</label>
|
||||
<input type="checkbox" id="multishipping_mode_checkbox" onchange="multishippingMode(this); return false;" autocomplete="off"/><label for="multishipping_mode_checkbox">{l s='I\'d like to specify a delivery address for each product ordered.'}</label>
|
||||
</div>
|
||||
<div class="description_off">
|
||||
<a href="{$link->getPageLink('order-opc', true, NULL, 'ajax=1&multi-shipping=1&method=multishipping')|escape:'html'}" id="link_multishipping_form" title="{l s='Choose the delivery address(es)'}">
|
||||
@@ -217,7 +217,7 @@
|
||||
</select>
|
||||
</p>
|
||||
<p class="checkbox addressesAreEquals" {if $cart->isVirtualCart()}style="display:none;"{/if}>
|
||||
<input type="checkbox" name="same" id="addressesAreEquals" value="1" onclick="updateAddressesDisplay();{if $opc}updateAddressSelection();{/if}"{if $cart->id_address_invoice == $cart->id_address_delivery || $addresses|@count == 1} checked="checked"{/if}/>
|
||||
<input type="checkbox" name="same" id="addressesAreEquals" value="1" onclick="updateAddressesDisplay();{if $opc}updateAddressSelection();{/if}"{if $cart->id_address_invoice == $cart->id_address_delivery || $addresses|@count == 1} checked="checked"{/if} autocomplete="off"/>
|
||||
<label for="addressesAreEquals">{l s='Use the delivery address as the billing address.'}</label>
|
||||
</p>
|
||||
|
||||
|
||||
@@ -114,7 +114,7 @@
|
||||
{else}
|
||||
{if $recyclablePackAllowed}
|
||||
<p class="checkbox">
|
||||
<input type="checkbox" name="recyclable" id="recyclable" value="1" {if $recyclable == 1}checked="checked"{/if} />
|
||||
<input type="checkbox" name="recyclable" id="recyclable" value="1" {if $recyclable == 1}checked="checked"{/if} autocomplete="off"/>
|
||||
<label for="recyclable">{l s='I would like to receive my order in recycled packaging.'}.</label>
|
||||
</p>
|
||||
{/if}
|
||||
@@ -241,7 +241,7 @@
|
||||
{if $giftAllowed}
|
||||
<h3 class="gift_title">{l s='Gift'}</h3>
|
||||
<p class="checkbox">
|
||||
<input type="checkbox" name="gift" id="gift" value="1" {if $cart->gift == 1}checked="checked"{/if} />
|
||||
<input type="checkbox" name="gift" id="gift" value="1" {if $cart->gift == 1}checked="checked"{/if} autocomplete="off"/>
|
||||
<label for="gift">{l s='I would like my order to be gift wrapped.'}</label>
|
||||
<br />
|
||||
|
||||
@@ -264,7 +264,7 @@
|
||||
{if $conditions AND $cms_id}
|
||||
<h3 class="condition_title">{l s='Terms of service'}</h3>
|
||||
<p class="checkbox">
|
||||
<input type="checkbox" name="cgv" id="cgv" value="1" {if $checkedTOS}checked="checked"{/if} />
|
||||
<input type="checkbox" name="cgv" id="cgv" value="1" {if $checkedTOS}checked="checked"{/if} autocomplete="off"/>
|
||||
<label for="cgv">{l s='I agree to the terms of service and will adhere to them unconditionally.'}</label> <a href="{$link_conditions}" class="iframe">{l s='(Read the Terms of Service)'}</a>
|
||||
</p>
|
||||
<script type="text/javascript">$('a.iframe').fancybox();</script>
|
||||
|
||||
@@ -168,11 +168,11 @@
|
||||
</p>
|
||||
{if isset($newsletter) && $newsletter}
|
||||
<p class="checkbox">
|
||||
<input type="checkbox" name="newsletter" id="newsletter" value="1" {if isset($guestInformations) && $guestInformations.newsletter}checked="checked"{/if} />
|
||||
<input type="checkbox" name="newsletter" id="newsletter" value="1" {if isset($guestInformations) && $guestInformations.newsletter}checked="checked"{/if} autocomplete="off"/>
|
||||
<label for="newsletter">{l s='Sign up for our newsletter!'}</label>
|
||||
</p>
|
||||
<p class="checkbox" >
|
||||
<input type="checkbox"name="optin" id="optin" value="1" {if isset($guestInformations) && $guestInformations.optin}checked="checked"{/if} />
|
||||
<input type="checkbox"name="optin" id="optin" value="1" {if isset($guestInformations) && $guestInformations.optin}checked="checked"{/if} autocomplete="off"/>
|
||||
<label for="optin">{l s='Receive special offers from our partners!'}</label>
|
||||
</p>
|
||||
{/if}
|
||||
@@ -277,10 +277,10 @@
|
||||
<label for="phone_mobile">{l s='Mobile phone'}{if isset($one_phone_at_least) && $one_phone_at_least} <sup>*</sup>{/if}</label>
|
||||
<input type="text" class="text" name="phone_mobile" id="phone_mobile" value="{if isset($guestInformations) && $guestInformations.phone_mobile}{$guestInformations.phone_mobile}{/if}" />
|
||||
</p>
|
||||
<input type="hidden" name="alias" id="alias" value="{l s='My address'}" />
|
||||
<input type="hidden" name="alias" id="alias" value="{l s='My address'}"/>
|
||||
|
||||
<p class="checkbox">
|
||||
<input type="checkbox" name="invoice_address" id="invoice_address" />
|
||||
<input type="checkbox" name="invoice_address" id="invoice_address" autocomplete="off"/>
|
||||
<label for="invoice_address"><b>{l s='Please use another address for invoice'}</b></label>
|
||||
</p>
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
<div class="left_block">
|
||||
{if isset($comparator_max_item) && $comparator_max_item}
|
||||
<p class="compare">
|
||||
<input type="checkbox" class="comparator" id="comparator_item_{$product.id_product}" value="comparator_item_{$product.id_product}" {if isset($compareProducts) && in_array($product.id_product, $compareProducts)}checked="checked"{/if} />
|
||||
<input type="checkbox" class="comparator" id="comparator_item_{$product.id_product}" value="comparator_item_{$product.id_product}" {if isset($compareProducts) && in_array($product.id_product, $compareProducts)}checked="checked"{/if} autocomplete="off"/>
|
||||
<label for="comparator_item_{$product.id_product}">{l s='Select to compare'}</label>
|
||||
</p>
|
||||
{/if}
|
||||
|
||||
@@ -332,7 +332,7 @@
|
||||
|
||||
{if $show_option_allow_separate_package}
|
||||
<p>
|
||||
<input type="checkbox" name="allow_seperated_package" id="allow_seperated_package" {if $cart->allow_seperated_package}checked="checked"{/if} />
|
||||
<input type="checkbox" name="allow_seperated_package" id="allow_seperated_package" {if $cart->allow_seperated_package}checked="checked"{/if} autocomplete="off"/>
|
||||
<label for="allow_seperated_package">{l s='Send available products first'}</label>
|
||||
</p>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user