Trad: Traduction du nouvel outil de mailing.
This commit is contained in:
parent
ebd27df129
commit
a9bac24738
@ -66,11 +66,9 @@ if ($mil->fetch($_GET["id"]) == 0)
|
|||||||
dolibarr_fiche_head($head, $hselected, substr($mil->titre,0,20));
|
dolibarr_fiche_head($head, $hselected, substr($mil->titre,0,20));
|
||||||
|
|
||||||
|
|
||||||
print_titre($langs->trans("Mailing"));
|
|
||||||
|
|
||||||
print '<table class="border" width="100%">';
|
print '<table class="border" width="100%">';
|
||||||
|
|
||||||
print '<tr><td width="20%">'.$langs->trans("Title").'</td><td>'.$mil->titre.'</td></tr>';
|
print '<tr><td width="20%">'.$langs->trans("MailTitle").'</td><td>'.$mil->titre.'</td></tr>';
|
||||||
print '</table>';
|
print '</table>';
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@ -194,13 +194,11 @@ else
|
|||||||
"confirm_approve");
|
"confirm_approve");
|
||||||
}
|
}
|
||||||
|
|
||||||
print_titre("Mailing");
|
|
||||||
|
|
||||||
print '<table class="border" width="100%">';
|
print '<table class="border" width="100%">';
|
||||||
|
|
||||||
print '<tr><td width="20%">'.$langs->trans("MailTitle").'</td><td colspan="3">'.$mil->titre.'</td></tr>';
|
print '<tr><td width="20%">'.$langs->trans("MailTitle").'</td><td colspan="3">'.$mil->titre.'</td></tr>';
|
||||||
|
|
||||||
print '<tr><td width="20%">'.$langs->trans("MailSender").'</td><td>'.htmlentities($mil->email_from).'</td>';
|
print '<tr><td width="20%">'.$langs->trans("MailFrom").'</td><td>'.htmlentities($mil->email_from).'</td>';
|
||||||
print '<td>'.$langs->trans("EMail").'</td><td>'.htmlentities($mil->email_from).'</td></tr>';
|
print '<td>'.$langs->trans("EMail").'</td><td>'.htmlentities($mil->email_from).'</td></tr>';
|
||||||
|
|
||||||
//print '<tr><td width="20%">Réponse</td><td>'.htmlentities($mil->email_replyto).'</td></tr>';
|
//print '<tr><td width="20%">Réponse</td><td>'.htmlentities($mil->email_replyto).'</td></tr>';
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
/* Copyright (C) 2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
|
* Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -20,13 +21,15 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/** \file htdocs/comm/mailing/mailing.class.php
|
||||||
|
\brief Fichier de la classe de gestion des mailings
|
||||||
|
\version $Revision$
|
||||||
/*! \class Mailing
|
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/** \class Mailing
|
||||||
|
\brief Classe permettant la gestion des mailings
|
||||||
|
*/
|
||||||
class Mailing
|
class Mailing
|
||||||
{
|
{
|
||||||
var $id;
|
var $id;
|
||||||
@ -157,7 +160,7 @@ class Mailing
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Valide le mailing
|
* \brief Valide le mailing
|
||||||
* \param userid id de l'utilisateur qui valide
|
* \param user objet user qui valide
|
||||||
*/
|
*/
|
||||||
function valid($user)
|
function valid($user)
|
||||||
{
|
{
|
||||||
@ -181,7 +184,7 @@ class Mailing
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Approuve le mailing
|
* \brief Approuve le mailing
|
||||||
* \param userid id de l'utilisateur qui valide
|
* \param user objet user qui approuve
|
||||||
*/
|
*/
|
||||||
function approve($user)
|
function approve($user)
|
||||||
{
|
{
|
||||||
@ -204,7 +207,7 @@ class Mailing
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Supprime le mailing
|
* \brief Supprime le mailing
|
||||||
* \param rowid id à supprimer
|
* \param rowid id du mailing à supprimer
|
||||||
*/
|
*/
|
||||||
function delete($rowid)
|
function delete($rowid)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user