/trunk/serveur/eflore_mv/modeles/macro_elements/NOM_SELECTION_PROJETS.php |
---|
11,7 → 11,6 |
nom.en_id_nom, |
version.eprv_id_version, |
version.eprv_nom, |
version.eprv_code_version, |
projet.epr_intitule_projet, |
projet.epr_abreviation_projet |
/trunk/serveur/eflore_mv/modeles/macro_elements/PROJET_VERSION.php |
---|
9,8 → 9,7 |
return |
'SELECT DISTINCT |
version.eprv_id_version, |
version.eprv_nom, |
version.eprv_code_version, |
version.eprv_nom, |
projet.epr_id_projet, |
projet.epr_intitule_projet, |
projet.epr_abreviation_projet |
/trunk/serveur/eflore_mv/modeles/macro_elements/VERNACULAIRE_RECHERCHE.php |
---|
15,7 → 15,6 |
vernaculaire.ev_id_nom_vernaculaire, |
vernaculaire.ev_intitule_nom_vernaculaire, |
taxon.et_id_version_projet_taxon, |
selection.esn_ce_statut, |
intitule.eni_intitule_nom, |
nom.en_id_nom |
/trunk/serveur/eflore_mv/modeles/macro_elements/NOM_RECHERCHE.php |
---|
48,31 → 48,6 |
AND nom.en_ce_rang = '.$contexte['rang']; |
} |
} |
if (array_key_exists('radical', $this->contexteRef) and array_key_exists('nvp', $this->contexteRef) ) { |
$contexte['radical'] = $this->contexteRef['radical']; |
$contexte['nvp'] = $this->contexteRef['nvp']; |
if(!empty($contexte['nvp']) ) { |
return |
'SELECT |
nom.*, |
intitule.eni_intitule_nom, |
selection.esn_ce_statut, |
selection.esn_id_version_projet_taxon |
FROM |
eflore_nom_intitule AS intitule, |
eflore_nom AS nom, |
eflore_selection_nom AS selection |
WHERE |
intitule.eni_intitule_nom LIKE "'.$contexte['radical'].'" |
AND intitule.eni_id_categorie_format = 3 |
AND intitule.eni_id_valeur_format = 4 |
AND nom.en_id_nom = intitule.eni_id_nom |
AND nom.en_id_nom = selection.esn_id_nom |
AND selection.esn_id_version_projet_taxon = '.$contexte['nvp']; |
} |
} |
if (array_key_exists('radical', $this->contexteRef) ) { |
$contexte['radical'] = $this->contexteRef['radical']; |
if(!empty($contexte['radical']) ) { |
87,7 → 62,7 |
WHERE |
intitule.eni_intitule_nom LIKE "'.$contexte['radical'].'" |
AND intitule.eni_id_categorie_format = 3 |
AND intitule.eni_id_valeur_format = 4 |
AND intitule.eni_id_valeur_format = 3 |
AND nom.en_id_nom = intitule.eni_id_nom'; |
} |
} |
/trunk/serveur/eflore_mv/modeles/groupes_macro_elements/formulairenomenclatural.php |
---|
File deleted |
\ No newline at end of file |
/trunk/serveur/eflore_mv/modeles/groupes_macro_elements/recherchenomlatin.php |
---|
9,21 → 9,14 |
{ |
$this->dblock = new blockdedonnees('FICHE_LISTE_NOMS'); |
// Radical du nom recherché |
if (array_key_exists('radical', $_REQUEST)) { |
$this->dblock->ajouterDonnee('radical', $_REQUEST['radical']); |
} |
// Rang des noms |
if (array_key_exists('rang',$_REQUEST)) { |
$this->dblock->ajouterDonnee('rang', $_REQUEST['rang']); |
} |
// Numéro de version du projet |
if (array_key_exists('nvp', $_REQUEST)) { |
$this->dblock->ajouterDonnee('nvp', $_REQUEST['nvp']); |
} |
$this->construireContexte(); |
$this->ajouterMacroElement(); |
} |
35,8 → 28,6 |
function ajouterMacroElement() |
{ |
$un_macro_element = $this->macroElementFactory('PROJET_VERSION', $this->dblock); |
$un_macro_element->construire(); |
$un_macro_element = $this->macroElementFactory('NOM_RECHERCHE', $this->dblock); |
$un_macro_element->construire(); |
} |
/trunk/serveur/eflore_mv/modeles/groupes_macro_elements/recherchenomverna.php |
---|
9,16 → 9,10 |
{ |
$this->dblock = new blockdedonnees('FICHE_LISTE_NOMS_VERNA'); |
// Radical à rechercher |
if (array_key_exists('radical', $_REQUEST)) { |
$this->dblock->ajouterDonnee('radical', $_REQUEST['radical']); |
} |
// Numéro de version du projet |
if (array_key_exists('nvp', $_REQUEST)) { |
$this->dblock->ajouterDonnee('nvp', $_REQUEST['nvp']); |
} |
$this->construireContexte(); |
$this->ajouterMacroElement(); |
} |