git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8179 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -38,4 +38,5 @@ $_MODULE['<{mailalerts}prestashop>myalerts_0b3db27bc15f682e92ff250ebb167d4b'] =
|
||||
$_MODULE['<{mailalerts}prestashop>myalerts_8cf04a9734132302f96da8e113e80ce5'] = 'Accueil';
|
||||
$_MODULE['<{mailalerts}prestashop>product_61172eb93737ebf095d3fa02119ce1df'] = 'Demande de notification enregistrée';
|
||||
$_MODULE['<{mailalerts}prestashop>product_900f8551b29793ecb604a545b2059cc1'] = 'Votre adresse e-mail est invalide';
|
||||
$_MODULE['<{mailalerts}prestashop>product_67135a14d3ac4f1369633dd006d6efec'] = 'votre@email.com';
|
||||
$_MODULE['<{mailalerts}prestashop>product_546e02eaa9a986c83cc347e273269f2c'] = 'Prévenez-moi lorsque le produit est disponible';
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
oosHookJsCodeFunctions.push('oosHookJsCodeMailAlert');
|
||||
|
||||
function clearText() {
|
||||
if ($('#oos_customer_email').val() == 'your@email.com')
|
||||
if ($('#oos_customer_email').val() == '{l s='your@email.com' mod='mailalerts'}')
|
||||
$('#oos_customer_email').val('');
|
||||
}
|
||||
|
||||
@@ -86,7 +86,7 @@ $(document).ready(function() {
|
||||
|
||||
<!-- MODULE MailAlerts -->
|
||||
{if isset($email) AND $email}
|
||||
<input type="text" id="oos_customer_email" name="customer_email" size="20" value="your@email.com" class="mailalerts_oos_email" onclick="clearText();" /><br />
|
||||
<input type="text" id="oos_customer_email" name="customer_email" size="20" value="{l s='your@email.com' mod='mailalerts'}" class="mailalerts_oos_email" onclick="clearText();" /><br />
|
||||
{/if}
|
||||
<a href="#" onclick="return addNotification();" id="mailalert_link">{l s='Notify me when available' mod='mailalerts'}</a>
|
||||
<span id="oos_customer_email_result" style="display:none;"></span>
|
||||
|
||||
Reference in New Issue
Block a user