Arrange templates by module
[platal.git] / templates / xnetgrp / inscrire.tpl
CommitLineData
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
d24c8a11 25{if $u && $is_admin && $show_form}
0337d704 26
27<h2>
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">
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.
45<p>
7b2413f6 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">
51Pour t'inscrire à {$asso.nom}, il te faut en demander l'autorisation aux animateurs du groupe via le
52formulaire ci-dessous. Vérifie et corrige au besoin les différents champs, puis clique sur
53[&nbsp;m'inscrire&nbsp;]
54</p>
7b2413f6 55<form action="{$platal->ns}subscribe" method="post">
0337d704 56 <p class="descr">
57 <strong>OUI, je souhaite être inscrit au groupe {$asso.nom}</strong>
58 </p>
59 <p class="descr">
60 Indique ci-après <strong>tes motivations</strong> qui seront communiquées aux animateurs du groupe :
61 </p> <textarea cols=80 rows=12 name="message">
62Chers Camarades,
63
64Je souhaite m'inscrire à {$asso.nom}.
65
66Merci d'avance d'avoir la gentillesse de valider mon inscription.
67
68Bien cordialement,
69{$smarty.session.prenom} {$smarty.session.nom} (X{$smarty.session.promo})
70
71--
72Ma fiche sur Polytechnique.org :
e8599c21 73https://www.polytechnique.org/profile/{$smarty.session.forlife}
0337d704 74</textarea>
75 <div class="center">
76 <input type="submit" name="inscrire" value="M'inscrire !" />
77 &nbsp;
78 <input type="reset" value="Annuler" />
79 </div>
80</form>
81
82{/if}
83
84{* vim:set et sw=2 sts=2 sws=2: *}