Convert source code to UTF-8
[platal.git] / templates / lists / moderate.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
5ddeb07c 3{* Copyright (C) 2003-2007 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" on=moderate}
0337d704 24
25<h1>
a7de4ef7 26 Inscriptions en attente de modération
0337d704 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'>
0f5c3d5c 45 <a href='{$platal->pl_self(1)}?sadd={$s.id}'>{icon name=add title="Valider l'inscription"}</a>
46 <a href='{$platal->pl_self(1)}?sid={$s.id}'>{icon name=delete title="Refuser l'inscription"}</a>
0337d704 47 </td>
48 </tr>
49 {/foreach}
50</table>
51{else}
a7de4ef7 52<p>pas d'inscriptions en attente de modération</p>
0337d704 53{/if}
54
55<h1>
a7de4ef7 56 Mails en attente de modération
0337d704 57</h1>
58
59{if $mails|@count}
60<ul>
61 <li>
a7de4ef7 62 <strong>{icon name=add}accepter&nbsp;:</strong> le mail est immédiatement libéré, et envoyé à la
0337d704 63 liste.
64 </li>
65 <li>
0f5c3d5c 66 <strong>{icon name=magnifier}refuser&nbsp;:</strong> pour refuser un mail, suivre le lien {icon name=magnifier} et
0337d704 67 remplir le formulaire en bas de page.
68 </li>
69 <li>
a7de4ef7 70 <strong>{icon name=delete}détruire&nbsp;:</strong> le mail est effacé sans autre forme de procès.
71 N'utiliser <strong>QUE</strong> pour les virus et les courriers indésirables. <br/>
0337d704 72 </li>
73</ul>
0f5c3d5c 74<p>
a7de4ef7 75 S'il y a trop d'indésirables, il est probablement plus rapide pour la suite de les
76 jeter directement et non de les modérer en modifant le réglage de
0f5c3d5c 77 l'<a href="{$platal->ns}lists/options/{$platal->argv[1]}#antispam">antispam</a>.
78</p>
0337d704 79
0f5c3d5c 80<form method="post" action="{$platal->pl_self(1)}">
0337d704 81<table class='bicol' cellpadding='0' cellspacing='0'>
82 <tr>
0f5c3d5c 83 <th colspan="2"></th>
58e231db 84 <th>Mail</th>
85 <th>Infos</th>
86 <th colspan="2"></th>
0337d704 87 </tr>
b85de006 88 {foreach from=$mails item=m name=mail}
0337d704 89 <tr class='{cycle values="pair,impair"}'>
58e231db 90 <td>
b85de006 91 <input type="checkbox" name="select_mails[{$m.id}]" {if $smarty.foreach.mail.total eq 1}checked="checked"{/if}/>
0f5c3d5c 92 </td>
93 <td>
58e231db 94 <strong>De&nbsp;:</strong><br />
95 <strong>Sujet&nbsp;:</strong>
96 </td>
97 <td>
98 {$m.sender}<br />
99 {$m.subj|hdc|default:"[pas de sujet]"}
100 </td>
101 <td class='right'>
a7de4ef7 102 <small>{$m.stamp|date_format:"le %x à %X"}<br />
58e231db 103 {$m.size} octets</small>
104 </td>
105 <td class='action'>
0f5c3d5c 106 <a href='{$platal->pl_self(1)}?mid={$m.id}&amp;mok=1'>{icon name=add title="Accepter le message"}</a>
58e231db 107 </td>
0337d704 108 <td class='action'>
0f5c3d5c 109 <a href='{$platal->pl_self(1)}?mid={$m.id}'>{icon name=magnifier title="Voir le message"}</a><br/>
a7de4ef7 110 <a href='{$platal->pl_self(1)}?mid={$m.id}&amp;mdel=1'>{icon name=delete title="Détruire le message"}</a>
58e231db 111 </td>
0337d704 112 </tr>
113 {/foreach}
114</table>
5acaf897 115<p class="center desc">
a7de4ef7 116 Utilise ces boutons pour appliquer une action à tous les mails sélectionnés.<br />
0f5c3d5c 117 <input type="hidden" name="moderate_mails" value="1" />
118 <input type="submit" name="mok" value="Accepter" />
a7de4ef7 119 <input type="submit" name="mdel" value="Détruire" />
0f5c3d5c 120</p>
121</form>
0337d704 122{else}
a7de4ef7 123<p>pas de mails en attente de modération</p>
0337d704 124{/if}
125
126
a7de4ef7 127{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}