Remodels the registration process (part 2).
[platal.git] / templates / register / step3.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
8d84c630 3{* Copyright (C) 2003-2009 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
a41bf2f8 23{include file="register/breadcrumb.tpl"}
0337d704 24
25{if $smarty.session.sub_state.forlife}
26
a7de4ef7 27<h1>Formulaire de pré-inscription</h1>
0337d704 28
97a82cd2 29<form action="register" method="post" id="changepass2">
0337d704 30 {if $smarty.session.sub_state.mailorg2}
31 <p>
25d0895d 32 Tu n'as pour le moment aucun homonyme dans notre base de données. Nous allons
d7dd70be 33 donc te donner l'adresse <strong>{$smarty.session.sub_state.bestalias}@{#globals.mail.domain#}</strong>,
34 en plus de ton adresse à vie <strong>{$smarty.session.sub_state.forlife}@{#globals.mail.domain#}</strong>.
25d0895d 35 Note que tu pourrais perdre l'adresse <strong>{$smarty.session.sub_state.bestalias}@{#globals.mail.domain#}</strong>
97a82cd2 36 si un homonyme s'inscrivait, même si cela reste assez rare.
0337d704 37 </p>
38 {else}
39 <p>
25d0895d 40 Tu as déjà un homonyme inscrit dans notre base de données, dans une autre promotion. Nous allons
d7dd70be 41 donc te donner l'adresse <strong>{$smarty.session.sub_state.bestalias}@{#globals.mail.domain#}</strong>, en plus
42 de ton adresse à vie <strong>{$smarty.session.sub_state.forlife}@{#globals.mail.domain#}</strong>.
0337d704 43 </p>
44 {/if}
45
46 <p>
faefdbb7 47 Ces adresses sont des redirections vers une ou plusieurs adresses email de ton choix.
25d0895d
AA
48 Indiques-en une pour terminer ton inscription. Tu pourras la modifier ou ajouter d'autres
49 adresses une fois inscrit.
0337d704 50 </p>
51 <p>
25d0895d
AA
52 Attention, cette adresse doit <strong>impérativement être valide</strong> pour que nous puissions
53 t'envoyer tes informations de connexion.
0337d704 54 </p>
55
97a82cd2
VZ
56 <p>Nous te demandons également un <strong>mot de passe</strong>, qui te permettra de te reconnecter au site ultérieurement.
57 Pour une sécurité optimale, ton mot de passe ne circulera jamais en clair, et sera stocké sous une forme chiffrée
58 irréversiblement sur nos serveurs.
59 </p>
60
61
0337d704 62 <table class="bicol">
63 <tr>
64 <th colspan="2">
a7de4ef7 65 Contact et sécurité
0337d704 66 </th>
67 </tr>
68 <tr>
69 <td class="titre">
faefdbb7 70 Email<br />
25d0895d 71 <span class="smaller">(adresse de ton choix pour reçevoir tes emails)</span>
0337d704 72 </td>
73 <td>
74 <input type="text" size="35" maxlength="50" name="email" value="{$smarty.post.email}" />
75 </td>
76 </tr>
97a82cd2 77 <tr class="pair">
0337d704 78 <td class="titre">
79 Date de naissance<br />
12e5d7a6 80 <span class="smaller">jour/mois/année</span>
0337d704 81 </td>
82 <td>
12e5d7a6 83 <input type="text" size="10" maxlength="10" name="naissance" value="{$smarty.post.naissance}" />
25d0895d 84 (demandée si tu perds ton mot de passe)
0337d704 85 </td>
86 </tr>
97a82cd2
VZ
87 <tr class="impair">
88 <td class="titre">
89 Mot de passe<br />
90 <span class="smaller">au moins 6 caractères</span>
91 </td>
92 <td>
93 <input type="hidden" name="response2" />
94 <input type="password" size="10" maxlength="256" name="password" /><br/>
95 <input type="password" size="10" maxlength="256" name="password2" /> (retape ton mot de passe)<br />
96 {checkpasswd prompt="password" text="Terminer la pré-inscription"}
97 </td>
98 </tr>
0337d704 99 <tr>
100 <td colspan="2" class="center">
97a82cd2 101 <input type="submit" name="submitn" value="Continuer" onclick="EncryptedResponseInNestedForm(); return false;" />
0337d704 102 </td>
103 </tr>
104 </table>
105</form>
97a82cd2
VZ
106<form action="register" id="changepass">
107 <div>
108 <input type="hidden" name="nouveau" />
109 <input type="hidden" name="nouveau2" />
110 </div>
111</form>
0337d704 112{/if}
113
a7de4ef7 114{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}