X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Fplview.minifiche.tpl;h=47534635c7cdded869d251fb634d3b4f14796bf6;hb=7f12e3b4113791f3372f11572a205925d7bb6b97;hp=f366b2631113f8867fd5e4f1cea8b8041641a6df;hpb=8c4a0c30c699f190cb7906746e22f67014df3368;p=platal.git diff --git a/templates/include/plview.minifiche.tpl b/templates/include/plview.minifiche.tpl index f366b26..4753463 100644 --- a/templates/include/plview.minifiche.tpl +++ b/templates/include/plview.minifiche.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 Polytechnique.org *} +{* Copyright (C) 2003-2008 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -21,13 +21,13 @@ {**************************************************************************}
-{iterate from=$set item=res} +{foreach 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}
{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}