28 lines
955 B
Smarty
Executable File
28 lines
955 B
Smarty
Executable File
{capture name=path}{l s='Livre d\'or'}{/capture}
|
|
{include file="$tpl_dir./breadcrumb.tpl"}
|
|
<div class="borderGreen">
|
|
<h1>[{l s='Livre d\'or'}]</h1>
|
|
<div>
|
|
{foreach from=$generationlivredor item=livredorParent key=compteur}
|
|
{if $livredorParent.children|@count>0 || $livredorParent.items|@count>0}
|
|
{if $livredorParent.items|@count>0}
|
|
<div class="tiroir">
|
|
<h3 class="item{$compteur}"><span class="uppercase">{$livredorParent.title}</span></h3>
|
|
<div class="hidden texte">
|
|
{foreach from=$livredorParent.items item=livredorItem}
|
|
<p>«{$livredorItem.phrase}» {$livredorItem.prenom} {$livredorItem.nom|truncate:1:"."}{if $livredorItem.departement}{l s='Dép. '} {$livredorItem.departement}{/if}</p>
|
|
{/foreach}
|
|
</div>
|
|
</div>
|
|
{/if}
|
|
{/if}
|
|
{/foreach}
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
{literal}
|
|
$(document).ready(function(){
|
|
$('.tiroir:first-child').next().click();
|
|
});
|
|
{/literal}
|
|
</script> |