New file |
0,0 → 1,15 |
<ul class="onglets"> |
<?php if ($typeNom == 'nom_scientifique') : ?> |
<?php foreach ($ongletsNs as $onglet) : ?> |
<li <?=($typeResultat == $onglet ? 'class="menu_actif"': '')?>> |
<a href="<?=$urls[$onglet]?>"><?=$i18n[$onglet]?></a> |
</li> |
<?php endforeach; ?> |
<?php elseif ($typeNom == 'nom_vernaculaire') : ?> |
<?php foreach ($ongletsNv as $onglet) : ?> |
<li <?=($typeResultat == $onglet ? 'class="menu_actif"': '')?>> |
<a href="<?=$urls[$onglet]?>"><?=$i18n[$onglet]?></a> |
</li> |
<?php endforeach; ?> |
<?php endif; ?> |
</ul> |