{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2008 Polytechnique.org *}
+{* Copyright (C) 2003-2010 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{**************************************************************************}
<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: *}