2006 => 2007 Happy New Year\!
[platal.git] / templates / register / step2.tpl
index 7a154bf..a9511fd 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2004 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2007 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
 {*                                                                        *}
 {**************************************************************************}
 
+{include file="register/breadcrumb.tpl"}
+
 <h1>Identification</h1>
 
 <p>
-<a href="?back=1">retour</a>
+<a href="register?back=1">retour</a>
 </p>
 
-<form action="?" method="post">
+<form action="register" method="post">
   <table class="bicol" summary="Identification" cellpadding="3">
     {if $smarty.session.sub_state.promo >= 1996}
+    {assign var="promo" value=$smarty.session.sub_state.promo}
     <tr>
       <th colspan="2">matricule</th>
     </tr>
     <tr class="pair">
       <td></td>
       <td>
-        6 chiffres terminant par le numéro d'entrée (ex: 960532 ou 101532)<br />
+        6 chiffres terminant par le numéro d'entrée (ex: 
+        {if $promo < 2000}
+        {math equation="promo % 100" promo=$promo}0532)<br />
+        {else}
+        {math equation="(promo % 100) + 100" promo=$promo}532)<br />
+        {/if}
         Voir sur le GU ou un bulletin de solde pour trouver cette information<br /><br />
-        Pour les élèves étrangers voie 2, il est du type :<br />
-        Promotion: 1996, Matricule: 970XXX - Promotion: 2001, Matricule 102XXX.
+        Pour les élèves étrangers voie 2, il est du type :
+        {if $promo < 1999}
+        {math equation="(promo + 1) % 100" promo=$promo}0XXX
+        {else}
+        {math equation="((promo + 1) % 100) + 100" promo=$promo}XXX
+        {/if}
       </td>
     </tr>
     {/if}
@@ -58,8 +70,7 @@
     </tr>
     <tr>
       <td class="titre"> 
-        Nom<br />
-        <span class="smaller">(Xettes mariées : nom à l'X)</span>
+        Nom <span class="smaller">(à l'X)</span>
       </td>
       <td>
         <input type="text" size="20" maxlength="30" name="nom" value="{$smarty.request.nom}" />