projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix admin/logger when the user has no entry in the aliases table.
[platal.git]
/
templates
/
include
/
plview.minifiche.tpl
diff --git
a/templates/include/plview.minifiche.tpl
b/templates/include/plview.minifiche.tpl
index
2527d2f
..
acd256a
100644
(file)
--- a/
templates/include/plview.minifiche.tpl
+++ b/
templates/include/plview.minifiche.tpl
@@
-1,6
+1,6
@@
{**************************************************************************}
{* *}
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-20
08
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 *}
@@
-21,13
+21,9
@@
{**************************************************************************}
<div class="contact-list" style="clear: both">
{**************************************************************************}
<div class="contact-list" style="clear: both">
-{iterate from=$set item=res}
- {if $res.contact}
- {include file="include/minifiche.tpl" c=$res show_action="retirer"}
- {else}
- {include file="include/minifiche.tpl" c=$res show_action="ajouter"}
- {/if}
-{/iterate}
+{foreach from=$set item=res}
+ {include file="include/minifiche.tpl" profile=$res}
+{/foreach}
</div>
{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}
</div>
{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}