X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Fplview.minifiche.tpl;h=4f29aaad7ff84da1668e9fa5e25c21bdf39c8c80;hb=14f4068d03b9494b2b755e8aefe2cf1747a65aa7;hp=2527d2fa39de7b07bdf590b3303d8c2902184488;hpb=756ff73fbb0cdd01cce2eda27ba18e1cc99bd735;p=platal.git diff --git a/templates/include/plview.minifiche.tpl b/templates/include/plview.minifiche.tpl index 2527d2f..4f29aaa 100644 --- a/templates/include/plview.minifiche.tpl +++ b/templates/include/plview.minifiche.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2008 Polytechnique.org *} +{* Copyright (C) 2003-2011 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -21,13 +21,9 @@ {**************************************************************************}
-{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}
{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}