Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 524 → Rev 525

/trunk/modules/fiche/squelettes/fiche_synthese_niveau3.tpl.html
New file
0,0 → 1,254
<? $url = htmlentities('index.php?referentiel=bdtfx&niveau=1&module=fiche&num_nom='.$num_nom.'&type_nom='.$type_nom.'&nom='.$nom.'&onglet=');?>
<script type="text/javascript">
//<![CDATA[
var urlTexteBrutSectionWikiTpl = "<?= Config::get('texteBrutSectionWikiTpl'); ?>";
var urlEditionSectionWikiTpl = "<?= Config::get('editionSectionWikiTpl'); ?>";
var urlTexteFormateSectionWikiTpl = "<?= Config::get('texteFormateSectionWikiTpl'); ?>";
var pageWikiTaxon = "<?= strtoupper($infos['referentiel']); ?>nt<?= $infos['num_tax']; ?>";
//]]>
</script>
<div class="synthese">
<div class="colonne deuxtiers">
<div id="synthese_illustrations" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
<h3 class="titre ui-widget-header ui-corner-all" id="titre-0">
<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>illustrations">Illustrations</a>
</h3>
<span id="contenu-0" class="contenu">
<?php if ($illustration['imageUrl'] != '') : ?>
<img src="<?=$illustration['imageUrl']?>" alt="Image issue du cel ou du site photoflora" style="margin-bottom: -15px; margin-left: -2px; width: 210px;"/>
<?php else : ?>
<span class="absent" style="float:none; margin-left:55px">
Pas de photo<br />
<a href="http://www.tela-botanica.org/page:cel"
title="Ajouter une photographie au moyen du Carnet en Ligne"
onclick="window.open(this.href); return false;" class="contribuer">
Contribuer
</a>
</span>
<?php endif; ?>
</span>
</div>
<div id="synthese_description" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
<h3 class="titre ui-widget-header ui-corner-all" id="titre-1">
<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>description">Description</a>
</h3>
<div id="contenu-1" class="contenu">
<h4><?= $description['titre']?></h4>
<? if ($description['description'] == '') {?>
<a href="<?=$url;?>description" class="lien_ouverture_onglet_parent" >
Participez à la rédaction collaborative de cette description
</a>
<? } else { echo $description['description'];?><br /><br />
<a href="<?=$url;?>description" class="lien_ouverture_onglet_parent" >
Complétez cette description
</a>
<? } ?>
</div>
</div>
</div>
<div class="colonne">
<div id="synthese_bibliographie" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
<h3 class="titre ui-widget-header ui-corner-all" id="titre-2">
<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>bibliographie">Bibliographie</a>
</h3>
<div id="contenu-2" class="contenu">
<?php if (isset($bibliographie['wikini'])) { ?>
<?= ($bibliographie['wikini']['biblio'] == '') ?
'<a href="'.$url.'description" class="lien_ouverture_onglet_parent" >
Ajoutez votre bibliographie sur ce taxon</a>'
: $bibliographie['wikini']['biblio'].
'<br /><br /><a href="'.$url.'description" class="lien_ouverture_onglet_parent" >
Compléter cette bibliographie</a>'; ?>
<?php } else { ?>
<h4>Flores</h4>
<?php if ($bibliographie['flores'] == array()) { ?>
Aucune flore indiquée
<?php } else { ?>
<?php foreach ($bibliographie['flores'] as $flore) : ?>
<div> - <?= $flore; ?> </div>
<?php endforeach; ?>
<?php if($bibliographie['autresFlores'] > 0) { ?>
<a href="<?=$url;?>nomenclature" style="float:right;" class="lien_ouverture_onglet_parent" >et
<?= htmlentities($bibliographie['autresFlores']) ?>
autre<?= ($bibliographie['autresFlores'] > 1) ? 's' : '' ?>
flore<?= ($bibliographie['autresFlores'] > 1) ? 's' : '' ?>
</a>
<?php } } ?><br />
<h4>Références</h4>
<?php if ($bibliographie['references'] == array()) { ?>
Aucune référence bibliographique
<?php } else { ?>
<?php foreach ($bibliographie['references'] as $reference) : ?>
<div> - <?= $reference['reference_html']; ?> </div>
<?php endforeach; ?>
<?php if($bibliographie['autresReferences'] > 0) { ?>
<a href="<?=$url;?>nomenclature" style="float:right;" class="lien_ouverture_onglet_parent" >et
<?= $bibliographie['autresReferences'] ?>
autre<?= ($bibliographie['autresReferences'] > 1) ? 's' : '' ?>
référence<?= ($bibliographie['autresReferences'] > 1) ? 's' : '' ?>
</a>
<?php } } ?>
<?php }?>
</div>
</div>
<div id="synthese_repartition" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
<h3 class="titre ui-widget-header ui-corner-all" id="titre-3">
<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>repartition">Répartition</a>
</h3>
<span id="contenu-3" class="contenu">
<img src="<?=htmlentities($repartition['chorodep'])?>" alt="Carte de répartition"/>
<img src="<?=htmlentities($repartition['eflore'])?>" alt="Carte des observations" style="margin-left: 11px; width: 190px;" />
</span>
</div>
<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">Ethnobotanique</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" >
Participez à la rédaction collaborative de la liste des noms communs
</a>
<? } else { echo $ethnobotanique['wikini']['noms_communs'];?><br /><br />
<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
Compléter cette liste
</a>
<? } ?>
<?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" style="float:right;" class="lien_ouverture_onglet_parent" >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" >
Participez à la rédaction collaborative des usages
</a>
<? } else { echo $ethnobotanique['wikini']['usage'];?><br /><br />
<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
Compléter ces informations
</a>
<? } ?>
<h4>Culture et arts</h4>
<? if ($ethnobotanique['wikini']['culture_et_arts'] == '') {?>
<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
Participez à la rédaction collaborative sur la culture et les arts
</a>
<? } else { echo $ethnobotanique['wikini']['culture_et_arts'];?><br /><br />
<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
Compléter ces informations
</a>
<? } ?>
</div>
</div>
<div id="synthese_classification" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
<h3 class="titre ui-widget-header ui-corner-all" id="titre-5">
<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>classification">Classification</a>
</h3>
<div id="contenu-5" class="contenu">
<h4>Taxons supérieurs</h4>
<?php if($classification['taxons_sup'] != array()) { ?>
<?php foreach($classification['taxons_sup'] as $taxon) : ?>
<div><?= $taxon['rang.libelle']; ?> : <?= $taxon['nom_sci']; ?></div>
<?php endforeach; ?>
<?php } else { ?>
<div>Aucun taxon supérieur référencé </div>
<?php } ?>
<h4>Taxons inférieurs</h4>
<?php if($classification['taxons_inf'] != array()) { ?>
<?php foreach($classification['taxons_inf'] as $taxon) : ?>
<div><?= $taxon['rang.libelle']; ?> : <?= $taxon['nom_sci']; ?></div>
<?php endforeach; ?>
<?php } else { ?>
<div>Aucun taxon inférieur référencé </div>
<?php } ?>
</div>
</div>
<div id="synthese_nomenclature" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
<h3 class="titre ui-widget-header ui-corner-all" id="titre-6">
<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>nomenclature">Nomenclature</a>
</h3>
<div id="contenu-6" class="contenu">
<h4>Nom retenu</h4>
<div>
<div class="nom retenu <?= ($nomenclature['nom_selectionne'] == $nomenclature['nom_retenu_formate']) ? 'surlignage' : '' ?>">
<?= $nomenclature['nom_retenu_formate']; ?>
</div>
<?php if($nomenclature['basionyme_nom_retenu'] != '') { ?>
<div class="nom"> Basionyme : <?= $nomenclature['basionyme_nom_retenu']; ?></div>
<?php } ?>
</div>
<h4>Synonymes</h4>
<?php if($nomenclature['synonymes'] == array()) { ?>
Aucun synonyme
<? } else { ?>
<?php foreach ($nomenclature['synonymes'] as $synonyme) : ?>
<div class="nom<?= ($nomenclature['nom_selectionne'] == $synonyme['nom_sci_complet']) ? ' surlignage' : '' ?>">
<?= $synonyme['nom_sci_complet']; ?>
</div>
<?php endforeach; ?>
<?php if($nomenclature['autresSynonymesNbre'] > 0) { ?>
<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' : '' ?>
</a>
<?php }} ?>
</div>
</div>
<div id="synthese_statut" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
<h3 class="titre ui-widget-header ui-corner-all" id="titre-7">
<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>statut">Statut de protection</a>
</h3>
<span id="contenu-7" class="contenu">
<? if ($statut['wikini']['statuts_de_protection'] == '') {?>
<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
Participez à la rédaction collaborative des statuts de protection
</a>
<? } else { echo $statut['wikini']['statuts_de_protection'];?><br /><br />
<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
Compléter cette liste
</a>
<? } ?>
</span>
</div>
<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">
<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>ecologie">Ecologie</a>
</h3>
<span id="contenu-8" class="contenu">
<? if ($ecologie['wikini']['ecologie'] == '') {?>
<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
Participez à la rédaction collaborative de l'écologie
</a>
<? } else { echo $ecologie['wikini']['ecologie'];?><br /><br />
<a href="<?=$url;?>ecologie" class="lien_ouverture_onglet_parent" >
Compléter ces informations
</a>
<? } ?>
</span>
</div>
</div>
<hr class="nettoyage" />
</div>