Prevents notices.
[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">
f0a52f1b 33 {if $smarty.session.subState.edu_type neq 'X' || $smarty.session.subState.yearpromo >= 1996}
94590511 34 {assign var="promo" value=$smarty.session.subState.yearpromo}
0337d704 35 <tr>
f0a52f1b 36 <th colspan="2">Matricule</th>
0337d704 37 </tr>
38 <tr>
39 <td class="titre">
f0a52f1b 40 Matricule École&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">
f0a52f1b 48 {if $smarty.session.subState.edu_type eq 'X'}
0337d704 49 <td></td>
50 <td>
6bb2f79a 51 6 chiffres terminant par le numéro d'entrée (ex&nbsp;:
a41bf2f8 52 {if $promo < 2000}
53 {math equation="promo % 100" promo=$promo}0532)<br />
54 {else}
55 {math equation="(promo % 100) + 100" promo=$promo}532)<br />
56 {/if}
0337d704 57 Voir sur le GU ou un bulletin de solde pour trouver cette information<br /><br />
7dede50b 58 Pour les élèves étrangers voie 2, il peut être aussi du type&nbsp;:
a41bf2f8 59 {if $promo < 1999}
60 {math equation="(promo + 1) % 100" promo=$promo}0XXX
61 {else}
62 {math equation="((promo + 1) % 100) + 100" promo=$promo}XXX
63 {/if}
0337d704 64 </td>
f0a52f1b 65 {/if}
0337d704 66 </tr>
67 {/if}
68 <tr>
69 <th colspan="2">
70 Identification
71 </th>
72 </tr>
73 <tr>
aab2ffdd 74 <td class="titre">
a7de4ef7 75 Nom <span class="smaller">(à l'X)</span>
0337d704 76 </td>
77 <td>
94590511 78 <input type="text" size="20" maxlength="30" name="lastname" value="{$smarty.request.lastname}" />
0337d704 79 </td>
80 </tr>
81 <tr>
82 <td class="titre">
a7de4ef7 83 Prénom
0337d704 84 </td>
85 <td>
94590511 86 <input type="text" size="15" maxlength="20" name="firstname" value="{$smarty.request.firstname}" />
0337d704 87 </td>
88 </tr>
89 <tr>
90 <td class="titre">
91 Promotion
92 </td>
93 <td>
94590511 94 <input type="text" size="4" readonly="readonly" value="{$smarty.session.subState.promo}" />
0337d704 95 </td>
96 </tr>
97 <tr>
98 <td colspan="2" class="center">
99 <input type="submit" value="Continuer l'inscription" />
100 </td>
101 </tr>
102 </table>
103</form>
104
a7de4ef7 105{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}