Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 1473 → Rev 1474

/trunk/modules/fiche/squelettes/fiche_synthese_niveau2.tpl.html
150,51 → 150,6
</div>
</div>
<!-- Ethnobotanique -->
<div id="synthese_ethnobotanique" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
<h3 class="titre ui-widget-header ui-corner-all" id="titre-4">
<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>ethnobotanique"><?=$i18n["onglet-nom-ethnobota"]?></a>
</h3>
<div id="contenu-4" class="contenu">
<h4>Noms communs</h4>
<?php if ($ethnobotanique['nomsVerna'] == array()) { ?>
Aucun nom vernaculaire<br /><br />
<? if ($ethnobotanique['wikini']['noms_communs'] == '') {?>
<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
Rajouter vos informations.
</a>
<? } else { echo $ethnobotanique['wikini']['noms_communs'];} ?>
<?php } else { ?>
<?php foreach ($ethnobotanique['nomsVerna'] as $nom_verna) : ?>
<div> - <?= $nom_verna['nom_vernaculaire'].' ('.$nom_verna['code_langue'].')'; ?> </div>
<?php endforeach; ?>
<?php if($ethnobotanique['autresNomsVerna'] > 0) { ?>
<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" id="alignement-droite">
et <?= $ethnobotanique['autresNomsVerna'] ?>
autre<?= ($ethnobotanique['autresNomsVerna'] > 1) ? 's' : '' ?>
nom<?= ($ethnobotanique['autresNomsVerna'] > 1) ? 's' : '' ?>
</a><br />
<?php }?>
<?php }?>
<h4>Usages</h4>
<? if ($ethnobotanique['wikini']['usage'] == '') {?>
<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
Rajouter vos informations.
</a>
<? } else { echo $ethnobotanique['wikini']['usage']; } ?>
<h4>Culture et arts</h4>
<? if ($ethnobotanique['wikini']['culture_et_arts'] == '') {?>
<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
Rajouter vos informations.
</a>
<? } else { echo $ethnobotanique['wikini']['culture_et_arts']; } ?>
<br />
<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" id="alignement-droite">
Voir +/Compléter
</a>
</div>
</div>
<!-- Ecologie -->
<div id="synthese_ecologie" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
<h3 class="titre ui-widget-header ui-corner-all" id="titre-8">
438,6 → 393,52
</div>
</div>
</div>
<!-- Ethnobotanique -->
<div id="synthese_ethnobotanique" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
<h3 class="titre ui-widget-header ui-corner-all" id="titre-4">
<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>ethnobotanique"><?=$i18n["onglet-nom-ethnobota"]?></a>
</h3>
<div id="contenu-4" class="contenu">
<h4>Noms communs</h4>
<?php if ($ethnobotanique['nomsVerna'] == array()) { ?>
Aucun nom vernaculaire<br /><br />
<? if ($ethnobotanique['wikini']['noms_communs'] == '') {?>
<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
Rajouter vos informations.
</a>
<? } else { echo $ethnobotanique['wikini']['noms_communs'];} ?>
<?php } else { ?>
<?php foreach ($ethnobotanique['nomsVerna'] as $nom_verna) : ?>
<div> - <?= $nom_verna['nom_vernaculaire'].' ('.$nom_verna['code_langue'].')'; ?> </div>
<?php endforeach; ?>
<?php if($ethnobotanique['autresNomsVerna'] > 0) { ?>
<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" id="alignement-droite">
et <?= $ethnobotanique['autresNomsVerna'] ?>
autre<?= ($ethnobotanique['autresNomsVerna'] > 1) ? 's' : '' ?>
nom<?= ($ethnobotanique['autresNomsVerna'] > 1) ? 's' : '' ?>
</a><br />
<?php }?>
<?php }?>
<h4>Usages</h4>
<? if ($ethnobotanique['wikini']['usage'] == '') {?>
<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
Rajouter vos informations.
</a>
<? } else { echo $ethnobotanique['wikini']['usage']; } ?>
<h4>Culture et arts</h4>
<? if ($ethnobotanique['wikini']['culture_et_arts'] == '') {?>
<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
Rajouter vos informations.
</a>
<? } else { echo $ethnobotanique['wikini']['culture_et_arts']; } ?>
<br />
<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" id="alignement-droite">
Voir +/Compléter
</a>
</div>
</div>
</div>
<hr class="nettoyage" />
<script type="text/javascript">