Add mailing list headers to newsletters
[platal.git] / templates / carnet / batch.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>Marketing</h1>
24
25 <p>
26   La liste des camarades à ajouter doit comporter un camarade par ligne, sous la forme&nbsp;:
27   <em>Prénom Nom Promo Email</em>, où tous les champs, sauf l'email, sont facultatifs. La promotion éventuelle doit être
28   indiquée sous la forme <em>X2004</em>.
29 </p>
30 {if $errors}
31 <p class="erreur">
32   Les lignes incomplètes ou erronées ont été remises dans le cadre ci-dessous pour que tu puisses les corriger et/ou les complèter.
33 </p>
34 {/if}
35
36 <form method="post" action="{$platal->ns}carnet/batch" enctype="multipart/form-data">
37   {xsrf_token_field}
38   <div>
39   <textarea name="list" cols="60" rows="30">{if $errors}{foreach from=$incomplete item=line}{$line}
40 {/foreach}{/if}</textarea><br />
41   Marketer les camarades non inscrits à Polytechnique.org&nbsp;:<br />
42   <label>en ton nom<input type="radio" name="origin" value="user" checked="checked" /></label>&nbsp;-&nbsp;
43   <label><input type="radio" name="origin" value="staff" />au nom de l'équipe Polytechnique.org </label><br />
44   <input type="submit" name="add" value="Ajouter" />
45   </div>
46 </form>
47
48 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}