Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 1533 → Rev 1534

/branches/v5.10-vilmorin/modules/fiche/squelettes/fiche_synthese_niveau2.tpl.html
1,6 → 1,6
<!-- Fichier intermédiaire -->
<!-- Variables js commune injectée dans fiche_entete.tpl.tml -->
<? $url = htmlentities($urlBase . '?referentiel='.Registre::get('parametres.referentiel').'&niveau='.Registre::get('parametres.niveau').'&module=fiche&num_nom='.$num_nom.'&type_nom='.$type_nom.'&nom='.$nom.'&onglet=');?>
<? $url = htmlentities('?referentiel='.Registre::get('parametres.referentiel').'&niveau='.Registre::get('parametres.niveau').'&module=fiche&num_nom='.$num_nom.'&type_nom='.$type_nom.'&nom='.$nom.'&onglet=');?>
<div class="synthese onglet_contenu" id="synthese">
<div class="colonne deuxtiers">
10,14 → 10,14
<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>description"><?=$i18n["onglet-nom-descr"]?></a>
</h3>
<div id="contenu-1" class="contenu">
<? if ($description['description'] != '' && $description['description'] != array() : ?>
<h4><?= $description['titre']?></h4>
<h4><?= $description['titre']?></h4>
<? if ($description['description'] != '') : ?>
<? if($description['type'] == 'baseflor') : ?>
<table class="desc">
<tr>
<td colspan="2">
<?if ($description['description']['type_bio'] != '') : ?>
<span class="titre">Type Biologique :</span> <?= $description['description']['type_bio']; ?><br/>
<span class="titre">Type Biologique :</span> <?=$description['description']['type_bio']; ?><br/>
<? endif; ?>
</td>
</tr>
85,7 → 85,7
<? endif; ?>
</td>
</tr>
<? if ($description['description']['synonymes'] != '') : ?>
<?if ($description['description']['synonymes'] != '') : ?>
<tr>
<td>
<span class="titre">Synonymes </span>
144,12 → 144,57
<? endif;?>
<? endif;?><br />
<a href="<?=$url;?>description" class="alignement-droite">
<a href="<?=$url;?>description" class="lien_ouverture_onglet_parent" id="alignement-droite">
Voir +/Compléter
</a>
</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">
156,14 → 201,13
<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>ecologie"><?=$i18n["onglet-nom-eco"]?></a>
</h3>
<div id="contenu-8" class="contenu">
<h4><?= $ecologie['graph']['titre'] ?></h4>
<? if (empty($ecologie['graph']['description'])) : ?>
<? if ($ecologie['graph']['wikini']['ecologie'] == '') :?>
<a href="<?=$url;?>ecologie" >
<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
Rajouter vos informations.
</a>
<? else ?>
<h4><?= $ecologie['graph']['titre'] ?></h4>
<?= $ecologie['graph']['wikini']['ecologie']; ?>
<? else : echo $ecologie['graph']['wikini']['ecologie'];?>
<? endif; ?>
<? else : ?>
<div class="fond_graphique">
171,7 → 215,7
<span class="titre">caractéristiques climatiques</span>
<div class="graphique">
<object type="image/svg+xml" data="<?=$ecologie['graph']['description']['climat_url']?>"
class="svg" >
class="svg" alt="<?=$ecologie['graph']['description']['climat_url_png']?>" >
</object>
</div>
<? endif;?>
179,11 → 223,11
<span class="titre">caractéristiques du sol</span>
<div class="graphique">
<object type="image/svg+xml" data="<?=$ecologie['graph']['description']['sol_url']?>"
class="svg" >
class="svg" alt="<?=$ecologie['graph']['description']['sol_url_png']?>" >
</object>
</div>
<? endif;?>
<a href="<?=$url;?>ecologie">
<a href="<?=$url;?>ecologie" class="lien_ouverture_onglet_parent">
Voir les références
</a>
</div>
200,7 → 244,7
</span>
<? endif; ?>
<br/>
<a href="<?=$url;?>ecologie" class="alignement-droite">
<a href="<?=$url;?>ecologie" class="lien_ouverture_onglet_parent" id="alignement-droite">
Voir +/Compléter
</a>
</div>
244,7 → 288,7
</div>
<?php endforeach; ?>
<?php if($nomenclature['autresSynonymesNbre'] > 0) { ?>
<a href="<?=$url;?>nomenclature" style="float:right;" >et
<a href="<?=$url;?>nomenclature" style="float:right;" class="lien_ouverture_onglet_parent" >et
<?= $nomenclature['autresSynonymesNbre'] ?>
autre<?= ($nomenclature['autresSynonymesNbre'] > 1) ? 's' : '' ?>
synonyme<?= ($nomenclature['autresSynonymesNbre'] > 1) ? 's' : '' ?>
263,7 → 307,7
<div>Aucun taxon inférieur référencé </div>
<?php } ?>
<br/>
<a href="<?=$url;?>nomenclature" class="alignement-droite">
<a href="<?=$url;?>nomenclature" class="lien_ouverture_onglet_parent" id="alignement-droite">
Voir +/Compléter
</a>
</div>
278,10 → 322,10
<div id="contenu-2" class="contenu">
<?php if (isset($bibliographie['wikini'])) { ?>
<?= ($bibliographie['wikini']['biblio'] == '') ?
'<a href="'.$url.'bibliographie" >
'<a href="'.$url.'description" class="lien_ouverture_onglet_parent" >
Rajouter vos données.</a>'
: $bibliographie['wikini']['biblio'].
'<br /><br /><a href="'.$url.'description" >
'<br /><br /><a href="'.$url.'description" class="lien_ouverture_onglet_parent" >
Compléter cette bibliographie</a>'; ?>
<?php } else { ?>
<h4>Références</h4>
292,7 → 336,7
<div> - <?= $reference['reference_html']; ?> </div>
<?php endforeach; ?>
<?php if($bibliographie['autresReferences'] > 0) { ?>
<a href="<?=$url;?>bibliographie" class="alignement-droite">
<a href="<?=$url;?>nomenclature" class="lien_ouverture_onglet_parent" id="alignement-droite">
et <?= $bibliographie['autresReferences'] ?>
autre<?= ($bibliographie['autresReferences'] > 1) ? 's' : '' ?>
référence<?= ($bibliographie['autresReferences'] > 1) ? 's' : '' ?>
300,7 → 344,7
<?php } } ?>
<?php }?>
<hr class="nettoyage" />
<a href="<?=$url;?>bibliographie" class="alignement-droite">
<a href="<?=$url;?>bibliographie" class="lien_ouverture_onglet_parent" id="alignement-droite">
Voir +/Compléter
</a>
</div>
329,7 → 373,7
</span>
<?php endif; ?>
<br/>
<a href="<?=$url;?>illustrations" class="alignement-droite">
<a href="<?=$url;?>illustrations" class="lien_ouverture_onglet_parent" id="alignement-droite">
Voir +/Compléter
</a>
</div>
341,20 → 385,16
<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>repartition"><?=$i18n["onglet-nom-repart"]?></a>
</h3>
<div id="contenu-3" class="contenu">
<? if ($referentiel != "bdtxa" && $repartition['eflore'] != null) : ?>
<h4>Observations</h4>
<a href="<?=$url;?>repartition">
<img src="<?=htmlentities($repartition['eflore'])?>" alt="<?= $infos['nom_sci'] ?> - carte des observations" style="margin-left: 11px; width: 190px;" />
</a>
<? endif; ?>
<? if ($repartition['chorodep'] != null) : ?>
<? if ($referentiel != "bdtxa" && $repartition['eflore'] != null) : ?>
<h4>Observations</h4>
<img src="<?=htmlentities($repartition['eflore'])?>" alt="<?= $infos['nom_sci'] ?> - carte des observations" style="margin-left: 11px; width: 190px;" />
<? endif; ?>
<? if ($repartition['chorodep'] != null) : ?>
<h4>Répartition départementale</h4>
<a href="<?=$url;?>repartition" class="alignement-droite">
<img src="<?=htmlentities($repartition['chorodep'])?>" alt="<?= $infos['nom_sci'] ?> - carte de répartition"/>
</a>
<? endif; ?>
<br/>
<a href="<?=$url;?>repartition" class="alignement-droite">
<img src="<?=htmlentities($repartition['chorodep'])?>" alt="<?= $infos['nom_sci'] ?> - carte de répartition"/>
<? endif; ?>
<br/>
<a href="<?=$url;?>repartition" class="lien_ouverture_onglet_parent" id="alignement-droite">
Voir +/Compléter
</a>
</div>
373,7 → 413,7
<?php foreach($statut['statuts'] as $id=>$type_statut) : ?>
<li><?= $id;?> :<ul>
<?php foreach($type_statut as $statut_zone) : ?>
<li><a href="<?=$url;?>statut" >
<li><a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
<?= $statut_zone ?><br />
</a></li>
<?php endforeach; ?></ul></li>
384,66 → 424,20
</div><div class="contenu <?= isset($statut['liste_rouge'][0]) ? 'attention' : ''; ?>">
<? if (!empty($statut['liste_rouge']) && isset($statut['liste_rouge'][0])) { ?>
<div class="gras">Ce taxon est classé dans la liste rouge dans la catégorie : <br /></div>
<a href="<?=$url;?>statut" >
<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
<?= $statut['liste_rouge'][0]['num_categorie'].' - '.$statut['liste_rouge'][0]['categorie']; ?><br />
</a>
<? } ?>
<? if ($statut['wikini']['statuts_de_protection'] == '' && ($statut['statuts'] == array()) && !isset($statut['liste_rouge'][0])) {?>
<? if ($statut['wikini']['statuts_de_protection'] == '' && !isset($statut['statuts'][0]) && !isset($statut['liste_rouge'][0])) {?>
<span class="pas_de_protection">Pas de protection connue</span>
<? }?>
<br />
<a href="<?=$url;?>statut" class="alignement-droite">
<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" id="alignement-droite">
Voir +/Compléter
</a>
</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" >
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="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" >
Rajouter vos informations.
</a>
<? } else { echo $ethnobotanique['wikini']['usage']; } ?>
<h4>Culture et arts</h4>
<? if ($ethnobotanique['wikini']['culture_et_arts'] == '') {?>
<a href="<?=$url;?>ethnobotanique" >
Rajouter vos informations.
</a>
<? } else { echo $ethnobotanique['wikini']['culture_et_arts']; } ?>
<br />
<a href="<?=$url;?>ethnobotanique" class="alignement-droite">
Voir +/Compléter
</a>
</div>
</div>
</div>
<hr class="nettoyage" />
<script type="text/javascript">