List of mails to moderate more readable
[platal.git] / templates / listes / moderate.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
50a40a33 3{* Copyright (C) 2003-2006 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
0337d704 23{include file="listes/header_listes.tpl" on=moderate}
24
25<h1>
26 Inscriptions en attente de modération
27</h1>
28
29{if $subs|@count}
30<table class='bicol' cellpadding='0' cellspacing='0'>
31 <tr>
32 <th>Nom</th>
33 <th>Adresse</th>
34 <th></th>
35 </tr>
36 {foreach from=$subs item=s}
37 <tr class='{cycle values="pair,impair"}'>
38 <td>{$s.name}{if $s.login}
7b2413f6 39 <a href="profile/{$s.login}" class="popup2">{*
7ac1ef77 40 *}{icon name=user_suit title="Afficher la fiche"}</a>
0337d704 41 {/if}
42 </td>
43 <td>{$s.addr}</td>
44 <td class='action'>
d1ebc57a 45 <a href='{$platal->pl_self(1)}?sadd={$s.id}'>ajouter</a>
46 <a href='{$platal->pl_self(1)}?sid={$s.id}'>refuser</a>
0337d704 47 </td>
48 </tr>
49 {/foreach}
50</table>
51{else}
52<p>pas d'inscriptions en attente de modération</p>
53{/if}
54
55<h1>
56 Mails en attente de modération
57</h1>
58
59{if $mails|@count}
60<ul>
61 <li>
62 <strong>accepter:</strong> le mail est immédiatement libéré, et envoyé à la
63 liste.
64 </li>
65 <li>
66 <strong>refuser:</strong> pour refuser un mail, suivre le lien [voir] et
67 remplir le formulaire en bas de page.
68 </li>
69 <li>
70 <strong>détruire:</strong> le mail est effacé sans autre forme de procès.
8ffa657a 71 N'utiliser <strong>QUE</strong> pour les virus et les courriers indésirables. <br/>
72 S'il y a trop d'indésirables, il est probablement plus rapide pour la suite de les
7b2413f6 73 <a href="{$platal->ns}lists/options/{$platal->argv[1]}#antispam">jeter directement</a> et non de les modérer.
0337d704 74 </li>
75</ul>
76
77<table class='bicol' cellpadding='0' cellspacing='0'>
78 <tr>
0337d704 79 <th></th>
58e231db 80 <th>Mail</th>
81 <th>Infos</th>
82 <th colspan="2"></th>
0337d704 83 </tr>
84 {foreach from=$mails item=m}
85 <tr class='{cycle values="pair,impair"}'>
58e231db 86 <td>
87 <strong>De&nbsp;:</strong><br />
88 <strong>Sujet&nbsp;:</strong>
89 </td>
90 <td>
91 {$m.sender}<br />
92 {$m.subj|hdc|default:"[pas de sujet]"}
93 </td>
94 <td class='right'>
95 <small>{$m.stamp|date_format:"le %x à %X"}<br />
96 {$m.size} octets</small>
97 </td>
98 <td class='action'>
99 <a href='{$platal->pl_self(1)}?mid={$m.id}&amp;mok=1'>accepter</a>
100 </td>
0337d704 101 <td class='action'>
d1ebc57a 102 <a href='{$platal->pl_self(1)}?mid={$m.id}'>voir</a><br/>
58e231db 103 <a href='{$platal->pl_self(1)}?mid={$m.id}&amp;mdel=1'>détruire</a>
104 </td>
0337d704 105 </tr>
106 {/foreach}
107</table>
108{else}
109<p>pas de mails en attente de modération</p>
110{/if}
111
112
113{* vim:set et sw=2 sts=2 sws=2: *}