fc554c940eca60ae1051a8a0b07fd9fbc0105516
[platal.git] / templates / xnetgrp / membres-add.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;: Ajout d'un membre</h1>
24
25 <form method="post" action="{$platal->ns}member/new/">
26   {xsrf_token_field}
27   <ul class='descr'>
28     <li>
29       Pour ajouter un X dans ton groupe, il suffit d'entrer ici une de ses
30       adresses email @polytechnique.org. S'il n'est pas inscrit à Polytechnique.org
31       coche la case qui se trouve sous le formulaire et indique ses noms, prénoms et
32       promotions.
33     </li>
34     <li>
35       Pour ajouter un extérieur dans ton groupe, il suffit d'entrer ici son
36       adresse email, tu seras ensuite redirigé vers une page te permettant
37       d'éditer son profil (nom, prenom&hellip;).
38     </li>
39   </ul>
40   <table class="tinybicol">
41     <tr>
42       <td class="center" colspan="2">
43         <input type="text" id="email" name="email" size="40" value="{if t($platal->argv[1])}{$platal->argv[1]}{/if}" />
44         <input type="hidden" name="force_continue" value="{if t($force_continue)}1{else}0{/if}" />
45         <input type='submit' value='Ajouter'
46           onclick='this.form.action += this.form.email.value' />
47       </td>
48     </tr>
49     {include file="xnetgrp/members_new_form.tpl" registered=false}
50   </table>
51 </form>
52 {literal}
53 <script type="text/javascript">
54   $("#email").focus();
55 </script>
56 {/literal}
57
58 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}