6ae6a64d838482830b1bc89b0f93da27e2dcf0be
[platal.git] / templates / register / step2.tpl
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.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 X&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       <td></td>
49       <td>
50         6 chiffres terminant par le numéro d'entrée (ex&nbsp;:
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}
56         Voir sur le GU ou un bulletin de solde pour trouver cette information<br /><br />
57         Pour les élèves étrangers voie 2, il peut être aussi du type&nbsp;:
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}
63       </td>
64     </tr>
65     {/if}
66     <tr>
67       <th colspan="2">
68         Identification
69       </th>
70     </tr>
71     <tr>
72       <td class="titre">
73         Nom <span class="smaller">(à l'X)</span>
74       </td>
75       <td>
76         <input type="text" size="20" maxlength="30" name="lastname" value="{$smarty.request.lastname}" />
77       </td>
78     </tr>
79     <tr>
80       <td class="titre">
81         Prénom
82       </td>
83       <td>
84         <input type="text" size="15" maxlength="20" name="firstname" value="{$smarty.request.firstname}" />
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.subState.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
103 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}