projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename education_fmt to display_education and make it a Smarty plugin
[platal.git]
/
templates
/
include
/
minifiche.tpl
diff --git
a/templates/include/minifiche.tpl
b/templates/include/minifiche.tpl
index
0640732
..
c4f0dfa
100644
(file)
--- a/
templates/include/minifiche.tpl
+++ b/
templates/include/minifiche.tpl
@@
-64,7
+64,7
@@
<img src='images/flags/{$nat}.gif' alt='{$nat}' height='11' title='{$nat}' />
{/foreach}
{$profile->promo()}{*
<img src='images/flags/{$nat}.gif' alt='{$nat}' height='11' title='{$nat}' />
{/foreach}
{$profile->promo()}{*
- *}{iterate from=$profile->getExtraEducations(4) item=edu}, {
education_fmt
edu=$edu profile=$profile}{/iterate}{*
+ *}{iterate from=$profile->getExtraEducations(4) item=edu}, {
display_education
edu=$edu profile=$profile}{/iterate}{*
*}{if $dead}, {"décédé"|sex:"décédée":$profile} le {$profile->deathdate|date_format}{/if}
</div>
</div>
*}{if $dead}, {"décédé"|sex:"décédée":$profile} le {$profile->deathdate|date_format}{/if}
</div>
</div>