Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 3876 → Rev 3877

/trunk/widget/modules/saisie/squelettes/saisie.tpl.html
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,7 → 353,7
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>
</select>
483,6 → 483,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 → 923,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>