240,7 → 240,7 |
style="height: 400px;width: 100%" |
data-type-localisation="<?php echo $widget['type_localisation'] ?? '';?>" |
data-zoom="<?php echo $widget['localisation']['zoom'] ?? '5';?>" |
data-layer="osm" |
data-layer="<?php echo 'googleHybrid' === $widget['fond_carte'] ? $widget['fond_carte'] : 'osm';?>" |
data-form-suffix="" |
> |
</div> |
353,9 → 353,11 |
data-num-nom-ret="<?php echo $taxon['num_nom_ret'];?>" |
data-nt="<?php echo $taxon['num_taxon'];?>" |
data-famille="<?php echo $taxon['famille'];?>" |
><?php echo $taxon['nom_sel'];?></option> |
><?php echo $taxon['nom_sel'];?> - <?php echo $taxon['nom_fr'];?></option> |
<?php endforeach; ?> |
<option value="autre"><?php echo $observation['autre-espece']; ?></option> |
<?php if ( $widget['type_especes'] === 'liste+autre' ) : ?> |
<option value="autre"><?php echo $observation['autre-espece']; ?></option> |
<?php endif;?> |
</select> |
<span for="taxon-liste" class="error" style="display: none;"><?php echo $observation['error-taxon'];?></span> |
<input id="taxon" name="taxon" class="form-control" type="hidden" /> |
483,6 → 485,11 |
<h4 class="alert-heading"><?php echo $observation['alert-img-tax-title']; ?></h4> |
<p><?php echo $observation['alert-img-tax']; ?></p> |
</div> |
<div id="dialogue-image-requise" class="alert alert-warning alert-block hidden"> |
<a class="close">Ă—</a> |
<h4 class="alert-heading"><?php echo $observation['alert-img-tax-title']; ?></h4> |
<p><?php echo sprintf($observation['alert-img-requise'], $widget['titre']); ?></p> |
</div> |
</div> |
|
<!-- Champs supplémentaires --> |
918,7 → 925,8 |
// Squelette d'URL du web service d'eFlore fournissant les noms de communes. |
'serviceNomCommuneUrl' : "https://api.tela-botanica.org/service:eflore:0.1/osm/nom-commune?lon={lon}&lat={lat}", |
// Squelette d'URL du web service d'eFlore fournissant les noms de communes hors de France (localisation approximative). |
'serviceNomCommuneUrlAlt' : "https://api.tela-botanica.org/service:eflore:0.1/wikipedia/nom-commune?lon={lon}&lat={lat}&nbre=1" |
'serviceNomCommuneUrlAlt' : "https://api.tela-botanica.org/service:eflore:0.1/wikipedia/nom-commune?lon={lon}&lat={lat}&nbre=1", |
'photoObligatoire' : <?php echo isset($widget['photo_obligatoire']) && $widget['photo_obligatoire'] === '1' ? 'true' : 'false'; ?> |
}; |
//]]> |
</script> |