X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Fplview.minifiche.tpl;h=38e3c784963f5619f3595a9ee003cc9527f0d5f8;hb=af744c2d5f4ddf83b738b9cb390926eaca4cf7c3;hp=2527d2fa39de7b07bdf590b3303d8c2902184488;hpb=d0327f6de73e81c4bcc656471ca4161e4f1e1e1b;p=platal.git diff --git a/templates/include/plview.minifiche.tpl b/templates/include/plview.minifiche.tpl index 2527d2f..38e3c78 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-2009 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: *}