/trunk/modules/recherche_simple/RechercheSimple.php |
---|
17,6 → 17,7 |
public function executerFormulaireNom($donnees = array()) { |
$donnees['url_base_completion_noms_verna'] = ""; |
if (Config::get(Registre::get('parametres.referentiel').'.referentielVerna')) { |
if (!isset($donnees['type_nom'])) { |
$donnees['type_nom'] = (Registre::get('parametres.niveau') == 1) ? 'nom_vernaculaire' : 'nom_scientifique'; |
/trunk/configurations/bdtxa.ini |
---|
New file |
0,0 → 1,7 |
; Mettre ici les paramètres de config qui doivent être redéfinis par ce référentiel |
couleur_alphabet_fin = "204,255,51" |
; Mettre ici les paramètres spécifiques au référentiel |
[bdtfx] |
nom = "Base de données des Trachéophytes des Antilles" |
referentielImages = "cel" |
/trunk/bibliotheque/Conteneur.php |
---|
42,12 → 42,20 |
} |
public function getApiNoms() { |
$noms = new Noms($this->getParametre('referentiel_defaut')); |
if (isset($this->getParametre('referentiel'))) { |
$noms = new Noms($this->getParametre('referentiel')); |
} else { |
$noms = new Noms($this->getParametre('referentiel_defaut')); |
} |
return $noms; |
} |
public function getApiTaxons() { |
$taxons = new Taxons($this->getParametre('referentiel_defaut')); |
if (isset($this->getParametre('referentiel'))) { |
$taxons = new Taxons($this->getParametre('referentiel')); |
} else { |
$taxons = new Taxons($this->getParametre('referentiel_defaut')); |
} |
return $taxons; |
} |
/trunk/presentations/scripts/recherche.js |
---|
279,12 → 279,12 |
/**------------ Fonctions de détection de l'état du formulaire ------------------*/ |
function nomSciEstDemande() { |
var boutonRadioNomSci = $('#type_nom_scientifique'); |
return (boutonRadioNomSci.attr("checked") != "undefined" && boutonRadioNomSci.attr("checked") == "checked"); |
return (($('#type_nom_vernaculaire').length <= 0) || (boutonRadioNomSci != null && boutonRadioNomSci.attr("checked") != "undefined" && boutonRadioNomSci.attr("checked") == "checked")); |
} |
function nomVernaculaireEstDemande() { |
var boutonRadioNomSci = $('#type_nom_vernaculaire'); |
return (boutonRadioNomSci.attr("checked") != "undefined" && boutonRadioNomSci.attr("checked") == "checked"); |
return (boutonRadioNomSci.length > 0 && boutonRadioNomSci.attr("checked") != "undefined" && boutonRadioNomSci.attr("checked") == "checked"); |
} |
/**------------ Fonctions de gestion de l'affichage des valeurs par defaut ----------------------*/ |
/trunk/presentations/squelettes/menu.tpl.html |
---|
4,6 → 4,7 |
<ul> |
<li><a href="index.php?referentiel=bdtfx&module=liste&rang=F">Liste Famille</a></li> |
<li><a href="index.php?referentiel=bdtfx&module=liste&rang=G">Liste Genre</a></li> |
<li><a href="index.php?referentiel=bdtxa">eFlore Antilles</a></li> |
</ul> |
</li> |
</ul> |