Uses properly resized thumbnails for medals in user's profile.
[platal.git] / templates / register / step2.tpl
CommitLineData
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
a41bf2f8 23{include file="register/breadcrumb.tpl"}
24
0337d704 25<h1>Identification</h1>
26
27<p>
7b2413f6 28<a href="register?back=1">retour</a>
0337d704 29</p>
30
7b2413f6 31<form action="register" method="post">
0337d704 32 <table class="bicol" summary="Identification" cellpadding="3">
33 {if $smarty.session.sub_state.promo >= 1996}
a41bf2f8 34 {assign var="promo" value=$smarty.session.sub_state.promo}
0337d704 35 <tr>
36 <th colspan="2">matricule</th>
37 </tr>
38 <tr>
39 <td class="titre">
e8439508 40 Matricule X&nbsp;:
0337d704 41 </td>
42 <td>
43 <input type="text" size="6" maxlength="6" name="mat"
44 value="{$smarty.request.matricule|default:$smarty.session.sub_state.mat}" />
45 </td>
46 </tr>
47 <tr class="pair">
48 <td></td>
49 <td>
a7de4ef7 50 6 chiffres terminant par le numéro d'entrée (ex:
a41bf2f8 51 {if $promo < 2000}
52 {math equation="promo % 100" promo=$promo}0532)<br />
53 {else}
54 {math equation="(promo % 100) + 100" promo=$promo}532)<br />
55 {/if}
0337d704 56 Voir sur le GU ou un bulletin de solde pour trouver cette information<br /><br />
e8439508 57 Pour les élèves étrangers voie 2, il est du type&nbsp;:
a41bf2f8 58 {if $promo < 1999}
59 {math equation="(promo + 1) % 100" promo=$promo}0XXX
60 {else}
61 {math equation="((promo + 1) % 100) + 100" promo=$promo}XXX
62 {/if}
0337d704 63 </td>
64 </tr>
65 {/if}
66 <tr>
67 <th colspan="2">
68 Identification
69 </th>
70 </tr>
71 <tr>
72 <td class="titre">
a7de4ef7 73 Nom <span class="smaller">(à l'X)</span>
0337d704 74 </td>
75 <td>
76 <input type="text" size="20" maxlength="30" name="nom" value="{$smarty.request.nom}" />
77 </td>
78 </tr>
79 <tr>
80 <td class="titre">
a7de4ef7 81 Prénom
0337d704 82 </td>
83 <td>
84 <input type="text" size="15" maxlength="20" name="prenom" value="{$smarty.request.prenom}" />
85 </td>
86 </tr>
87 <tr>
88 <td class="titre">
89 Promotion
90 </td>
91 <td>
92 <input type="text" size="4" readonly="readonly" value="{$smarty.session.sub_state.promo}" />
93 </td>
94 </tr>
95 <tr>
96 <td colspan="2" class="center">
97 <input type="submit" value="Continuer l'inscription" />
98 </td>
99 </tr>
100 </table>
101</form>
102
a7de4ef7 103{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}