22,7 → 22,9 |
ref_sci = $(".selection-referentiel[disabled=disabled]").attr("name"); |
$("#eflore_nomenclature_referentiel").val(ref_sci); |
URL_SERVICE_AUTOCOMPLETION_NOM_SCI = URL_SERVICE_AUTOCOMPLETION_NOM_SCI_TPL.replace("{referentiel}", ref_sci); |
URL_BASE_FICHE_TAXON = REFERENTIELS_CONSULTATION_URLS[ref_sci]+URL_BASE_FICHE_TAXON_TPL.replace("{referentiel}", ref_sci); |
var ref_sci_bis = ref_sci; |
if (ref_sci == "bdtfxr") { ref_sci_bis = "bdtfx"; } |
URL_BASE_FICHE_TAXON = REFERENTIELS_CONSULTATION_URLS[ref_sci]+URL_BASE_FICHE_TAXON_TPL.replace("{referentiel}", ref_sci_bis); |
console.log(URL_BASE_FICHE_TAXON); |
if(REFERENTIELS_VERNA_DISPOS[ref_sci] != undefined) { |
URL_SERVICE_AUTOCOMPLETION_NOM_VERNA = URL_SERVICE_AUTOCOMPLETION_NOM_VERNA_TPL.replace("{referentiel}", REFERENTIELS_VERNA_DISPOS[ref_sci]); |
59,7 → 61,7 |
// --> |
</script> |
<div class="importance1" id="conteneur-recherche"> |
<h1 class="titre-widget">Cherchez une plante de <span class="zone-choix-referentiel"> |
<h1 class="titre-widget">Cherchez une plante de <br /><span class="zone-choix-referentiel"> |
<?php $premier_ref = true; ?> |
<?php foreach($referentielsSciDispos as $code => $intitule) : ?> |
<span class="referentiel"> |
80,7 → 82,7 |
<label for="type_nom_vernaculaire" title="(en français, allemand, anglais, catalan, espagnol, italien ou néerlandais)">Nom commun</label> |
</span> |
</span> |
<input type="text" aria-haspopup="true" aria-autocomplete="list" role="textbox" autocomplete="off" id="nom" name="nom" class="champ ui-autocomplete-input" size="30" maxlength="255" /> |
<input type="text" aria-haspopup="true" aria-autocomplete="list" role="textbox" autocomplete="off" id="nom" name="nom" class="champ ui-autocomplete-input" size="25" maxlength="255" /> |
<span id="zone-liens-recherche"> |
<input type="hidden" id="eflore_nomenclature_niveau" name="niveau" value="2" /> |
<input type="hidden" id="eflore_nomenclature_module" name="module" value="recherche" /> |
92,4 → 94,4 |
</fieldset> |
</form> |
</div> |
<!-- FIN FORM_NOM --> |
<!-- FIN FORM_NOM --> |