1 {**************************************************************************}
3 {* Copyright (C) 2003-2006 Polytechnique.org *}
4 {* http://opensource.polytechnique.org/ *}
6 {* This program is free software; you can redistribute it and/or modify *}
7 {* it under the terms of the GNU General Public License as published by *}
8 {* the Free Software Foundation; either version 2 of the License, or *}
9 {* (at your option) any later version. *}
11 {* This program is distributed in the hope that it will be useful, *}
12 {* but WITHOUT ANY WARRANTY; without even the implied warranty of *}
13 {* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *}
14 {* GNU General Public License for more details. *}
16 {* You should have received a copy of the GNU General Public License *}
17 {* along with this program; if not, write to the Free Software *}
18 {* Foundation, Inc., *}
19 {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}
21 {**************************************************************************}
25 Propriétés du mail en attente
28 <table class='tinybicol' cellpadding='0' cellspacing='0'>
30 <td class='titre'>émetteur</td>
31 <td>{$mail.sender}</td>
34 <td class='titre'>sujet</td>
38 <td class='titre'>taille</td>
39 <td>{$mail.size} octets</td>
42 <td class='titre'>date</td>
43 <td>{$mail.stamp|date_format:"%X le %x"}</td>
48 Contenu du mail en attente
51 {if $mail.parts|@count}
52 <table class='bicol' cellpadding='0' cellspacing='0'>
53 {foreach from=$mail.parts item=part key=i}
54 <tr><th>Partie n°{$i}</th></tr>
55 <tr class='{cycle values="impair,pair"}'>
56 <td><tt>{$part|qpd|nl2br}</tt></td>
63 <form method='post' action='?liste={$smarty.request.liste}'>
64 <table class='tinybicol' cellpadding='0' cellspacing='0'>
66 <th class='titre'>Modérer le mail</th>
69 <td>raison (pour les refus) :
70 <textarea cols='50' rows='10' name='reason'></textarea>
75 <input type='hidden' name='mid' value='{$smarty.get.mid}' />
76 <input type='submit' name='mok' value='Accepter !' />
77 <input type='submit' name='mno' value='Refuser !' />
78 <input type='submit' name='mdel' value='Détruire !' style='color:red;' />
83 <li>« Refuser » rejette le mail avec un message à son auteur (celui que tu tapes dans le cadre)</li>
85 Détruire efface le mail sans autre forme de procès, et c'est à utiliser UNIQUEMENT pour les
86 virus et les courriers indésirables
91 En cas de refus, le mail envoyé à l'auteur du mail que tu modères actuellement sera de la forme suivante :
96 {* vim:set et sw=2 sts=2 sws=2: *}