first reimport from platal
[platal.git] / templates / xnet / groupe / listes-create.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2004 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 <h1>{$asso.nom} : Création d'une liste de diffusion</h1>
24
25 <p class="descr">
26 <strong>Note :</strong> Les listes de diffusion sont un outil particulièrement adapté pour des
27 échanges entre 6 personnes, ou plus (newsletter, débat interne au groupe ...). En revanche, elles
28 s'avèrent peu praticables pour des discussions plus restreintes.  Il est alors préférable
29 d'utiliser <a href="alias-create.php">un alias</a>, à la gestion beaucoup plus souple.
30 </p>
31 <p class="descr">
32 D'autre part, il est impossible d'inscrire une liste de diffusion à une autre liste de diffusion.
33 Si tu as besoin de cette fonctionnalité, il faut alors <strong>impérativement</strong> utiliser
34 <a href="alias-create.php">un alias</a> qui, lui, est capable de regrouper plusieurs listes.
35 </p>
36 <form action='{$smarty.server.PHP_SELF}' method='post'>
37   <table class="large">
38     <tr>
39       <th colspan='2'>Caractéristiques de la Liste</th>
40     </tr>
41     <tr>
42       <td><strong>Addresse&nbsp;souhaitée&nbsp;:</strong></td>
43       <td>
44         <input type='text' name='liste' value='{$smarty.post.liste}' />@{$asso.mail_domain}
45       </td>
46     </tr>
47     <tr>
48       <td><strong>Sujet (bref) :</strong></td>
49       <td>
50         <input type='text' name='desc' size='40' value="{$smarty.post.desc}" />
51       </td>
52     </tr>
53     <tr>
54       <td><strong>Propriétés :</strong></td>
55       <td>
56         <table style='width: 100%' class="normal">
57           <tr>
58             <td>visibilité :</td>
59             <td>
60               <input type='radio' name='advertise' value='0'
61               {if $smarty.post.advertise && $smarty.post}checked='checked'{/if} />publique
62             </td>
63             <td>
64               <input type='radio' name='advertise' value='1'
65               {if !$smarty.post.advertise || !$smarty.post}checked='checked'{/if} />privée
66             </td>
67             <td></td>
68           </tr>
69           <tr>
70             <td>diffusion :</td>
71             <td>
72               <input type='radio' name='modlevel' value='0'
73               {if !$smarty.post.modlevel}checked='checked'{/if} />libre
74             </td>
75             <td>
76               <input type='radio' name='modlevel' value='1'
77               {if $smarty.post.modlevel eq 1}checked='checked'{/if} />restreinte
78             </td>
79             <td><input type='radio' name='modlevel' value='2'
80               {if $smarty.post.modlevel eq 2}checked='checked'{/if} />modérée
81             </td>
82           </tr>
83           <tr>
84             <td>inscription :</td>
85             <td>
86               <input type='radio' name='inslevel' value='0'
87               {if !$smarty.post.inslevel && $smarty.post}checked='checked'{/if} />libre
88             </td>
89             <td>
90               <input type='radio' name='inslevel' value='1'
91               {if $smarty.post.inslevel || !$smarty.post}checked='checked'{/if} />modérée
92             </td>
93             <td></td>
94           </tr>
95         </table>
96       </td>
97     </tr>
98   </table>
99   <p class="center"><input name='submit' type='submit' value="Créer !" /></p>
100 </form>
101
102 {* vim:set et sw=2 sts=2 sws=2: *}