projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update jQuery, add jQuery Tmpl plugin in deps.
[platal.git]
/
templates
/
search
/
adv.grade.form.tpl
diff --git
a/templates/search/adv.grade.form.tpl
b/templates/search/adv.grade.form.tpl
index
d4492af
..
9807c61
100644
(file)
--- a/
templates/search/adv.grade.form.tpl
+++ b/
templates/search/adv.grade.form.tpl
@@
-1,6
+1,6
@@
{**************************************************************************}
{* *}
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-20
09
Polytechnique.org *}
+{* Copyright (C) 2003-20
10
Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
@@
-23,8
+23,10
@@
<select name="diploma">
<option value=""> - </option>
{section name=diploma loop=$choix_diplomas}
<select name="diploma">
<option value=""> - </option>
{section name=diploma loop=$choix_diplomas}
-<option value="{$choix_diplomas[diploma]}">
- {$choix_diplomas[diploma]}
+{assign var=i value=$choix_diplomas[diploma]}
+{assign var=id value=$i-1}
+<option value="{$i}">
+ {$name_diplomas[$id]}
</option>
{/section}
</select>
</option>
{/section}
</select>