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