Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 530 → Rev 531

/trunk/modules/fiche/squelettes/fiche_synthese_niveau2.tpl.html
10,26 → 10,8
</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>
<!-- Description -->
<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>
46,68 → 28,9
</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>
<!-- 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">Ethnobotanique</a>
159,31 → 82,44
<? } ?>
</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>
<!-- 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">
<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>ecologie">Ecologie</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>
<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>
<!-- Statut de protection -->
<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>
<!-- Nomenclature -->
<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>
218,38 → 154,119
</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>
<!-- Classification -->
<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>
<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>
<? } ?>
<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>
<!-- Bibliographie -->
<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>
<div class="colonne">
<!-- Illustrations -->
<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_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>
<!-- Répartition -->
<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-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 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>
<hr class="nettoyage" />
</div>