New: Ajout message explicant que l'envoi de mailing ne se fait qu'en lignes de commandes.
This commit is contained in:
parent
65c15fc973
commit
7e251c9fc9
@ -30,12 +30,21 @@ require("./pre.inc.php");
|
|||||||
|
|
||||||
$langs->load("mails");
|
$langs->load("mails");
|
||||||
|
|
||||||
$mesg = '';
|
$message = '';
|
||||||
|
|
||||||
|
|
||||||
llxHeader("","","Fiche Mailing");
|
llxHeader("","","Fiche Mailing");
|
||||||
|
|
||||||
|
|
||||||
|
// Action envoi mailing pour tous
|
||||||
|
if ($_GET["action"] == 'sendall')
|
||||||
|
{
|
||||||
|
// Pour des raisons de sécurité, on ne permet pas cette fonction via l'IHM,
|
||||||
|
// on affiche donc juste un message
|
||||||
|
$message='<div class="warning">'.$langs->trans("MailingNeedCommand").'</div>';
|
||||||
|
$message.="php ./scripts/mailing-send.php ".$_GET["id"];
|
||||||
|
$_GET["action"]='';
|
||||||
|
}
|
||||||
|
|
||||||
// Action envoi test mailing
|
// Action envoi test mailing
|
||||||
if ($_POST["action"] == 'send')
|
if ($_POST["action"] == 'send')
|
||||||
@ -333,11 +342,11 @@ else
|
|||||||
print '<a class="tabAction" href="fiche.php?action=valide&id='.$mil->id.'">'.$langs->trans("ValidMailing").'</a>';
|
print '<a class="tabAction" href="fiche.php?action=valide&id='.$mil->id.'">'.$langs->trans("ValidMailing").'</a>';
|
||||||
}
|
}
|
||||||
|
|
||||||
/* if ($mil->statut == 1 && $mil->nbemail > 0)
|
if ($mil->statut == 1 && $mil->nbemail > 0)
|
||||||
{
|
{
|
||||||
print '<a class="tabAction" href="fiche.php?action=approve&id='.$mil->id.'">'.$langs->trans("ApproveMailing").'</a>';
|
print '<a class="tabAction" href="fiche.php?action=sendall&id='.$mil->id.'">'.$langs->trans("SendMailing").'</a>';
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
if ($mil->statut <= 1)
|
if ($mil->statut <= 1)
|
||||||
{
|
{
|
||||||
print '<a class="butDelete" href="fiche.php?action=delete&id='.$mil->id.'">'.$langs->trans("DeleteMailing").'</a>';
|
print '<a class="butDelete" href="fiche.php?action=delete&id='.$mil->id.'">'.$langs->trans("DeleteMailing").'</a>';
|
||||||
|
|||||||
@ -49,5 +49,5 @@ TargetsStatistics=Targets statistics
|
|||||||
NbOfProspectsContacts=Unique contacts for all prospects
|
NbOfProspectsContacts=Unique contacts for all prospects
|
||||||
NbOfCustomersContacts=Unique contacts for all customers
|
NbOfCustomersContacts=Unique contacts for all customers
|
||||||
MailNoChangePossible=Recipients for validated mailing can't be changed
|
MailNoChangePossible=Recipients for validated mailing can't be changed
|
||||||
|
SendMailing=Send mailing
|
||||||
|
MailingNeedCommand=For securities reason, sending a mailing can only be performed from command line. Ask your administrator to launch the following command to send the mailing to all recipients:
|
||||||
@ -49,3 +49,5 @@ TargetsStatistics=Statistiques destinataires
|
|||||||
NbOfProspectsContacts=Contacts uniques tous prospects
|
NbOfProspectsContacts=Contacts uniques tous prospects
|
||||||
NbOfCustomersContacts=Contacts uniques tous clients
|
NbOfCustomersContacts=Contacts uniques tous clients
|
||||||
MailNoChangePossible=Destinataires d'un mailing validé non modifiables
|
MailNoChangePossible=Destinataires d'un mailing validé non modifiables
|
||||||
|
SendMailing=Envoi mailing
|
||||||
|
MailingNeedCommand=Pour des raisons de sécurité, l'envoi d'un mailing de masse ne peut être réalisé qu'en ligne de commande. Demander à votre administrateur de lancer la commande suivante pour envoyer le mailing à tous les destinataires:
|
||||||
Loading…
Reference in New Issue
Block a user