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