projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes registration and promo addition.
[platal.git]
/
templates
/
register
/
step2.tpl
diff --git
a/templates/register/step2.tpl
b/templates/register/step2.tpl
index
6ae6a64
..
b16d516
100644
(file)
--- a/
templates/register/step2.tpl
+++ b/
templates/register/step2.tpl
@@
-30,14
+30,14
@@
<form action="register" method="post">
<table class="bicol" summary="Identification" cellpadding="3">
<form action="register" method="post">
<table class="bicol" summary="Identification" cellpadding="3">
- {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}
<tr>
{assign var="promo" value=$smarty.session.subState.yearpromo}
<tr>
- <th colspan="2">
m
atricule</th>
+ <th colspan="2">
M
atricule</th>
</tr>
<tr>
<td class="titre">
</tr>
<tr>
<td class="titre">
- Matricule
X
:
+ Matricule
École
:
</td>
<td>
<input type="text" size="6" maxlength="6" name="schoolid"
</td>
<td>
<input type="text" size="6" maxlength="6" name="schoolid"
@@
-45,6
+45,7
@@
</td>
</tr>
<tr class="pair">
</td>
</tr>
<tr class="pair">
+ {if $smarty.session.subState.edu_type eq 'X'}
<td></td>
<td>
6 chiffres terminant par le numéro d'entrée (ex :
<td></td>
<td>
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}
</td>
{math equation="((promo + 1) % 100) + 100" promo=$promo}XXX
{/if}
</td>
+ {/if}
</tr>
{/if}
<tr>
</tr>
{/if}
<tr>