/trunk/metier/api_0.1/NomsVernaculaires.php |
---|
46,7 → 46,7 |
private function getUrlRecherche($nom, $typeRech) { |
$tpl = Config::get('nomsVernaRechercheTpl'); |
$params = array('valeur' => $nom, 'type' => $typeRech, 'langue' => 'fra'); |
$params = array('valeur' => $nom, 'type' => $typeRech); |
$url = $this->formaterUrl($tpl, $params); |
return $url; |
} |
53,7 → 53,7 |
private function getUrlRechercheDetermination($nom, $typeRech) { |
$tpl = Config::get('nomsVernaRechercheDeterminationTpl'); |
$params = array('valeur' => $nom, 'type' => $typeRech, 'langue' => 'fra'); |
$params = array('valeur' => $nom, 'type' => $typeRech); |
$url = $this->formaterUrl($tpl, $params); |
return $url; |
} |
/trunk/configurations/config.defaut.ini |
---|
177,10 → 177,10 |
nomsFloresTpl = "{ref:nomsTpl}/{id}/relations/flores" |
nomsVernaTpl = "{ref:baseUrlApiEflore}/noms-vernaculaires" |
nomsVernaRechercheTpl = "{ref:nomsVernaTpl}?masque.nv={valeur}&recherche={type}&masque.lg={langue}" |
nomsVernaRechercheTpl = "{ref:nomsVernaTpl}?masque.nv={valeur}&recherche={type}" |
nomsVernaRechercheLimiteeTpl = "{ref:nomsVernaTpl}/attributions?masque.nt={valeur}" |
nomsVernaRechercheCompleteTpl = "{ref:nomsVernaTpl}/attributions?masque.nt={valeur}&retour.format=max&retour.champs=conseil_emploi,genre,taxon" |
nomsVernaRechercheDeterminationTpl = "{ref:nomsVernaTpl}/attributions?masque.nv={valeur}&recherche={type}&masque.lg={langue}&navigation.limite=3000" |
nomsVernaRechercheDeterminationTpl = "{ref:nomsVernaTpl}/attributions?masque.nv={valeur}&recherche={type}&navigation.limite=3000" |
nomsVernaRechercheAlphabTpl = "{ref:nomsVernaTpl}/attributions?masque.nv={valeur}&recherche={type}&navigation.limite=3000" |
cartesTpl = "{ref:baseUrlApiEflore}/cartes" |
/trunk/presentations/scripts/recherche.js |
---|
267,8 → 267,7 |
} |
function getUrlAutocompletionNomsVerna(requete) { |
var url = getUrlAutocompletion(URL_SERVICE_AUTOCOMPLETION_NOM_VERNA, requete, 'oss')+ |
"&masque.lg=fra"; |
var url = getUrlAutocompletion(URL_SERVICE_AUTOCOMPLETION_NOM_VERNA, requete, 'oss'); |
return url; |
} |