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
4d4e7a8
..
9807c61
100644
(file)
--- a/
templates/search/adv.grade.form.tpl
+++ b/
templates/search/adv.grade.form.tpl
@@
-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>