New: Gros avancements sur l'outil de mailing. Il est possible maintenant de crer un mailing, le supprimer, editer, valider et de choisir les destinataires parmi des listes prdfinis dans des modules.
Qual: Les modules poire et cerise de slection de destinataire ont t revue pour respoecter la norme objet.
@ -43,7 +43,7 @@ llxHeader('','Mailing');
|
||||
*
|
||||
*/
|
||||
|
||||
print_titre("Espace mailing");
|
||||
print_titre($langs->trans("MailingArea"));
|
||||
|
||||
print '<table border="0" width="100%">';
|
||||
|
||||
@ -100,7 +100,7 @@ print '</td><td valign="top" width="70%">';
|
||||
*
|
||||
*/
|
||||
|
||||
$sql = "SELECT m.rowid, m.titre, m.nbemail";
|
||||
$sql = "SELECT m.rowid, m.titre, m.nbemail, m.statut";
|
||||
$sql .= " FROM ".MAIN_DB_PREFIX."mailing as m";
|
||||
$sql .= " LIMIT 10";
|
||||
if ( $db->query($sql) )
|
||||
@ -109,7 +109,7 @@ if ( $db->query($sql) )
|
||||
if ($num > 0)
|
||||
{
|
||||
print '<table class="noborder" width="100%">';
|
||||
print '<tr class="liste_titre"><td colspan="4">Les 10 derniers mailings</td></tr>';
|
||||
print '<tr class="liste_titre"><td colspan="2">'.$langs->trans("LastMailings",10).'</td><td align="center">'.$langs->trans("Status").'</td></tr>';
|
||||
$var = true;
|
||||
$i = 0;
|
||||
|
||||
@ -119,8 +119,10 @@ if ( $db->query($sql) )
|
||||
$var=!$var;
|
||||
|
||||
print "<tr $bc[$var]>";
|
||||
print '<td><a href="fiche.php?id='.$obj->rowid.'">'.$obj->titre.'</a></td>';
|
||||
print '<td><a href="fiche.php?id='.$obj->rowid.'">'.img_object($langs->trans("ShowEMail"),"email").' '.$obj->titre.'</a></td>';
|
||||
print '<td align="right">'.($obj->nbemail?$obj->nbemail:"0")." ".$langs->trans("EMails").'</td>';
|
||||
$mail=new Mailing($db);
|
||||
print '<td align="center">'.$mail->statuts[$obj->statut].'</td>';
|
||||
print '</tr>';
|
||||
$i++;
|
||||
}
|
||||
|
||||
@ -41,4 +41,6 @@ MailingModuleDescContactProspects=All contacts for all prospect companies
|
||||
MailingModuleDescContactCustomers=All contacts for all customer companies
|
||||
RecipientSelectionModules=Active modules for recipients selection
|
||||
MailSelectedRecipients=Selected recipients
|
||||
MailingArea=Mailings area
|
||||
LastMailings=Last %s mailings
|
||||
|
||||
|
||||
@ -41,3 +41,5 @@ MailingModuleDescContactProspects=Tous les contacts de toutes les soci
|
||||
MailingModuleDescContactCustomers=Tous les contacts de toutes les sociétés clientes
|
||||
RecipientSelectionModules=Modules actifs de sélection de destinataires
|
||||
MailSelectedRecipients=Destinataires sélectionnés
|
||||
MailingArea=Espace Mailings
|
||||
LastMailings=Les %s derniers mailings
|
||||
|
||||
BIN
htdocs/theme/dev/img/object_email.png
Normal file
|
After Width: | Height: | Size: 788 B |
BIN
htdocs/theme/dev/img/object_task.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
htdocs/theme/eldy/img/object_email.png
Normal file
|
After Width: | Height: | Size: 788 B |
BIN
htdocs/theme/freelug/img/object_email.png
Normal file
|
After Width: | Height: | Size: 788 B |
BIN
htdocs/theme/freelug/img/object_task.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
htdocs/theme/yellow/img/object_email.png
Normal file
|
After Width: | Height: | Size: 788 B |
BIN
htdocs/theme/yellow/img/object_task.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |