Subversion Repositories eFlore/Applications.cel

Rev

Rev 2816 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<!DOCTYPE html>
<html>
        <head>
                <title>CEL Simplified Input</title>

                <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
                <meta http-equiv="Content-style-type" content="text/css" />
                <meta http-equiv="Content-script-type" content="text/javascript" />
                <meta http-equiv="Content-language" content="fr" />

                <meta name="revisit-after" content="15 days" />
                <meta name="robots" content="index,follow" />
                <meta name="author" content="Tela Botanica" />
                <meta name="keywords" content="Tela Botanica, CEL" />
                <meta name="description" content="Simplified input widget for the CEL" />

                <!-- OpenGraph pour Facebook, Pinterest, Google+ -->
                <meta property="og:type" content="website" />
                <meta property="og:title" content="Quick observation input" />
                <meta property="og:site_name" content="Tela Botanica" />
                <meta property="og:description" content="Submit and share easily your wild plants observations using the Carnet en Ligne input widget (License: CC-BY-SA)" />
                <meta property="og:image" content="http://resources.tela-botanica.org/tb/img/256x256/carre_englobant.png" />
                <meta property="og:image:type" content="image/png" /> 
                <meta property="og:image:width" content="256" /> 
                <meta property="og:image:height" content="256" />
                <meta property="og:locale" content="fr_FR" />

                <!-- Viewport Mobile -->
                <meta name="viewport" content="width=device-width, initial-scale=1.0">

                <!-- Favicones -->
                <link rel="shortcut icon" type="image/x-icon" href="http://resources.tela-botanica.org/tb/img/16x16/favicon.ico" />

                <!-- Javascript : bibliothèques -->
                <!-- Google Map v3 -->
                <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true&amp;language=fr&amp;region=FR"></script>
                <!-- Jquery -->
                <script type="text/javascript" src="http://resources.tela-botanica.org/jquery/1.11.1/jquery-1.11.1.min.js"></script>
                <!-- Jquery UI : nécessaire pour le minicalendrier et l'auto-complétion -->
                <script type="text/javascript" src="http://resources.tela-botanica.org/jquery/jquery-ui/1.11.0/js/jquery-ui.min.js"></script>
                <script type="text/javascript" src="http://resources.tela-botanica.org/jquery/jquery-ui/1.11.0/js/datepicker-fr.js"></script>
                <!-- Jquery Plugins -->
                <!-- Jquery Validate : nécessaire pour la validation des formulaires -->
                <script type="text/javascript" src="http://resources.tela-botanica.org/jquery/validate/1.11.1/jquery.validate.min.js"></script>
                <script type="text/javascript" src="http://resources.tela-botanica.org/jquery/validate/1.11.1/additional-methods.min.js"></script>
                <script type="text/javascript" src="http://resources.tela-botanica.org/jquery/validate/1.11.1/messages_fr.js"></script>
                <!-- Jquery Form :nécessaire pour l'upload des images -->
                <script type="text/javascript" src="http://resources.tela-botanica.org/jquery/form/3.51/jquery.form.min.js"></script>
                <!-- Bootstrap -->
                <script type="text/javascript" src="http://resources.tela-botanica.org/bootstrap/2.3.2/js/bootstrap.min.js"></script>

                <!-- Javascript : appli saisie -->
                <script type="text/javascript" src="<?=$url_base?>modules/saisie/squelettes/defaut/js/WidgetSaisie.js"></script>
                <script type="text/javascript">
                //<![CDATA[
           $(document).ready(function() {
                                // OMG un modèle objet !!
                                var widget = new WidgetSaisie();

                                // La présence du parametre 'debug' dans l'URL enclenche le débogage
                                widget.debug = <?=isset($_GET['debug']) ? 'true' : 'false'?>;
                                // La présence du parametre 'html5' dans l'URL enclenche les fonctions avancées HTML5
                                widget.html5 = <?=isset($_GET['html5']) ? 'true' : 'false'?>;
                                // Mot-clé du widget/projet
                                widget.tagProjet = "WidgetSaisie";
                                // Mots-clés à ajouter aux images
                                widget.tagImg = "<?=isset($_GET['tag-img']) ? $_GET['tag-img'] : ''?>";
                                widget.separationTagImg = "<?= isset($_GET['motcle']) && isset($_GET['tag-img']) ? ',' : '' ?>";
                                widget.tagImg = <?=isset($_GET['motcle']) ? "'".$_GET['motcle']."' + widget.separationTagImg + widget.tagImg" : 'widget.tagImg' ?>;
                                // Mots-clés à ajouter aux observations
                                widget.tagObs = "<?=isset($_GET['tag-obs']) ? $_GET['tag-obs'] : ''?>";
                                widget.separationTagObs = "<?= isset($_GET['projet']) && isset($_GET['tag-obs']) ? ',' : '' ?>";
                                widget.tagObs = <?=isset($_GET['projet']) ? "'".$_GET['projet']."' + widget.separationTagObs + widget.tagObs" : 'widget.tagObs' ?>;
                                // Précharger le formulaire avec les infos d'une observation
                                widget.obsId = "<?=isset($_GET['id-obs']) ? $_GET['id-obs'] : ''?>";
                                // URL du web service réalisant l'insertion des données dans la base du CEL.
                                widget.serviceSaisieUrl = "<?=$url_ws_saisie?>";
                                // URL du web service permettant de récupérer les infos d'une observation du CEL.
                                widget.serviceObsUrl = "<?=$url_ws_obs?>";
                                // Code du référentiel utilisé pour les nom scientifiques.
                                widget.nomSciReferentiel = "<?=$ns_referentiel?>";
                                // Indication de la présence d'une espèce imposée
                                widget.especeImposee = "<?=$espece_imposee; ?>";
                                // Tableau d'informations sur l'espèce imposée
                                widget.infosEspeceImposee = <?=$infos_espece; ?>;
                                // Nombre d'élément dans les listes d'auto-complétion
                                widget.autocompletionElementsNbre = 20;
                                // Indication de la présence d'un référentiel imposé
                                widget.referentielImpose = "<?=$referentiel_impose; ?>";
                                // URL du web service permettant l'auto-complétion des noms scientifiques
                                widget.serviceAutocompletionNomSciUrl = "<?=$url_ws_autocompletion_ns?>?"+
                                        "masque={masque}&"+
                                        "recherche=etendue&"+
                                        "retour.champs=famille,nom_retenu,nom_retenu_complet,num_taxonomique,nom_retenu.id&"+
                                        "ns.structure=au"+"&"+
                                        "navigation.limite=" + widget.autocompletionElementsNbre;
                                // Squelette d'URL du web service permettant l'auto-complétion des noms scientifiques
                                widget.serviceAutocompletionNomSciUrlTpl = "<?=$url_ws_autocompletion_ns_tpl?>?"+
                                        "masque={masque}&"+
                                        "recherche=etendue&"+
                                        "retour.champs=famille,nom_retenu,nom_retenu_complet,num_taxonomique,nom_retenu.id&"+
                                        "retour.tri=alpharet&"+ // tri "à la CeL"
                                        "ns.structure=au"+"&"+
                                        "navigation.limite=" + widget.autocompletionElementsNbre;
                                // Nombre d'observations max autorisé avant transmission
                                widget.obsMaxNbre = 10;
                                // Durée d'affichage en milliseconde des messages d'informations
                                widget.dureeMessage = 15000;
                                // Squelette d'URL du web service de l'annuaire.
                                widget.serviceAnnuaireIdUrl = "<?=$url_ws_annuaire?>";
                                // Squelette d'URL du web service d'eFlore fournissant les noms de communes.
                                widget.serviceNomCommuneUrl = "http://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).
                                widget.serviceNomCommuneUrlAlt = "http://api.tela-botanica.org/service:eflore:0.1/wikipedia/nom-commune?lon={lon}&lat={lat}&nbre=1";
                                // URL du marqueur à utiliser dans la carte Google Map
                                widget.googleMapMarqueurUrl = "<?=$url_base?>modules/saisie/squelettes/defaut/img/marqueurs/epingle.png";
                                // URL de l'icône du chargement en cours
                                widget.chargementIconeUrl = "<?=$url_base?>modules/saisie/squelettes/defaut/img/icones/chargement.gif";
                                // URL de l'icône du chargement en cours d'une image
                                widget.chargementImageIconeUrl = "<?=$url_base?>modules/saisie/squelettes/defaut/img/icones/chargement-image.gif";
                                // URL de l'icône du calendrier
                                widget.calendrierIconeUrl = "<?=$url_base?>modules/saisie/squelettes/defaut/img/icones/calendrier.png";
                                // URL de l'icône pour une photo manquante
                                widget.pasDePhotoIconeUrl = "<?=$url_base?>modules/saisie/squelettes/defaut/img/icones/pasdephoto.png";

                                // Initialisation du bousin
                                widget.init();
                        });
                //]]>
                </script>

                <!-- CSS -->
                <link href="http://resources.tela-botanica.org/jquery/jquery-ui/1.11.0/css/themes/smoothness/jquery-ui.min.css" rel="stylesheet" type="text/css" media="screen" />
                <link href="http://resources.tela-botanica.org/bootstrap/2.0.2/css/bootstrap.min.css" rel="stylesheet" type="text/css" media="screen" />
                <link href="http://resources.tela-botanica.org/bootstrap/2.0.2/css/bootstrap-responsive.min.css" rel="stylesheet" type="text/css" media="screen" />
                <link href="<?=$url_base?>modules/saisie/squelettes/defaut/css/<?=isset($_GET['style']) ? $_GET['style'] : 'defaut'?>.css" rel="stylesheet" type="text/css" media="screen" />
        
                <script>
                  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
                  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
                  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
                  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
                
                  ga('create', 'UA-20092557-1', 'auto');
                  ga('require', 'displayfeatures');
                  ga('send', 'pageview');
                
                </script>
        </head>

        <body data-spy="scroll">
                <div class="container">
                        <div class="row-fluid">
                                <div class="span6 page-header">
                                        <div class="row">
                                                <div class="span6">
                                                        <h1>
                                                                <?php if($logo != 'defaut' && $logo != '0') { ?>
                                                                        <img id="logo-titre" class="span1" src="<?= $logo ?>" alt="Logo" />
                                                                <?php } else if($logo == 'defaut') { ?>
                                                                        <img id="logo-titre" class="span1" src="http://resources.tela-botanica.org/tb/img/256x256/logo_sans_mots.png" alt="Tela Botanica" />
                                                                <?php } ?>
                                                                <?php if($titre != 'defaut') { ?>
                                                                        <?= $titre; ?>
                                                                <?php } else { ?>
                                                                        Quick observations input
                                                                <?php } ?>
                                                        </h1>
                                                </div>
                                        </div>
                                        <div class="row">
                                                <div class="span6">
                                                        <p>
                                                                This tool allows you to share your observations in a simple way with the
                                                                <a target="_blank" href="http://www.tela-botanica.org/site:accueil">Tela Botanica network</a> (under <a target="_blank" href="http://www.tela-botanica.org/page:licence?langue=fr">CC-BY-SA license</a>).
                                                                Make sure to identify yourself so that you can later find and manage your data in
                                                                <a target="_blank" href="http://www.tela-botanica.org/appli:cel?lang=en">your "Carnet en Ligne" (online notebook)</a>.
                                                                Create up to 10 observations (with max 10MB images) then sare them using the 'share' button.
                                                                They will appear immediatly on the <a target="_blank" href="http://www.tela-botanica.org/site:botanique">maps and photo galleries </a> on the website.
                                                        </p>
                                                        <p class="discretion">
                                                                For any question on remark,
                                                                <a href="<?= $url_remarques ?>?lang=en&service=cel&pageSource=<?php echo urlencode('http://'.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'].'?'.$_SERVER['QUERY_STRING']); ?>"
                                                                  target="_blank"
                                                                  onclick="javascript:window.open(this.getAttribute('href'), 'Tela Botanica - Remarques', config='height=700, width=640, scrollbars=yes, resizable=yes'); return false;">
                                                                  contact us</a>

                                                        </p>
                                                        <p class="discretion">
                                                                Once you get familiar with the interface, you can click this button to disable help.
                                                                <button id="btn-aide" class="btn btn-mini btn-success">
                                                                        <span class="icon-question-sign icon-white"></span>
                                                                        <span id="btn-aide-txt" >Disable help</span>
                                                                </button>
                                                        </p>
                                                </div>
                                        </div>
                                </div>

                                <div class="span6">
                                        <div class="well">
                                                <h2>Observer</h2>
                                                <form id="form-observateur" action="#" class="" autocomplete="on">
                                                        <div class="row-fluid">
                                                                <div class="span6 has-tooltip" data-placement="right"
                                                                        title="Enter the email address you used to sign-up at Tela Botanica.
                                                                                No problem if you don't have an account yet, you can sign-up later.
                                                                                Some more information will be asked: first name and name">
                                                                        <label for="courriel"
                                                                                title="plase enter your email address.">
                                                                                <strong class="obligatoire">*</strong> Email address
                                                                        </label>
                                                                        <div class="input-prepend">
                                                                                <span class="add-on"><i class="icon-envelope"></i></span>
                                                                                <input id="courriel" class="input-large" name="courriel" type="text"/>
                                                                                <input id="id_utilisateur" name="id_utilisateur" type="hidden"/>
                                                                        </div>
                                                                </div>
                                                                <div id="zone-courriel-confirmation" class="span6 hidden">
                                                                        <label for="courriel_confirmation"
                                                                                title="Please confirm your email address.">
                                                                                <strong class="obligatoire">*</strong> Email address (confirmation)
                                                                        </label>
                                                                        <div class="input-prepend">
                                                                                <span class="add-on">
                                                                                        <i class="icon-envelope"></i>
                                                                                </span><input id="courriel_confirmation" class="input-large" name="courriel_confirmation" type="text"/>
                                                                        </div>
                                                                </div>
                                                        </div>
                                                        <div id="zone-prenom-nom" class="row-fluid hidden">
                                                                <div class="span6">
                                                                        <label for="prenom">First name</label>
                                                                        <div>
                                                                                <input id="prenom" name="prenom" class="span3" type="text"/>
                                                                        </div>
                                                                </div>
                                                                <div class="span6">
                                                                        <label for="nom">Name</label>
                                                                        <div>
                                                                                <input id="nom" name="nom"  class="span3" type="text"/>
                                                                        </div>
                                                                </div>
                                                        </div>
                                                </form>
                                        </div>
                                </div>
                        </div>
                        <!-- Messages d'erreur du formulaire-->
                        <div class="row">
                                <div class="zone-alerte span6 offset3">
                                        <div id="dialogue-bloquer-copier-coller" class="alert alert-info alert-block" style="display:none;">
                                                <a class="close">×</a>
                                                <h4 class="alert-heading">Information : copy/paste</h4>
                                                <p>
                                                        Please do not copy / paste your email address.<br/>
                                                        Double input allows to avoid mistakes.
                                                </p>
                                        </div>
                                        <div id="dialogue-courriel-introuvable" class="alert alert-info alert-block" style="display:none;">
                                                <a class="close">×</a>
                                                <h4 class="alert-heading">Information : cannot find your email</h4>
                                                <p>
                                                        You don't seem to have an account associated to this email address.<br/>
                                                        Plese complete the following fields or type the email associated to your account.<br/>
                                                        To find your observations later in the <a href="http://www.tela-botanica.org/appli:cel?lang=en">"Carnet en ligne" (Online notebook)</a>,
                                                        you will have to <a href="http://www.tela-botanica.org/page:inscription">sign-up to Tela Botanica</a>.
                                                </p>
                                        </div>
                                        <div id="dialogue-google-map" class="alert alert-info alert-block" style="display: none;">
                                                <a class="close">×</a>
                                                <h4 class="alert-heading">Information about Google Maps</h4>
                                                <div class="contenu"></div>
                                        </div>
                                </div>
                        </div>
                        <div class="row-fluid">
                                <div class="span12">
                                        <div class="well">
                                                <div class="row-fluid">
                                                        <div class="span6">
                                                                <div>
                                                                        <div class="row-fluid">
                                                                                <div class="span12">
                                                                                        <h2>Location of the observation</h2>
                                                                                </div>
                                                                        </div>
                                                                        <div class="row-fluid">
                                                                                <div class="span4">
                                                                                        <label for="map_canvas" title="Please localize the observation">
                                                                                                Geolocalization
                                                                                        </label>
                                                                                </div>
                                                                                <div class="span8 droite">
                                                                                        <form id="form-carte-recherche" class="form-search form-horizontal" action="#" >
                                                                                                <div class="control-group">
                                                                                                        <label for="carte-recherche">Search</label>
                                                                                                        <input id="carte-recherche" class="search-query has-tooltip" type="text" value=""
                                                                                                                title="Allows to center the map on the requested location."
                                                                                                                placeholder="Ex: France, Paris, Rue de Rivoli..."/>
                                                                                                </div>
                                                                                        </form>
                                                                                </div>
                                                                        </div>
                                                                        <div class="row-fluid">
                                                                                <div class="span12">
                                                                                        <div id="map-canvas" class="has-tooltip"
                                                                                                title="You can click on the map to move the marker representing
                                                                                                        your station, or drag-n-drop it on the desired location."></div>
                                                                                </div>
                                                                        </div>
                                                                        <div class="row-fluid">
                                                                                <label for="coordonnees-geo" class="span7">
                                                                                        <a href="#" class="afficher-coord">Display</a>
                                                                                        <a href="#" class="afficher-coord" style="display:none;">Hide</a>
                                                                                        the geographical coordinates
                                                                                        <span id="lat-lon-info" class="info has-tooltip"
                                                                                                title="World geodesic system, 1984 revision - Non-projected coordinates">
                                                                                                (WGS84)
                                                                                        </span>
                                                                                </label>
                                                                                <div id="info-commune" class="span5">
                                                                                <span for="marqueur-commune">City / area : </span>
                                                                                <span id="marqueur-commune">
                                                                                        <span id="commune-nom" class="commune-info"></span>
                                                                                        (<span id="commune-code-insee" class="commune-info has-tooltip"
                                                                                                title="INSEE city code (France)"></span>)
                                                                                </span>
                                                                        </div>
                                                                        </div>
                                                                        <form id="form-station" class="control-group" action="#" enctype="multipart/form-data" autocomplete="on">
                                                                                <div id="coordonnees-geo" class="well" style="display:none;">
                                                                                        <div class="row-fluid form-inline">
                                                                                                <div id="coord-lat" class="span4">
                                                                                                        <label for="latitude">Latitude</label>
                                                                                                        <div>
                                                                                                                <input id="latitude" class="input-mini" name="latitude" type="text" value=""/>
                                                                                                        </div>
                                                                                                </div>
                                                                                                <div id="coord-lng" class="span4">
                                                                                                        <label for="longitude">Longitude</label>
                                                                                                        <div>
                                                                                                                <input id="longitude" class="input-mini" name="longitude" type="text" value=""/>
                                                                                                        </div>
                                                                                                </div>
                                                                                                <div class="span1">
                                                                                                        <div>
                                                                                                                <input id="geolocaliser" type="button" value="Show on the map"
                                                                                                                        class="has-tooltip"
                                                                                                                        title="Centers the map on the specified coordinates."/>
                                                                                                        </div>
                                                                                                </div>
                                                                                </div>
                                                                                </div>
                                                                                <div class="row-fluid">
                                                                                        <div class="span4 has-tooltip"
                                                                                                title="Location name, more precise than the city, used locally." >
                                                                                                <label for="lieudit">Place</label>
                                                                                                <div>
                                                                                                        <input type="text" id="lieudit" class="span2" name="lieudit"/>
                                                                                                </div>
                                                                                        </div>
                                                                                        <div class="span4 has-tooltip"
                                                                                                title="Precise location of the observation describing a homogeneous ecological unit (ex: the meadow behind the house)." >
                                                                                                <label for="station">Station</label>
                                                                                                <div>
                                                                                                        <input type="text" id="station" class="span2" name="station"/>
                                                                                                </div>
                                                                                        </div>
                                                                                        <div class="span4 has-tooltip"
                                                                                                title="Environment type (ex: humid prairie).">
                                                                                                <label for="milieu">Environment</label>
                                                                                                <div>
                                                                                                        <input type="text" id="milieu" class="span2" name="milieu" />
                                                                                                </div>
                                                                                        </div>
                                                                                </div>
                                                                        </form>
                                                                </div>
                                                        </div>
                                                        <div class="span6">
                                                                <form id="form-obs" action="#" autocomplete="on">
                                                                        <h2>Observation</h2>
                                                                        <?php if(!$referentiel_impose && !$espece_imposee) : ?>
                                                                                <div class="row-fluid">
                                                                                        <div class="has-tooltip"
                                                                                                title="Select the referential assocaited to your observation">
                                                                                                <label for="referentiel" title="Réferentiel">
                                                                                                        Referential
                                                                                                </label>
                                                                                                <span class="input-prepend">
                                                                                                        <span id="referentiel-icone" class="add-on"><i class="icon-book"></i></span>
                                                                                                        <select id="referentiel" autocomplete="off">
                                                                                                                <option value="bdtfx" selected="selected" title="Tracheophytes of metropolitan France">Metropolitan France (BDTFX)</option>
                                                                                                                <option value="bdtxa" title="Tracheophytes of french Antilles">French Antilles (BDTXA)</option>
                                                                                                                <option value="bdtre" title="Tracheophytes of La Réunion">Réunion Island (BDTRE)</option>
                                                                                                                <option value="isfan" title="Northern Africa">Northern Africa (ISFAN)</option>
                                                                                                                <option value="apd" title="Western and central Africa">Western and central Africa (APD)</option>
                                                                                                                <option value="lbf" title="Lebanon">Lebanon (LBF)</option>
                                                                                                                <option value="autre" title="Other/Unknown">Other/Unknown</option>
                                                                                                        </select>
                                                                                                </span>
                                                                                        </div>
                                                                                </div>
                                                                        <?php endif; ?>
                                                                        <div class="row-fluid">
                                                                                <div class="span4 has-tooltip"
                                                                                        title="Click the calendar icon to select the date.">
                                                                                        <label for="date" title="Please type the date of observation, using dd/mm/yyyy format">
                                                                                                Observation date
                                                                                        </label>
                                                                                        <div class="input-prepend">
                                                                                                <span id="date-icone" class="add-on"></span><input id="date"
                                                                                                        class="input-small" name="date" type="text"
                                                                                                        placeholder="dd/mm/yyyy" />
                                                                                        </div>
                                                                                </div>
                                                                                <div id="taxon-input-groupe" class="span8 has-tooltip"
                                                                                        title="Select a species in the list to link
                                                                                                the name to the selected referential. If you wish you can
                                                                                                also specify a name that is not in any referential
                                                                                                (Ex. : 'purple flower' or 'viola sinensis???')." >
                                                                                        <label for="taxon" title="Choose a species">
                                                                                                <strong class="obligatoire">*</strong>
                                                                                                Species <?= $referentiel_impose ? '('.$ns_referentiel.')' : '' ?> <em>(or clue about the plant)</em>
                                                                                        </label>
                                                                                        <div class="input-prepend">
                                                                                                <span class="add-on">
                                                                                                        <i class="icon-leaf"></i>
                                                                                                </span><input type="text" id="taxon" name="taxon" value="<?= $nom_sci_espece_defaut; ?>" />
                                                                                        </div>
                                                                                </div>
                                                                        </div>
                                                                        <div class="row-fluid">
                                                                                <div class="span12">
                                                                                        <label for="notes">Comments</label>
                                                                                        <div>
                                                                                                <textarea id="notes" class="span6" rows="7" name="notes"
                                                                                                        placeholder="you can add comments and notes to your observation (altitude, plant size...)"></textarea>
                                                                                        </div>
                                                                                </div>
                                                                        </div>
                                                                </form>
                                                                <form id="form-upload" class="form-horizontal" action="<?= $url_ws_upload ?>"
                                                                        method="post" enctype="multipart/form-data">
                                                                        <h2>Image(s) of this plant</h2>
                                                                        <strong>Add an image</strong>
                                                                        <p class="miniature-info" class="discretion help-inline">Photos must be in JPEG format and must not exceed 5MB each.</p>
                                                                        <div id ="photos-conteneur">
                                                                                <input type="file" id="fichier" name="fichier" accept="image/jpeg" />
                                                                                <input type="hidden" name="MAX_FILE_SIZE" value="5242880"/>
                                                                                <div id="miniatures">
                                                                                </div>
                                                                                <p class="miniature-msg" class="span12">&nbsp;</p>
                                                                        </div>
                                                                </form>
                                                        </div>
                                                        <div class="row-fluid">
                                                                <div class="span12 centre has-tooltip"
                                                                        title="Once the fields are filled, click this button to
                                                                                add your observation to the to-be-transmitted list.">
                                                                        <button id="ajouter-obs" class="btn btn-primary btn-large" type="button">
                                                                                Create
                                                                        </button>
                                                                </div>
                                                        </div>
                                                </div>
                                        </div>
                                </div>
                        </div>
                        <!-- Messages d'erreur du formulaire-->
                        <div class="row">
                                <div class="zone-alerte span6 offset3">
                                        <div id="dialogue-bloquer-creer-obs" class="alert alert-warning alert-block" style="display: none;">
                                                <a class="close">×</a>
                                                <h4 class="alert-heading">Information : 10 observations maximum</h4>
                                                <p>
                                                        You just added your 10th observation.<br/>
                                                        To add some more, you need to transmit the first 10 by clicking the button below.
                                                </p>
                                        </div>
                                </div>
                                <div class="zone-alerte span6 offset3">
                                        <div id="dialogue-form-invalide" class="alert alert-warning alert-block" style="display: none;">
                                                <a class="close">×</a>
                                                <h4 class="alert-heading">Information : fields with errors</h4>
                                                <p>
                                                        Some of the form fields contain errors.<br/>
                                                        Please check your data.
                                                </p>
                                        </div>
                                </div>
                        </div>
                        <!-- Affiche le tableau récapitualif des observations ajoutées -->
                        <div id="zone-liste-obs" class="row-fluid">
                                <div class="span12">
                                        <div class="well">
                                                <div class="row-fluid">
                                                        <div class="span8">
                                                                <h2>Observations to be transmitted : <span class="obs-nbre">0</span></h2>
                                                        </div>
                                                        <div class="span4 droite">
                                                                <button id="transmettre-obs" class="btn btn-primary btn-large has-tooltip"
                                                                        type="button" disabled="disabled"
                                                                        title="Adds the observations below to your Carnet en Ligne (Online notebook) and makes them public.">
                                                                        Transmit
                                                                </button>
                                                        </div>
                                                </div>
                                                <div id="liste-obs" ></div>
                                                <div class="row">
                                                        <div class="zone-alerte span6 offset3">
                                                                <div id="dialogue-zero-obs" class="alert alert-block" style="display: none;">
                                                                        <a class="close">×</a>
                                                                        <h4 class="alert-heading">Warning : no observation</h4>
                                                                        <p>Please add observations before transmission.</p>
                                                                </div>

                                                                <div id="dialogue-obs-transaction-ok" class="alert alert-success alert-block" style="display: none;"">
                                                                        <a class="close">×</a>
                                                                        <h4 class="alert-heading">Information : transmitting observations</h4>
                                                                        <div class="alert-txt"></div>
                                                                </div>

                                                                <div id="dialogue-obs-transaction-ko" class="alert alert-error alert-block" style="display: none;">
                                                                        <a class="close">×</a>
                                                                        <h4 class="alert-heading">Error while transmitting observations</h4>
                                                                        <div class="alert-txt"></div>
                                                                </div>
                                                        </div>
                                                </div>

                                        </div>
                                </div>
                        </div>

                        <footer class="row-fluid">
                                <p class="span12">&copy; Tela Botanica 2015</p>
                        </footer>

                        <!-- Fenêtres modales -->
                        <div id="chargement" class="modal-fenetre" style="display:none;">
                                <div id="chargement-centrage" class="modal-contenu">
                                        <div class="progress progress-striped active">
                                                <div id="barre-progression-upload" class="bar" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="10" style="">
                                                <span class="sr-only">0/10 observations transmitted</span>
                                                </div>
                                        </div>
                                        <p id="chargement-txt" style="color:white;font-size:1.5em;">
                                                Transmitting observations...<br />
                                                This might take several minutes depending on the size of images and
                                                the number of observations to transmit.
                                        </p>
                                </div>
                        </div>

                        <!-- Templates HTML -->
                        <div id="tpl-transmission-ok" style="display:none;">
                                <p class="msg">
                                        Your observations have been transmitted.<br />
                                        They can now be consulted with the different visualization tools
                                        of the Tela Botanica network (<a href="http://www.tela-botanica.org/site:botanique">eFlore</a>,
                                        <a href="http://www.tela-botanica.org/appli:pictoflora">images gallery</a>,
                                        <a href="http://www.tela-botanica.org/appli:identiplante">Identiplante</a>,
                                        <a href="http://www.tela-botanica.org/widget:cel:cartoPoint">maps</a>...)<br />
                                        If you wish to edit or delete them, you can find them by
                                        signing in to your <a href="http://www.tela-botanica.org/appli:cel?lang=en">"Carnet en ligne" (Online notebook)</a>.<br />
                                        Don't forget that you have to
                                        <a href="http://www.tela-botanica.org/page:inscription">sign-up to Tela Botanica</a>
                                        first, if not already done.
                                </p>
                        </div>
                        <div id="tpl-transmission-ko" style="display:none;">
                                <p class="msg">
                                        An error occured while transmitting an observation (shown in red).<br />
                                        You can try transmitting it again by clicking the "transmit" button, or delete it
                                        and transmit the others.<br />
                                        Nevertheless, the observations that do not appear in the "observations to be transmitted" list anymore, have been successfully transmitted during the previous attempt. <br />
                                        If the issue persists, you can report it to us using
                                        <a href="<?= $url_remarques ?>?lang=en&service=cel&pageSource=<?php echo urlencode('http://'.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'].'?'.$_SERVER['QUERY_STRING']); ?>"
                                                                  target="_blank"
                                                                  onclick="javascript:window.open(this.getAttribute('href'), 'Tela Botanica - Remarques', config='height=700, width=640, scrollbars=yes, resizable=yes'); return false;">
                                                                  the error reporting form</a>.
                                </p>
                        </div>
                </div>
        </body>
</html>