to make the top text images clickable
[platal.git] / templates / lists / options.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
179afa7f 3{* Copyright (C) 2003-2008 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
23
24{if !$details.own}
25<p class='erreur'>
26Tu n'es pas administrateur de la liste, mais du site.
27</p>
28{/if}
29
3eb25eb3 30{include file="lists/header_listes.tpl" on=options}
0337d704 31
32<h1>
33 Changer les options de la liste {$details.addr}
34</h1>
35
d1ebc57a 36<form method='post' action='{$platal->pl_self(1)}'>
0337d704 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>
e8439508 41 <strong>description courte&nbsp;:</strong><br />
a7de4ef7 42 <span class='smaller'>une courte phrase pour décrire la liste.</span>
0337d704 43 </td>
44 <td>
5fb22b39 45 <input type='text' size='40' name='description' value="{$options.description|utf8_encode}" />
0337d704 46 </td>
47 </tr>
48 <tr class='impair'>
49 <td>
e8439508 50 <strong>description longue&nbsp;:</strong><br />
0337d704 51 <span class='smaller'>une description plus longue de la liste.</span>
52 </td>
53 <td>
5fb22b39 54 <textarea cols='40' rows='8' name='info'>{$options.info|utf8_encode}</textarea>
0337d704 55 </td>
56 </tr>
57 <tr class='pair'>
58 <td>
e8439508 59 <strong>message de bienvenue&nbsp;:</strong><br />
a7de4ef7 60 <span class='smaller'>un texte de bienvenue incorporé au mail envoyé aux nouveaux
61 abonnés à la liste.</span>
0337d704 62 </td>
63 <td>
5fb22b39 64 <textarea cols='40' rows='8' name='welcome_msg'>{$options.welcome_msg|utf8_encode}</textarea>
0337d704 65 </td>
66 </tr>
67 <tr class='impair'>
68 <td>
e8439508 69 <strong>message d'adieu&nbsp;:</strong><br />
a7de4ef7 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>
0337d704 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 />
5fb22b39 76 <textarea cols='40' rows='8' name='goodbye_msg'>{$options.goodbye_msg|utf8_encode}</textarea>
0337d704 77 </td>
78 </tr>
a7de4ef7 79 <tr><th colspan='2'>Options avancées de la liste {$details.addr}</th></tr>
0337d704 80 <tr class='impair'>
81 <td>
e8439508 82 <strong>ajout dans le sujet&nbsp;:</strong><br />
a7de4ef7 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>
0337d704 84 </td>
85 <td>
5fb22b39 86 <input type='text' name='subject_prefix' size='40' value="{$options.subject_prefix|utf8_encode}" />
0337d704 87 </td>
88 </tr>
89 <tr class='impair'>
90 <td>
e8439508 91 <strong>notification de (dés)abonnement&nbsp;:</strong><br />
a7de4ef7 92 <span class='smaller'>notifier les modérateurs des inscriptions/désinscriptions d'utilisateurs sur cette liste.</span>
0337d704 93 </td>
94 <td>
95 <input type='checkbox' name='admin_notify_mchanges'
a7de4ef7 96 {if $options.admin_notify_mchanges}checked='checked'{/if} /> Notification activée.
0337d704 97 </td>
98 </tr>
99 <tr class='impair'>
100 <td>
e8439508 101 <strong>diffusion&nbsp;:</strong>
0337d704 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}
a7de4ef7 109 checked='checked'{/if} />modérée aux extérieurs<br />
0337d704 110 <input type='radio' name='moderate' value='2'
111 {if $options.generic_nonmember_action && $options.default_member_moderation}
a7de4ef7 112 checked='checked'{/if} />modérée
0337d704 113 </td>
114 </tr>
115 <tr class='impair'>
116 <td>
e8439508 117 <strong>inscription libre ou modérée&nbsp;:</strong><br />
a7de4ef7 118 <span class='smaller'>détermine si les inscriptions à la liste sont modérées ou non.</span>
0337d704 119 </td>
120 <td>
121 <input type='checkbox' name='subscribe_policy'
a7de4ef7 122 {if $options.subscribe_policy eq 2}checked='checked'{/if} /> Inscription modérée.
0337d704 123 </td>
124 </tr>
125 <tr class='impair'>
126 <td>
e8439508 127 <strong>antispam&nbsp;:</strong><br />
a7de4ef7 128 <span class='smaller'>détermine la politique de l'antispam sur cette liste.</span>
0337d704 129 </td>
130 <td>
a7de4ef7 131 <em><a name='antispam' id='antispam'></a>que faire des mails marqués « [spam probable] » ?</em><br />
0337d704 132 <input type='radio' name='bogo_level' value='0' {if !$bogo_level}checked='checked'{/if} /> les laisser passer<br />
a7de4ef7 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 />
4988c5a9 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">
a7de4ef7 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.
0337d704 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>
a7de4ef7 154 Adresses non modérées de {$details.addr}
0337d704 155</h1>
156<p>
a7de4ef7 157Les envois des personnes utilisant ces adresses ne sont pas modérés.
0337d704 158</p>
159
160<p class='erreur'>
e8439508 161Attention, cette liste est à utiliser pour des non-X ou des non-inscrits à la liste&nbsp;:
0337d704 162</p>
163<p>
a7de4ef7 164les X inscrits à la liste doivent ajouter leurs adresses usuelles parmis leurs adresses de
165redirection en mode 'inactif'. le logiciel de mailing list saura se débrouiller tout seul.
0337d704 166</p>
167
d1ebc57a 168<form method='post' action='{$platal->pl_self(1)}'>
0337d704 169 <table class='tinybicol' cellpadding='2' cellspacing='0'>
a7de4ef7 170 <tr><th>Addresses non modérées</th></tr>
0337d704 171 <tr>
172 <td>
173 {if $options.accept_these_nonmembers|@count}
174 {foreach from=$options.accept_these_nonmembers item=addr}
d1ebc57a 175 {$addr}<a href='{$platal->pl_self(1)}&amp;atn_del={$addr}'>
ff874621 176 {icon name=cross title="retirer de la whitelist"}
0337d704 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
a7de4ef7 196{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}