Add mailing list headers to newsletters
[platal.git] / templates / xnetlists / create.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2013 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}&nbsp;: Création d'une liste de diffusion</h1>
24
25 <p class="descr">
26 <strong>Note&nbsp;:</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&hellip;). 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="{$platal->ns}alias/create">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="{$platal->ns}alias/create">un alias</a> qui, lui, est capable de regrouper plusieurs listes.
35 </p>
36 <form action='{$platal->ns}lists/create' method='post'>
37   {xsrf_token_field}
38   <table class="large">
39     <tr>
40       <th colspan='4'>Caractéristiques de la Liste</th>
41     </tr>
42     <tr>
43       <td><strong>Adresse&nbsp;souhaitée&nbsp;:</strong></td>
44       <td colspan='3'>
45         <input type='text' name='liste' value='{$smarty.post.liste}' />@{$asso->mail_domain}
46       </td>
47     </tr>
48     <tr>
49       <td><strong>Sujet (bref)&nbsp;:</strong></td>
50       <td colspan='3'>
51         <input type='text' name='desc' size='40' value="{$smarty.post.desc}" />
52       </td>
53     </tr>
54     <tr>
55       <td style="border: 0; border-right: 1px solid gray"><strong>Propriétés&nbsp;:</strong></td>
56       <td colspan='3' style="border: 0"></td>
57     </tr>
58     <tr>
59       <td style="border: 0; border-right: 1px solid gray">
60         visibilité&nbsp;:<br/><span style='font-size: xx-small;'>
61         (qui peut la voir dans la liste des listes&nbsp;?)</span>
62       </td>
63       <td style="border: 0">
64         <label><input type='radio' name='advertise' value='0'
65         {if $smarty.post.advertise && $smarty.post}checked='checked'{/if} />publique<br/>
66         <span style='font-size: xx-small;'>(tous les membres)</span></label>
67       </td>
68       <td colspan='2' style="border: 0">
69         <label><input type='radio' name='advertise' value='1'
70         {if !$smarty.post.advertise || !$smarty.post}checked='checked'{/if} />privée<br/>
71         <span style='font-size: xx-small;'>(seuls ceux inscrits à cette liste)</span></label>
72       </td>
73     </tr>
74     <tr>
75       <td style="border: 0; border-right: 1px solid gray">
76         diffusion&nbsp;:<br/><span style='font-size: xx-small;'>
77         (l'envoi d'un email à cette liste est-il modéré&nbsp;?)</span>
78       </td>
79       <td style="border: 0">
80         <label><input type='radio' name='modlevel' value='0'
81         {if !$smarty.post.modlevel}checked='checked'{/if} />libre<br/><small>(non)</small></label>
82       </td>
83       <td style="border: 0">
84         <label><input type='radio' name='modlevel' value='1'
85         {if $smarty.post.modlevel eq 1}checked='checked'{/if} />restreinte<br/>
86         <small>(oui, si l'expéditeur n'appartient pas à la liste)</small></label>
87       </td>
88       <td style="border: 0">
89         <label><input type='radio' name='modlevel' value='2'
90         {if $smarty.post.modlevel eq 2}checked='checked'{/if} />modérée<br/>
91         <small>(oui, tout le temps)</small></label>
92       </td>
93     </tr>
94     <tr>
95       <td style="border: 0; border-right: 1px solid gray">
96         inscription&nbsp;:<br/><span style='font-size: xx-small;'>
97         (l'inscription à cette liste est-elle modérée&nbsp;?)</span>
98       </td>
99       <td style="border: 0">
100         <label><input type='radio' name='inslevel' value='0'
101         {if !$smarty.post.inslevel && $smarty.post}checked='checked'{/if} />libre<br/>
102         <small>(non)</small></label>
103       </td>
104       <td colspan='2' style="border: 0">
105         <label><input type='radio' name='inslevel' value='1'
106         {if $smarty.post.inslevel || !$smarty.post}checked='checked'{/if} />modérée<br/>
107         <small>(oui)</small></label>
108       </td>
109     </tr>
110   </table>
111   <p class="center"><input name='submit' type='submit' value="Créer !" /></p>
112 </form>
113
114 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}