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 | |
a7de4ef7 |
23 | <h1>Demande d'inscription à {$asso.nom}</h1> |
0337d704 |
24 | |
d24c8a11 |
25 | {if $u && $is_admin && $show_form} |
0337d704 |
26 | |
27 | <h2> |
e8439508 |
28 | Demande de la part de : {$prenom} {$nom} (X{$promo}) |
fdf0200a |
29 | <a href="https://www.polytechnique.org/profile/{$u}">Voir sa fiche</a> |
0337d704 |
30 | </h2> |
7b2413f6 |
31 | <form action="{$platal->ns}subscribe/{$u}" method="post"> |
0337d704 |
32 | <input type="submit" value="Accepter" name="accept" /> |
33 | <br /> |
34 | ou bien |
35 | <br /> |
36 | <input type="submit" value="Refuser avec le motif ci-dessous" name="refuse" /> |
37 | <textarea cols="70" rows="8" name="motif"></textarea> |
38 | <br /> |
39 | </form> |
40 | |
41 | {elseif $smarty.post.inscrire} |
42 | |
43 | <p class="descr"> |
a7de4ef7 |
44 | <strong>Ta demande d'inscription a bien été envoyée !</strong> Tu seras averti par email de la suite qui lui sera donnée. |
0337d704 |
45 | <p> |
a7de4ef7 |
46 | <p class="descr">[<a href="{$platal->ns}">Retour à la page d'accueil de {$asso.nom}</a>]</p> |
0337d704 |
47 | |
48 | {else} |
49 | |
50 | <p class="descr"> |
a7de4ef7 |
51 | Pour t'inscrire à {$asso.nom}, il te faut en demander l'autorisation aux animateurs du groupe via le |
52 | formulaire ci-dessous. Vérifie et corrige au besoin les différents champs, puis clique sur |
77af6562 |
53 | [ M'inscrire ! ]. |
0337d704 |
54 | </p> |
7b2413f6 |
55 | <form action="{$platal->ns}subscribe" method="post"> |
0337d704 |
56 | <p class="descr"> |
61fb0add |
57 | <strong>OUI, je souhaite être inscrit au groupe {$asso.nom}.</strong> |
0337d704 |
58 | </p> |
59 | <p class="descr"> |
e8439508 |
60 | Indique ci-après <strong>tes motivations</strong> qui seront communiquées aux animateurs du groupe : |
0337d704 |
61 | </p> <textarea cols=80 rows=12 name="message"> |
62 | Chers Camarades, |
63 | |
a7de4ef7 |
64 | Je souhaite m'inscrire à {$asso.nom}. |
0337d704 |
65 | |
66 | Merci d'avance d'avoir la gentillesse de valider mon inscription. |
67 | |
68 | Bien cordialement, |
69 | {$smarty.session.prenom} {$smarty.session.nom} (X{$smarty.session.promo}) |
70 | |
71 | -- |
e8439508 |
72 | Ma fiche sur Polytechnique.org : |
e8599c21 |
73 | https://www.polytechnique.org/profile/{$smarty.session.forlife} |
0337d704 |
74 | </textarea> |
75 | <div class="center"> |
76 | <input type="submit" name="inscrire" value="M'inscrire !" /> |
77 | |
78 | <input type="reset" value="Annuler" /> |
79 | </div> |
80 | </form> |
81 | |
82 | {/if} |
83 | |
a7de4ef7 |
84 | {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} |