Commit | Line | Data |
---|---|---|
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 | |
0fab5209 | 25 | {if $user && $is_admin && $show_form} |
0337d704 | 26 | |
27 | <h2> | |
0fab5209 | 28 | Demande de la part de : <a href="profile/{$user->login()}" class="popup2">{$user->fullName()} (X{$user->promo()})</a> |
0337d704 | 29 | </h2> |
4af7fd22 FB |
30 | |
31 | {if $reason} | |
32 | <fieldset> | |
33 | <legend>Motif de la demande</legend> | |
34 | {$reason|nl2br} | |
35 | </fieldset> | |
36 | {/if} | |
37 | ||
0fab5209 | 38 | <form action="{$platal->ns}subscribe/{$user->login()}" method="post"> |
e7fdf9dd | 39 | {xsrf_token_field} |
4af7fd22 FB |
40 | <table class="bicol"> |
41 | <tr> | |
42 | <td>Raison (en cas de refus) :</td> | |
43 | </tr> | |
44 | <tr> | |
45 | <td> | |
46 | <textarea cols="70" rows="8" name="motif"></textarea> | |
47 | </td> | |
48 | </tr> | |
49 | <tr> | |
50 | <td class="center"> | |
51 | <input type="submit" value="Accepter" name="accept" /> | |
52 | <input type="submit" value="Refuser" name="refuse" /> | |
53 | </td> | |
54 | </tr> | |
55 | </table> | |
0337d704 | 56 | </form> |
57 | ||
4af7fd22 FB |
58 | <div><a href="{$platal->ns}/subscribe/valid">Revenir à la liste des validations en attente</a></div> |
59 | ||
0337d704 | 60 | {elseif $smarty.post.inscrire} |
61 | ||
62 | <p class="descr"> | |
a7de4ef7 | 63 | <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 | 64 | <p> |
a7de4ef7 | 65 | <p class="descr">[<a href="{$platal->ns}">Retour à la page d'accueil de {$asso.nom}</a>]</p> |
0337d704 | 66 | |
67 | {else} | |
68 | ||
69 | <p class="descr"> | |
a7de4ef7 | 70 | Pour t'inscrire à {$asso.nom}, il te faut en demander l'autorisation aux animateurs du groupe via le |
71 | formulaire ci-dessous. Vérifie et corrige au besoin les différents champs, puis clique sur | |
77af6562 | 72 | [ M'inscrire ! ]. |
0337d704 | 73 | </p> |
7b2413f6 | 74 | <form action="{$platal->ns}subscribe" method="post"> |
e7fdf9dd | 75 | {xsrf_token_field} |
0337d704 | 76 | <p class="descr"> |
61fb0add | 77 | <strong>OUI, je souhaite être inscrit au groupe {$asso.nom}.</strong> |
0337d704 | 78 | </p> |
79 | <p class="descr"> | |
e8439508 | 80 | Indique ci-après <strong>tes motivations</strong> qui seront communiquées aux animateurs du groupe : |
0337d704 | 81 | </p> <textarea cols=80 rows=12 name="message"> |
82 | Chers Camarades, | |
83 | ||
a7de4ef7 | 84 | Je souhaite m'inscrire à {$asso.nom}. |
0337d704 | 85 | |
86 | Merci d'avance d'avoir la gentillesse de valider mon inscription. | |
87 | ||
88 | Bien cordialement, | |
89 | {$smarty.session.prenom} {$smarty.session.nom} (X{$smarty.session.promo}) | |
90 | ||
91 | -- | |
e8439508 | 92 | Ma fiche sur Polytechnique.org : |
0fab5209 | 93 | https://www.polytechnique.org/profile/{$smarty.session.hruid} |
0337d704 | 94 | </textarea> |
95 | <div class="center"> | |
96 | <input type="submit" name="inscrire" value="M'inscrire !" /> | |
97 | | |
98 | <input type="reset" value="Annuler" /> | |
99 | </div> | |
100 | </form> | |
101 | ||
102 | {/if} | |
103 | ||
a7de4ef7 | 104 | {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} |