09/06/2011, 11:48:52
Pas besoin du 2ème foreach.
Code :
{foreach from=$items item=entry}
...
{if isset($entry->fields)}
{if $entry->alaune == 1}
{if isset($entry->capture)}
<div class="NewsDetailField">
<img src="{$entry->file_location}/{$entry->capture}"/>
</div>
{/if}
{/if}
{/if}
...
{/foreach}