Line 34... |
Line 34... |
34 |
<!-- Bootstrap CSS -->
|
34 |
<!-- Bootstrap CSS -->
|
35 |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous" />
|
35 |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous" />
|
36 |
<!-- Fontawesome -->
|
36 |
<!-- Fontawesome -->
|
37 |
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.1/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
|
37 |
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.1/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
|
38 |
<!-- Carto -->
|
38 |
<!-- Carto -->
|
39 |
<link href="<?php echo $url_base; ?>modules/saisie2/squelettes/js/tb-geoloc/styles.css" rel="stylesheet" type="text/css" media="screen" />
|
39 |
<link href="<?php echo $url_base; ?>js/tb-geoloc/styles.css" rel="stylesheet" type="text/css" media="screen" />
|
40 |
<!-- STYLE SAISIE -->
|
40 |
<!-- STYLE SAISIE -->
|
41 |
<link href="<?php echo $url_base; ?>modules/saisie2/squelettes/css/saisie.css" rel="stylesheet" type="text/css" media="screen" />
|
41 |
<link href="<?php echo $url_base; ?>css/saisie.css" rel="stylesheet" type="text/css" media="screen" />
|
Line 42... |
Line 42... |
42 |
|
42 |
|
43 |
<!-- Google Analytics -->
|
43 |
<!-- Google Analytics -->
|
44 |
<?php if( $prod ): ?>
|
44 |
<?php if( $prod ): ?>
|
45 |
<?php include "analytics.html"; ?>
|
45 |
<?php include "analytics.html"; ?>
|
46 |
<?php endif; ?>
|
46 |
<?php endif; ?>
|
47 |
<!-- <link rel="icon" type="image/x-icon" href="favicon.ico" /> -->
|
47 |
<!-- <link rel="icon" type="image/x-icon" href="favicon.ico" /> -->
|
48 |
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />
|
48 |
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />
|
Line 49... |
Line 49... |
49 |
</head>
|
49 |
</head>
|
50 |
|
50 |
|
51 |
<body>
|
51 |
<body id="top" data-sq="<?php echo $url_base; ?>">
|
52 |
<?php
|
52 |
<?php
|
53 |
echo ( $widget['image_fond'] ) ? '<div id="image-fond" style="' . htmlspecialchars( 'background:url("' . $widget['chemin_fichiers'] . 'image_fond.' . preg_replace( '/(?:imag)?e\/?/','',$widget['image_fond']) . '") no-repeat center center;background-size:cover') . '"></div>': '';
|
53 |
echo ( $widget['image_fond'] ) ? '<div id="image-fond" style="' . htmlspecialchars( 'background:url("' . $widget['chemin_fichiers'] . 'image_fond.' . preg_replace( '/(?:imag)?e\/?/','',$widget['image_fond']) . '") no-repeat center center;background-size:cover') . '"></div>': '';
|
54 |
?>
|
54 |
?>
|
Line 172... |
Line 172... |
172 |
<form id="form-observation" role="form" autocomplete="on" class="bloc-top">
|
172 |
<form id="form-observation" role="form" autocomplete="on" class="bloc-top">
|
173 |
<h2><?php echo $observation['titre']; ?></h2>
|
173 |
<h2><?php echo $observation['titre']; ?></h2>
|
174 |
<div id="zone-observation" class="row">
|
174 |
<div id="zone-observation" class="row">
|
175 |
<div class="col-md-6">
|
175 |
<div class="col-md-6">
|
Line 176... |
Line 176... |
176 |
|
176 |
|
177 |
<div class="">
|
177 |
<div class="mb-3">
|
178 |
<label for="geolocalisation" class="col-sm-8 obligatoire" title="<?php echo $observateur['courriel-title']; ?>">
|
178 |
<label for="geolocalisation" class="col-sm-8 obligatoire" title="<?php echo $observateur['courriel-title']; ?>">
|
179 |
<i class="fa fa-street-view" aria-hidden="true"></i>
|
179 |
<i class="fa fa-street-view" aria-hidden="true"></i>
|
180 |
<?php echo $observation['geolocalisation']; ?>
|
180 |
<?php echo $observation['geolocalisation']; ?>
|
181 |
</label>
|
181 |
</label>
|
Line 185... |
Line 185... |
185 |
<input type="hidden" id="latitude" name="latitude" value="0.00000" style="display:none">
|
185 |
<input type="hidden" id="latitude" name="latitude" value="0.00000" style="display:none">
|
186 |
<input type="hidden" id="longitude" name="longitude" value="0.00000" style="display:none">
|
186 |
<input type="hidden" id="longitude" name="longitude" value="0.00000" style="display:none">
|
187 |
<input type="hidden" id="commune-insee" name="commune-insee" value="" style="display:none">
|
187 |
<input type="hidden" id="commune-insee" name="commune-insee" value="" style="display:none">
|
188 |
<input type="hidden" id="altitude" name="altitude" value="" style="display:none">
|
188 |
<input type="hidden" id="altitude" name="altitude" value="" style="display:none">
|
189 |
</div>
|
189 |
</div>
|
190 |
<div class="col-sm-8 mb-3">
|
190 |
<div class="col-sm-8">
|
191 |
<tb-geolocation-element
|
191 |
<tb-geolocation-element
|
192 |
id="tb-geolocation"
|
192 |
id="tb-geolocation"
|
193 |
layer='osm'
|
193 |
layer='osm'
|
194 |
zoom_init="4"
|
194 |
zoom_init="4"
|
195 |
lat_init="46.5"
|
195 |
lat_init="46.5"
|
Line 719... |
Line 719... |
719 |
</div>
|
719 |
</div>
|
720 |
</div>
|
720 |
</div>
|
721 |
</div>
|
721 |
</div>
|
Line 722... |
Line 722... |
722 |
|
722 |
|
723 |
<!-- carto -->
|
723 |
<!-- carto -->
|
724 |
<script type="text/javascript" src="<?php echo $url_base; ?>modules/saisie2/squelettes/js/tb-geoloc/tb-geoloc-lib-app.js"></script>
|
724 |
<script type="text/javascript" src="<?php echo $url_base; ?>js/tb-geoloc/tb-geoloc-lib-app.js"></script>
|
725 |
<script type="text/javascript">
|
725 |
<script type="text/javascript">
|
Line 726... |
Line 726... |
726 |
var tbGeolocation = document.getElementById( 'tb-geolocation' );
|
726 |
var tbGeolocation = document.getElementById( 'tb-geolocation' );
|
727 |
|
727 |
|
Line 764... |
Line 764... |
764 |
<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/form/3.51/jquery.form.min.js"></script>
|
764 |
<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/form/3.51/jquery.form.min.js"></script>
|
765 |
<!-- Bootstrap -->
|
765 |
<!-- Bootstrap -->
|
766 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
|
766 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
|
767 |
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
|
767 |
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
|
768 |
<!-- Authentification -->
|
768 |
<!-- Authentification -->
|
769 |
<script type="text/javascript" src="<?php echo $url_base; ?>modules/saisie2/squelettes/js/auth.js"></script>
|
769 |
<script type="text/javascript" src="<?php echo $url_base; ?>js/auth.js"></script>
|
770 |
<!-- Connexion, bloc de prévisualisation, date -->
|
770 |
<!-- Connexion, bloc de prévisualisation, date -->
|
771 |
<script type="text/javascript" src="<?php echo $url_base; ?>modules/saisie2/squelettes/js/WidgetSaisie.js"></script>
|
771 |
<script type="text/javascript" src="<?php echo $url_base; ?>js/WidgetSaisie.js"></script>
|
772 |
<script type="text/javascript" src="<?php echo $url_base; ?>modules/saisie2/squelettes/js/champs-supp.js"></script>
|
772 |
<script type="text/javascript" src="<?php echo $url_base; ?>js/champs-supp.js"></script>
|
773 |
<script type="text/javascript">
|
773 |
<script type="text/javascript">
|
774 |
//<![CDATA[
|
774 |
//<![CDATA[
|
775 |
$( document ).ready( function() {
|
775 |
$( document ).ready( function() {
|
Line 776... |
Line 776... |
776 |
|
776 |
|
Line 807... |
Line 807... |
807 |
// langue
|
807 |
// langue
|
808 |
widget.langue = "<?php echo $widget['langue']; ?>";
|
808 |
widget.langue = "<?php echo $widget['langue']; ?>";
|
809 |
// Squelette d'URL du web service de l'annuaire.
|
809 |
// Squelette d'URL du web service de l'annuaire.
|
810 |
widget.serviceAnnuaireIdUrl = "<?php echo $url_ws_annuaire; ?>";
|
810 |
widget.serviceAnnuaireIdUrl = "<?php echo $url_ws_annuaire; ?>";
|
811 |
// URL de l'icône du chargement en cours
|
811 |
// URL de l'icône du chargement en cours
|
812 |
widget.chargementIconeUrl = "<?php echo $url_base; ?>modules/saisie/squelettes/defaut/img/icones/chargement.gif";
|
812 |
widget.chargementIconeUrl = "<?php echo $url_base; ?>img/icones/chargement.gif";
|
813 |
// URL de l'icône du chargement en cours d'une image
|
813 |
// URL de l'icône du chargement en cours d'une image
|
814 |
widget.chargementImageIconeUrl = "<?php echo $url_base; ?>modules/saisie/squelettes/defaut/img/icones/chargement-image.gif";
|
814 |
widget.chargementImageIconeUrl = "<?php echo $url_base; ?>img/icones/chargement-image.gif";
|
815 |
// URL de l'icône du calendrier
|
815 |
// URL de l'icône du calendrier
|
816 |
widget.calendrierIconeUrl = "<?php echo $url_base; ?>modules/saisie/squelettes/defaut/img/icones/calendrier.png";
|
816 |
widget.calendrierIconeUrl = "<?php echo $url_base; ?>img/icones/calendrier.png";
|
817 |
// URL de l'icône pour une photo manquante
|
817 |
// URL de l'icône pour une photo manquante
|
818 |
widget.pasDePhotoIconeUrl = "<?php echo $url_base; ?>modules/saisie/squelettes/defaut/img/icones/pasdephoto.png";
|
818 |
widget.pasDePhotoIconeUrl = "<?php echo $url_base; ?>img/icones/pasdephoto.png";
|
Line 819... |
Line 819... |
819 |
|
819 |
|
820 |
// Code du référentiel utilisé pour les nom scientifiques.
|
820 |
// Code du référentiel utilisé pour les nom scientifiques.
|
821 |
widget.nomSciReferentiel = "<?php echo ( !empty( $widget['referentiel'] ) ) ? strtolower( $widget['referentiel'] ) : 'bdtfxr'; ?>";
|
821 |
widget.nomSciReferentiel = "<?php echo ( !empty( $widget['referentiel'] ) ) ? strtolower( $widget['referentiel'] ) : 'bdtfxr'; ?>";
|
822 |
// Indication de la présence d'une espèce imposée
|
822 |
// Indication de la présence d'une espèce imposée
|
Line 854... |
Line 854... |
854 |
// Squelette d'URL du web service d'eFlore fournissant les noms de communes.
|
854 |
// Squelette d'URL du web service d'eFlore fournissant les noms de communes.
|
855 |
widget.serviceNomCommuneUrl = "https://api.tela-botanica.org/service:eflore:0.1/osm/nom-commune?lon={lon}&lat={lat}";
|
855 |
widget.serviceNomCommuneUrl = "https://api.tela-botanica.org/service:eflore:0.1/osm/nom-commune?lon={lon}&lat={lat}";
|
856 |
// Squelette d'URL du web service d'eFlore fournissant les noms de communes hors de France (localisation approximative).
|
856 |
// Squelette d'URL du web service d'eFlore fournissant les noms de communes hors de France (localisation approximative).
|
857 |
widget.serviceNomCommuneUrlAlt = "https://api.tela-botanica.org/service:eflore:0.1/wikipedia/nom-commune?lon={lon}&lat={lat}&nbre=1";
|
857 |
widget.serviceNomCommuneUrlAlt = "https://api.tela-botanica.org/service:eflore:0.1/wikipedia/nom-commune?lon={lon}&lat={lat}&nbre=1";
|
858 |
// URL du marqueur à utiliser dans la carte Google Map
|
858 |
// URL du marqueur à utiliser dans la carte Google Map
|
859 |
widget.googleMapMarqueurUrl = "<?php echo $url_base; ?>modules/saisie/squelettes/defaut/img/marqueurs/epingle.png";
|
859 |
widget.googleMapMarqueurUrl = "<?php echo $url_base; ?>img/marqueurs/epingle.png";
|
860 |
//
|
860 |
//
|
861 |
//
|
861 |
//
|
862 |
//
|
862 |
//
|
Line 863... |
Line 863... |
863 |
|
863 |
|