Convert source code to UTF-8
[platal.git] / templates / lists / options.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2007 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 {if !$details.own}
25 <p class='erreur'>
26 Tu n'es pas administrateur de la liste, mais du site.
27 </p>
28 {/if}
29
30 {include file="lists/header_listes.tpl" on=options}
31
32 <h1>
33   Changer les options de la liste {$details.addr}
34 </h1>
35
36 <form method='post' action='{$platal->pl_self(1)}'>
37   <table class='bicol' cellpadding='2' cellspacing='0'>
38     <tr><th colspan='2'>Options de la liste {$details.addr}</th></tr>
39     <tr class='impair'>
40       <td>
41         <strong>description courte :</strong><br />
42         <span class='smaller'>une courte phrase pour décrire la liste.</span>
43       </td>
44       <td>
45         <input type='text' size='40' name='description' value="{$options.description}" />
46       </td>
47     </tr>
48     <tr class='impair'>
49       <td>
50         <strong>description longue :</strong><br />
51         <span class='smaller'>une description plus longue de la liste.</span>
52       </td>
53       <td>
54         <textarea cols='40' rows='8' name='info'>{$options.info}</textarea>
55       </td>
56     </tr>
57     <tr class='pair'>
58       <td>
59         <strong>message de bienvenue :</strong><br />
60         <span class='smaller'>un texte de bienvenue incorporé au mail envoyé aux nouveaux
61          abonnés à la liste.</span>
62       </td>
63       <td>
64         <textarea cols='40' rows='8' name='welcome_msg'>{$options.welcome_msg}</textarea>
65       </td>
66     </tr>
67     <tr class='impair'>
68       <td>
69         <strong>message d'adieu :</strong><br />
70         <span class='smaller'>un texte d'au revoir incorporé au mail de départ envoyé aux
71           utilisateurs qui se désinscrivent.  Ce mail peut être désactivé.</span>
72       </td>
73       <td>
74         <input type='checkbox' name='send_goodbye_msg'
75         {if $options.send_goodbye_msg}checked='checked'{/if} /> activer le mail d'adieu.  <br />
76         <textarea cols='40' rows='8' name='goodbye_msg'>{$options.goodbye_msg}</textarea>
77       </td>
78     </tr>
79     <tr><th colspan='2'>Options avancées de la liste {$details.addr}</th></tr>
80     <tr class='impair'>
81     <td>
82         <strong>ajout dans le sujet :</strong><br />
83         <span class='smaller'>Un préfixe (optionnel) ajouté dans le sujet de chaque mail envoyé sur la liste te permet de trier plus facilement ton courrier.</span>
84       </td>
85       <td>
86         <input type='text' name='subject_prefix' size='40' value="{$options.subject_prefix}" />
87       </td>
88     </tr>
89     <tr class='impair'>
90       <td>
91         <strong>notification de (dés)abonnement :</strong><br />
92         <span class='smaller'>notifier les modérateurs des inscriptions/désinscriptions d'utilisateurs sur cette liste.</span>
93       </td>
94       <td>
95         <input type='checkbox' name='admin_notify_mchanges'
96         {if $options.admin_notify_mchanges}checked='checked'{/if} /> Notification activée.
97       </td>
98     </tr>
99     <tr class='impair'>
100       <td>
101         <strong>diffusion :</strong>
102       </td>
103       <td>
104         <input type='radio' name='moderate' value='0'
105         {if !$options.generic_nonmember_action && !$options.default_member_moderation}
106         checked='checked'{/if} />libre<br />
107         <input type='radio' name='moderate' value='1'
108         {if $options.generic_nonmember_action && !$options.default_member_moderation}
109         checked='checked'{/if} />modérée aux extérieurs<br />
110         <input type='radio' name='moderate' value='2'
111         {if $options.generic_nonmember_action && $options.default_member_moderation}
112         checked='checked'{/if} />modérée
113       </td>
114     </tr>
115     <tr class='impair'>
116       <td>
117         <strong>inscription libre ou modérée :</strong><br />
118         <span class='smaller'>détermine si les inscriptions à la liste sont modérées ou non.</span>
119       </td>
120       <td>
121         <input type='checkbox' name='subscribe_policy'
122         {if $options.subscribe_policy eq 2}checked='checked'{/if} /> Inscription modérée.
123       </td>
124     </tr>
125     <tr class='impair'>
126       <td>
127         <strong>antispam :</strong><br />
128         <span class='smaller'>détermine la politique de l'antispam sur cette liste.</span>
129       </td>
130       <td>
131         <em><a name='antispam' id='antispam'></a>que faire des mails marqués « [spam probable] » ?</em><br />
132         <input type='radio' name='bogo_level' value='0' {if !$bogo_level}checked='checked'{/if} /> les laisser passer<br />
133         <input type='radio' name='bogo_level' value='1' {if $bogo_level eq 1}checked='checked'{/if} /> les envoyer aux modérateurs pour approbation...<br />
134         <input type='radio' name='bogo_level' value='2' {if $bogo_level eq 2}checked='checked'{/if} /> ... après suppression des plus probables*<br />
135         <input type='radio' name='bogo_level' value='3' {if $bogo_level eq 3}checked='checked'{/if} /> tous les supprimer
136       </td>
137     </tr>
138     <tr>
139       <td colspan="2" class="smaller">
140         *La troisième option permet de supprimer automatique les spams sûr à plus de 99,9999% qui sont peu susceptibles de produire des faux-positifs.
141       </td>
142     </tr>
143   </table>
144
145   <div class='center'>
146     <br />
147     <input type='submit' name='submit' value="Valider les modifications" />
148   </div>
149 </form>
150
151 {if $details.diff eq 1}
152
153 <h1>
154   Adresses non modérées de {$details.addr}
155 </h1>
156 <p>
157 Les envois des personnes utilisant ces adresses ne sont pas modérés.
158 </p>
159
160 <p class='erreur'>
161 Attention, cette liste est à utiliser pour des non-X ou des non-inscrits à la liste :
162 </p>
163 <p>
164 les X inscrits à la liste doivent ajouter leurs adresses usuelles parmis leurs adresses de
165 redirection en mode 'inactif'. le logiciel de mailing list saura se débrouiller tout seul.
166 </p>
167
168 <form method='post' action='{$platal->pl_self(1)}'>
169   <table class='tinybicol' cellpadding='2' cellspacing='0'>
170     <tr><th>Addresses non modérées</th></tr>
171     <tr>
172       <td>
173         {if $options.accept_these_nonmembers|@count}
174         {foreach from=$options.accept_these_nonmembers item=addr}
175         {$addr}<a href='{$platal->pl_self(1)}&amp;atn_del={$addr}'>
176           {icon name=cross title="retirer de la whitelist"}
177         </a><br />
178         {/foreach}
179         {else}
180         <em>vide</em>
181         {/if}
182       </td>
183     </tr>
184     <tr class='center'>
185       <td>
186         <input type='text' size='32' name='atn_add' />
187         &nbsp;
188         <input type='submit' value='ajouter' />
189       </td>
190     </tr>
191   </table>
192 </form>
193 {/if}
194
195
196 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}