Prevents notices.
[platal.git] / templates / register / step2.tpl
... / ...
CommitLineData
1{**************************************************************************}
2{* *}
3{* Copyright (C) 2003-2011 Polytechnique.org *}
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{include file="register/breadcrumb.tpl"}
24
25<h1>Identification</h1>
26
27<p>
28<a href="register?back=1">retour</a>
29</p>
30
31<form action="register" method="post">
32 <table class="bicol" summary="Identification" cellpadding="3">
33 {if $smarty.session.subState.edu_type neq 'X' || $smarty.session.subState.yearpromo >= 1996}
34 {assign var="promo" value=$smarty.session.subState.yearpromo}
35 <tr>
36 <th colspan="2">Matricule</th>
37 </tr>
38 <tr>
39 <td class="titre">
40 Matricule École&nbsp;:
41 </td>
42 <td>
43 <input type="text" size="6" maxlength="6" name="schoolid"
44 value="{$smarty.request.schoolid|default:$smarty.session.subState.schoolid}" />
45 </td>
46 </tr>
47 <tr class="pair">
48 {if $smarty.session.subState.edu_type eq 'X'}
49 <td></td>
50 <td>
51 6 chiffres terminant par le numéro d'entrée (ex&nbsp;:
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}
57 Voir sur le GU ou un bulletin de solde pour trouver cette information<br /><br />
58 Pour les élèves étrangers voie 2, il peut être aussi du type&nbsp;:
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}
64 </td>
65 {/if}
66 </tr>
67 {/if}
68 <tr>
69 <th colspan="2">
70 Identification
71 </th>
72 </tr>
73 <tr>
74 <td class="titre">
75 Nom <span class="smaller">(à l'X)</span>
76 </td>
77 <td>
78 <input type="text" size="20" maxlength="30" name="lastname" value="{$smarty.request.lastname}" />
79 </td>
80 </tr>
81 <tr>
82 <td class="titre">
83 Prénom
84 </td>
85 <td>
86 <input type="text" size="15" maxlength="20" name="firstname" value="{$smarty.request.firstname}" />
87 </td>
88 </tr>
89 <tr>
90 <td class="titre">
91 Promotion
92 </td>
93 <td>
94 <input type="text" size="4" readonly="readonly" value="{$smarty.session.subState.promo}" />
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
105{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}