Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 430 → Rev 431

/trunk/modules/fiche/squelettes/fiche_synthese.tpl.html
1,4 → 1,4
<? $url = 'index.php?referentiel=bdtfx&niveau=1&module=fiche&num_nom='.$num_nom.'&type_nom='.$type_nom.'&nom='.$nom.'&onglet=';?>
<? $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'); ?>";
14,8 → 14,18
<a class="lien-onglet-synthese" href="<?=$url;?>illustrations">Illustrations</a>
</h3>
<span id="contenu-0" class="contenu">
<img src="<?=$illustration['imageUrl']?>" style="margin-bottom: -15px; margin-left: -2px; width: 210px;"
alt="Contribuer au CEL"/>
<?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;">
Pas de photo<br />
<a href="http://www.tela-botanica.org/page:saisie_observations?langue=fr"
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">
22,7 → 32,7
<h3 class="titre ui-widget-header ui-corner-all" id="titre-1">
<a class="lien-onglet-synthese" href="<?=$url;?>description">Description</a>
</h3>
<div id="contenu-0" class="contenu">
<div id="contenu-1" class="contenu">
<h4><?= $description['titre']?></h4>
<? if ($description['description'] == '') {?>
<a href="<?=$url;?>description" class="lien_ouverture_onglet_parent" >
49,11 → 59,11
Aucune flore indiquée
<?php } else { ?>
<?php foreach ($bibliographie['flores'] as $flore) : ?>
<div> - <?= $flore; ?> </div>
<div> - <?= htmlentities($flore); ?> </div>
<?php endforeach; ?>
<?php if($bibliographie['autresFlores'] > 0) { ?>
<a href="<?=$url;?>nomenclature" style="float:right;" class="lien_ouverture_onglet_parent" >et
<?= $bibliographie['autresFlores'] ?>
<?= htmlentities($bibliographie['autresFlores']) ?>
autre<?= ($bibliographie['autresFlores'] > 1) ? 's' : '' ?>
flore<?= ($bibliographie['autresFlores'] > 1) ? 's' : '' ?>
</a>
80,7 → 90,7
<a class="lien-onglet-synthese" href="<?=$url;?>repartition">Répartition</a>
</h3>
<span id="contenu-3" class="contenu">
<img src="<?=$repartition['chorodep']?>" alt="Carte de répartition"/>
<img src="<?=htmlentities($repartition['chorodep'])?>" alt="Carte de répartition"/>
</span>
</div>
<div id="synthese_ethnobotanique" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">