X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fregister%2Fstep2.tpl;h=b16d5160b89b531c4ebf9192a95178a7b8af3934;hb=f0a52f1beb8dc550526ffaddd33144acccfff534;hp=ee2ce77c4edce2c46eaf75567222de3051d90c02;hpb=245923e335d0da5bec9495991a7846be9f0563ab;p=platal.git diff --git a/templates/register/step2.tpl b/templates/register/step2.tpl index ee2ce77..b16d516 100644 --- a/templates/register/step2.tpl +++ b/templates/register/step2.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2010 Polytechnique.org *} +{* Copyright (C) 2003-2011 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -30,14 +30,14 @@
- {if $smarty.session.subState.yearpromo >= 1996} + {if $smarty.session.subState.edu_type neq 'X' || $smarty.session.subState.yearpromo >= 1996} {assign var="promo" value=$smarty.session.subState.yearpromo} - + + {if $smarty.session.subState.edu_type eq 'X'} + {/if} {/if}
matriculeMatricule
- Matricule X : + Matricule École :
6 chiffres terminant par le numéro d'entrée (ex : @@ -61,6 +62,7 @@ {math equation="((promo + 1) % 100) + 100" promo=$promo}XXX {/if}