[-] BO : fix #PSCFV-3893

This commit is contained in:
lLefevre
2012-09-04 07:57:59 +00:00
parent 32490e39d1
commit 31d5d71e73
16 changed files with 47 additions and 47 deletions
+1 -1
View File
@@ -218,7 +218,7 @@ class AdminLoginControllerCore extends AdminController
'{passwd}' => $pwd '{passwd}' => $pwd
); );
if (Mail::Send((int)Configuration::get('PS_LANG_DEFAULT'), 'password', Mail::l('Your new admin password', (int)Configuration::get('PS_LANG_DEFAULT')), $params, $employee->email, $employee->firstname.' '.$employee->lastname)) if (Mail::Send((int)Configuration::get('PS_LANG_DEFAULT'), 'password', Mail::l('Your new password', (int)Configuration::get('PS_LANG_DEFAULT')), $params, $employee->email, $employee->firstname.' '.$employee->lastname))
{ {
// Update employee only if the mail can be sent // Update employee only if the mail can be sent
$result = $employee->update(); $result = $employee->update();
+1 -1
View File
@@ -85,7 +85,7 @@ class PasswordControllerCore extends FrontController
if ($customer->update()) if ($customer->update())
{ {
Hook::exec('actionPasswordRenew', array('customer' => $customer, 'password' => $password)); Hook::exec('actionPasswordRenew', array('customer' => $customer, 'password' => $password));
if (Mail::Send($this->context->language->id, 'password', Mail::l('Your new admin password'), if (Mail::Send($this->context->language->id, 'password', Mail::l('Your new password'),
array( array(
'{email}' => $customer->email, '{email}' => $customer->email,
'{lastname}' => $customer->lastname, '{lastname}' => $customer->lastname,
+2 -1
View File
@@ -12,11 +12,12 @@ $_LANGMAIL['Fwd: Customer message'] = 'Fwd: Kundennachricht';
$_LANGMAIL['Your guest account has been transformed to customer account'] = 'Ihr Gast-Konto wurde in ein Kunden-Konto umgewandelt'; $_LANGMAIL['Your guest account has been transformed to customer account'] = 'Ihr Gast-Konto wurde in ein Kunden-Konto umgewandelt';
$_LANGMAIL['Package in transit'] = 'Paket versendet'; $_LANGMAIL['Package in transit'] = 'Paket versendet';
$_LANGMAIL['Log: You have a new alert from your shop'] = 'Sie haben ein Log-Alert aus Ihrem Shop erhalten'; $_LANGMAIL['Log: You have a new alert from your shop'] = 'Sie haben ein Log-Alert aus Ihrem Shop erhalten';
$_LANGMAIL['Your order has been changed'] = '';
$_LANGMAIL['Order confirmation'] = 'Automatische Bestellbestätigung'; $_LANGMAIL['Order confirmation'] = 'Automatische Bestellbestätigung';
$_LANGMAIL['Message from a customer'] = 'Nachricht eines Kunden'; $_LANGMAIL['Message from a customer'] = 'Nachricht eines Kunden';
$_LANGMAIL['New message regarding your order'] = 'Neue Nachricht zu Ihrer Bestellung'; $_LANGMAIL['New message regarding your order'] = 'Neue Nachricht zu Ihrer Bestellung';
$_LANGMAIL['Your order return state has changed'] = 'Der Status Ihrer Rücksendung wurde geändert'; $_LANGMAIL['Your order return state has changed'] = 'Der Status Ihrer Rücksendung wurde geändert';
$_LANGMAIL['Your new admin password'] = 'Ihr neues Administrator-Kennwort'; $_LANGMAIL['Your new password'] = 'Ihr neues Kennwort';
$_LANGMAIL['Password query confirmation'] = 'Bestätigung der Kennwortänderung'; $_LANGMAIL['Password query confirmation'] = 'Bestätigung der Kennwortänderung';
$_LANGMAIL['An answer to your message is available #ct%1$s #tc%2$s'] = 'Sie haben eine Antwort auf Ihre Nachricht erhalten #ct%1$s #tc%2$s'; $_LANGMAIL['An answer to your message is available #ct%1$s #tc%2$s'] = 'Sie haben eine Antwort auf Ihre Nachricht erhalten #ct%1$s #tc%2$s';
$_LANGMAIL['New voucher regarding your order %s'] = 'Neuer Gutschein zu Ihrer Bestellung %s'; $_LANGMAIL['New voucher regarding your order %s'] = 'Neuer Gutschein zu Ihrer Bestellung %s';
+1 -1
View File
@@ -5,7 +5,7 @@
<title>Message from {shop_name}</title> <title>Message from {shop_name}</title>
</head> </head>
<body> <body>
<table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px;"> <table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px;">
<tbody> <tbody>
<tr> <tr>
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td> <td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>
+1 -1
View File
@@ -5,7 +5,7 @@
<title>Mensaje desde {shop_name}</title> <title>Mensaje desde {shop_name}</title>
</head> </head>
<body> <body>
<table> <table>
<tbody> <tbody>
<tr> <tr>
<td align="left"><a title="{shop_name}" href="{shop_url}"><img src="{shop_url}" alt="{shop_name}" /></a></td> <td align="left"><a title="{shop_name}" href="{shop_url}"><img src="{shop_url}" alt="{shop_name}" /></a></td>
+2 -1
View File
@@ -12,11 +12,12 @@ $_LANGMAIL['Fwd: Customer message'] = 'Fw: Mensaje de cliente';
$_LANGMAIL['Your guest account has been transformed to customer account'] = 'Su cuenta de invitado se transformo en cuenta de cliente'; $_LANGMAIL['Your guest account has been transformed to customer account'] = 'Su cuenta de invitado se transformo en cuenta de cliente';
$_LANGMAIL['Package in transit'] = 'Paquete en transito'; $_LANGMAIL['Package in transit'] = 'Paquete en transito';
$_LANGMAIL['Log: You have a new alert from your shop'] = 'Log: Tiene un nuevo alerta desde su tienda'; $_LANGMAIL['Log: You have a new alert from your shop'] = 'Log: Tiene un nuevo alerta desde su tienda';
$_LANGMAIL['Your order has been changed'] = '';
$_LANGMAIL['Order confirmation'] = ''; $_LANGMAIL['Order confirmation'] = '';
$_LANGMAIL['Message from a customer'] = 'Mensaje de un cliente'; $_LANGMAIL['Message from a customer'] = 'Mensaje de un cliente';
$_LANGMAIL['New message regarding your order'] = ''; $_LANGMAIL['New message regarding your order'] = '';
$_LANGMAIL['Your order return state has changed'] = 'El estado de retorno de su orden ha cambiado'; $_LANGMAIL['Your order return state has changed'] = 'El estado de retorno de su orden ha cambiado';
$_LANGMAIL['Your new admin password'] = 'Su nueva clave de administrador'; $_LANGMAIL['Your new password'] = 'Su nueva clave';
$_LANGMAIL['Password query confirmation'] = 'Confirmación de password'; $_LANGMAIL['Password query confirmation'] = 'Confirmación de password';
$_LANGMAIL['An answer to your message is available #ct%1$s #tc%2$s'] = ''; $_LANGMAIL['An answer to your message is available #ct%1$s #tc%2$s'] = '';
$_LANGMAIL['New voucher regarding your order %s'] = 'Nuevo bono con respecto a su orden %s'; $_LANGMAIL['New voucher regarding your order %s'] = 'Nuevo bono con respecto a su orden %s';
+1 -1
View File
@@ -5,7 +5,7 @@
<title>Message from {shop_name}</title> <title>Message from {shop_name}</title>
</head> </head>
<body> <body>
<table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px;"> <table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px;">
<tbody> <tbody>
<tr> <tr>
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td> <td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>
+1 -1
View File
@@ -17,7 +17,7 @@ $_LANGMAIL['Order confirmation'] = 'Confirmation de commande';
$_LANGMAIL['Message from a customer'] = 'Message d\'un client'; $_LANGMAIL['Message from a customer'] = 'Message d\'un client';
$_LANGMAIL['New message regarding your order'] = 'Nouveau message concernant votre commande'; $_LANGMAIL['New message regarding your order'] = 'Nouveau message concernant votre commande';
$_LANGMAIL['Your order return state has changed'] = 'Nouveau statut de commande'; $_LANGMAIL['Your order return state has changed'] = 'Nouveau statut de commande';
$_LANGMAIL['Your new admin password'] = 'Votre nouveau mot de passe'; $_LANGMAIL['Your new password'] = 'Votre nouveau mot de passe';
$_LANGMAIL['Password query confirmation'] = 'Confirmation de demande de mot de passe'; $_LANGMAIL['Password query confirmation'] = 'Confirmation de demande de mot de passe';
$_LANGMAIL['An answer to your message is available #ct%1$s #tc%2$s'] = 'Une réponse à votre message est disponible #ct%1$s #tc%2$s'; $_LANGMAIL['An answer to your message is available #ct%1$s #tc%2$s'] = 'Une réponse à votre message est disponible #ct%1$s #tc%2$s';
$_LANGMAIL['New voucher regarding your order %s'] = 'Nouveau bon de réduction concernant votre commande %s'; $_LANGMAIL['New voucher regarding your order %s'] = 'Nouveau bon de réduction concernant votre commande %s';
+2 -1
View File
@@ -12,11 +12,12 @@ $_LANGMAIL['Fwd: Customer message'] = 'Messaggio cliente';
$_LANGMAIL['Your guest account has been transformed to customer account'] = 'Il tuo account ospite è stato trasformato in account cliente'; $_LANGMAIL['Your guest account has been transformed to customer account'] = 'Il tuo account ospite è stato trasformato in account cliente';
$_LANGMAIL['Package in transit'] = 'Pacco in viaggio'; $_LANGMAIL['Package in transit'] = 'Pacco in viaggio';
$_LANGMAIL['Log: You have a new alert from your shop'] = 'Log: Hai un nuovo Avviso dal tuo negozio'; $_LANGMAIL['Log: You have a new alert from your shop'] = 'Log: Hai un nuovo Avviso dal tuo negozio';
$_LANGMAIL['Your order has been changed'] = '';
$_LANGMAIL['Order confirmation'] = 'Conferma ordine'; $_LANGMAIL['Order confirmation'] = 'Conferma ordine';
$_LANGMAIL['Message from a customer'] = 'Messaggio da un cliente'; $_LANGMAIL['Message from a customer'] = 'Messaggio da un cliente';
$_LANGMAIL['New message regarding your order'] = 'Nuovo messaggio riguardo al tuo ordine'; $_LANGMAIL['New message regarding your order'] = 'Nuovo messaggio riguardo al tuo ordine';
$_LANGMAIL['Your order return state has changed'] = 'Nuovo status dell\'ordine'; $_LANGMAIL['Your order return state has changed'] = 'Nuovo status dell\'ordine';
$_LANGMAIL['Your new admin password'] = 'La tua nuova password amministratore'; $_LANGMAIL['Your new password'] = 'La tua nuova password';
$_LANGMAIL['Password query confirmation'] = 'Conferma richiesta password'; $_LANGMAIL['Password query confirmation'] = 'Conferma richiesta password';
$_LANGMAIL['An answer to your message is available #ct%1$s #tc%2$s'] = 'E\' disponibile una risposta al tuo messaggio #ct%1$s #tc%2$s'; $_LANGMAIL['An answer to your message is available #ct%1$s #tc%2$s'] = 'E\' disponibile una risposta al tuo messaggio #ct%1$s #tc%2$s';
$_LANGMAIL['New voucher regarding your order %s'] = 'Nuovo buono sconto riguardante il tuo ordine %s'; $_LANGMAIL['New voucher regarding your order %s'] = 'Nuovo buono sconto riguardante il tuo ordine %s';
+1 -1
View File
@@ -5,7 +5,7 @@
<title>Message from {shop_name}</title> <title>Message from {shop_name}</title>
</head> </head>
<body> <body>
<table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px;"> <table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px;">
<tbody> <tbody>
<tr> <tr>
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td> <td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>
+2 -5
View File
@@ -33,12 +33,9 @@
</tr> </tr>
<tr> <tr>
<td align="left"> <td align="left">
<table style="width: 100%; font-family: Verdana,sans-serif; font-size: 11px; color: #374953;"> <table style="width: 100%; font-family: Verdana,sans-serif; font-size: 11px; color: #374953;"><!-- Title -->
<!-- Title -->
<tbody> <tbody>
<tr style="background-color: #b9babe; text-align: center;"> <tr style="background-color: #b9babe; text-align: center;"><th style="width: 15%; padding: 0.6em 0;">Riferimento</th><th style="width: 35%; padding: 0.6em 0;">Prodotto</th><th style="width: 15%; padding: 0.6em 0;">Prezzo unitario</th><th style="width: 15%; padding: 0.6em 0;">Quantit&agrave;</th><th style="width: 20%; padding: 0.6em 0;">Prezzo totale</th></tr>
<th style="width: 15%; padding: 0.6em 0;">Riferimento</th><th style="width: 35%; padding: 0.6em 0;">Prodotto</th><th style="width: 15%; padding: 0.6em 0;">Prezzo unitario</th><th style="width: 15%; padding: 0.6em 0;">Quantit&agrave;</th><th style="width: 20%; padding: 0.6em 0;">Prezzo totale</th>
</tr>
<tr> <tr>
<td colspan="5">{products}</td> <td colspan="5">{products}</td>
</tr> </tr>