Fix the display of the sample refusal message in the email moderation interface ...
[platal.git] / templates / lists / moderate_mail.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
179afa7f 3{* Copyright (C) 2003-2008 Polytechnique.org *}
0337d704 4{* http://opensource.polytechnique.org/ *}
5{* *}
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. *}
10{* *}
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. *}
15{* *}
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 *}
20{* *}
21{**************************************************************************}
22
3eb25eb3 23{include file="lists/header_listes.tpl"}
0337d704 24
25<h1>
0337d704 26 Contenu du mail en attente
27</h1>
28
4f355064 29{$banana|smarty:nodefaults}
ae0508cb 30
d1ebc57a 31<form method='post' action='{$platal->pl_self(1)}'>
0337d704 32 <table class='tinybicol' cellpadding='0' cellspacing='0'>
33 <tr>
a7de4ef7 34 <th class='titre'>Modérer le mail</th>
0337d704 35 </tr>
36 <tr>
e8439508 37 <td>raison (pour les refus)&nbsp;:
af148ff5 38 <textarea cols='50' rows='10' name='reason' id='raison'>
c6eb6822 39--
40{$smarty.session.prenom} {$smarty.session.nom} (X{$smarty.session.promo})
41</textarea>
0337d704 42 </td>
43 </tr>
44 <tr>
45 <td class='center'>
46 <input type='hidden' name='mid' value='{$smarty.get.mid}' />
af148ff5 47 <input type='submit' name='mok' value='Accepter !'
a7de4ef7 48 onclick="return confirm('Es-tu sûr de vouloir Envoyer ce mail sur la liste ?')"/>&nbsp;
af148ff5 49 <input type='submit' name='mno' value='Refuser !'
a7de4ef7 50 onclick="return confirm('Es-tu sûr de vouloir Refuser ce mail ?')"/>&nbsp;
414e606a 51 <input type='submit' name='mdel' value='Spam !' style='color:red;'
a7de4ef7 52 onclick="return confirm('Es-tu sûr de vouloir Détruire ce mail ?')"/>
0337d704 53 </td>
54 </tr>
55 </table>
56 <ul>
38421eaa 57 <li>« Refuser » rejette le mail avec un message à son auteur (celui que tu tapes dans le cadre).</li>
0337d704 58 <li>
414e606a 59 « Spam » détruit efface le mail sans autre forme de procès, et c'est à utiliser <strong>UNIQUEMENT</strong>
38421eaa 60 pour les virus et les courriers indésirables.
0337d704 61 </li>
62 </ul>
63</form>
64<p>
e8439508 65En cas de refus, le mail envoyé à l'auteur du mail que tu modères actuellement sera de la forme suivante&nbsp;:
0337d704 66</p>
175293ce 67<pre>{$msg|smarty:nodefaults|utf8_encode}</pre>
0337d704 68
69
a7de4ef7 70{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}