Happy New Year!
[platal.git] / templates / register / step2.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
5e1513f6 3{* Copyright (C) 2003-2011 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">
94590511
SJ
33 {if $smarty.session.subState.yearpromo >= 1996}
34 {assign var="promo" value=$smarty.session.subState.yearpromo}
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>
94590511
SJ
43 <input type="text" size="6" maxlength="6" name="schoolid"
44 value="{$smarty.request.schoolid|default:$smarty.session.subState.schoolid}" />
0337d704 45 </td>
46 </tr>
47 <tr class="pair">
48 <td></td>
49 <td>
6bb2f79a 50 6 chiffres terminant par le numéro d'entrée (ex&nbsp;:
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 />
7dede50b 57 Pour les élèves étrangers voie 2, il peut être aussi 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>
aab2ffdd 72 <td class="titre">
a7de4ef7 73 Nom <span class="smaller">(à l'X)</span>
0337d704 74 </td>
75 <td>
94590511 76 <input type="text" size="20" maxlength="30" name="lastname" value="{$smarty.request.lastname}" />
0337d704 77 </td>
78 </tr>
79 <tr>
80 <td class="titre">
a7de4ef7 81 Prénom
0337d704 82 </td>
83 <td>
94590511 84 <input type="text" size="15" maxlength="20" name="firstname" value="{$smarty.request.firstname}" />
0337d704 85 </td>
86 </tr>
87 <tr>
88 <td class="titre">
89 Promotion
90 </td>
91 <td>
94590511 92 <input type="text" size="4" readonly="readonly" value="{$smarty.session.subState.promo}" />
0337d704 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: *}