bugs 396, 416 et 417 : interface de gestion des spams dans les ML + admin peuvent...
[platal.git] / templates / listes / moderate.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2006 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
24 {include file="listes/header_listes.tpl" on=moderate}
25
26 <h1>
27   Inscriptions en attente de modération
28 </h1>
29
30 {if $subs|@count}
31 <table class='bicol' cellpadding='0' cellspacing='0'>
32   <tr>
33     <th>Nom</th>
34     <th>Adresse</th>
35     <th></th>
36   </tr>
37   {foreach from=$subs item=s}
38   <tr class='{cycle values="pair,impair"}'>
39     <td>{$s.name}{if $s.login}
40       <a href="{rel}/fiche.php?user={$s.login}" class="popup2">{*
41         *}<img src="{rel}/images/loupe.gif" alt="Afficher la fiche" title="Afficher la fiche" /></a>
42       {/if}
43     </td>
44     <td>{$s.addr}</td>
45     <td class='action'>
46       <a href='?liste={$smarty.request.liste}&amp;sadd={$s.id}'>ajouter</a>
47       <a href='?liste={$smarty.request.liste}&amp;sid={$s.id}'>refuser</a>
48     </td>
49   </tr>
50   {/foreach}
51 </table>
52 {else}
53 <p>pas d'inscriptions en attente de modération</p>
54 {/if}
55
56 <h1>
57   Mails en attente de modération
58 </h1>
59
60 {if $mails|@count}
61 <ul>
62   <li>
63   <strong>accepter:</strong> le mail est immédiatement libéré, et envoyé à la
64   liste.
65   </li>
66   <li>
67   <strong>refuser:</strong> pour refuser un mail, suivre le lien [voir] et
68   remplir le formulaire en bas de page.
69   </li>
70   <li>
71   <strong>détruire:</strong> le mail est effacé sans autre forme de procès.
72   N'utiliser <strong>QUE</strong> pour les virus et les courriers indésirables. <br/>
73   S'il y a trop d'indésirables, il est probablement plus rapide pour la suite de les
74   <a href="listes-options.php?liste={$smarty.request.liste}#antispam">jeter directement</a> et non de les modérer. 
75   </li>
76 </ul>
77
78 <table class='bicol' cellpadding='0' cellspacing='0'>
79   <tr>
80     <th>émetteur</th>
81     <th>sujet</th>
82     <th>taille</th>
83     <th>date</th>
84     <th></th>
85   </tr>
86   {foreach from=$mails item=m}
87   <tr class='{cycle values="pair,impair"}'>
88     <td>{$m.sender}</td>
89     <td>{$m.subj|default:"[pas de sujet]"}</td>
90     <td class='right'>{$m.size}o</td>
91     <td class='right'>{$m.stamp|date_format:"%X<br />%x"}</td>
92     <td class='action'>
93       <a href='?liste={$smarty.request.liste}&amp;mid={$m.id}'>voir</a><br/>
94       <a href='?liste={$smarty.request.liste}&amp;mid={$m.id}&amp;mok=1'>accepter</a>&nbsp;<a href='?liste={$smarty.request.liste}&amp;mid={$m.id}&amp;mdel=1'>détruire</a></td>
95   </tr>
96   {/foreach}
97 </table>
98 {else}
99 <p>pas de mails en attente de modération</p>
100 {/if}
101
102
103 {* vim:set et sw=2 sts=2 sws=2: *}