Subversion Repositories eFlore/Archives.eflore-consultation-v2

Compare Revisions

Ignore whitespace Rev 172 → Rev 173

/trunk/eflore_fiche.inc.php
21,7 → 21,7
// | along with Foobar; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: eflore_fiche.inc.php,v 1.2 2005-06-24 09:46:43 jpm Exp $
// CVS : $Id: eflore_fiche.inc.php,v 1.3 2005-06-30 15:24:26 jpm Exp $
/**
* Affichage des fiches d'eFlore.
*
33,7 → 33,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.2 $ $Date: 2005-06-24 09:46:43 $
*@version $Revision: 1.3 $ $Date: 2005-06-30 15:24:26 $
// +------------------------------------------------------------------------------------------------------+
*/
 
56,10 → 56,14
}
//Analyse du squelette
require_once 'HTML/Template/IT.php';
$squelette = new HTML_Template_IT();
require_once 'HTML/Template/ITX.php';
$squelette = new HTML_Template_ITX();
$squelette->setTemplate($contenu, FALSE, FALSE);
// Gestion des niveaux taxonomiques supérieurs
$squelette->setCallbackFunction('selectionnerEfloreRef', 'selectionnerEfloreRef');
$squelette->performCallback();
// Indique l'url pour obtenir fiche d'un nom
$squelette->setCurrentBlock('corps');
70,6 → 74,9
$squelette->setVariable('FormUrlProjetChangement', $GLOBALS['_EFLORE_']['url']->getURL());
$GLOBALS['_EFLORE_']['url']->addQueryString(EFLORE_LG_URL_NVP, '');
$squelette->setVariable('LienUrlProjetChangement', $GLOBALS['_EFLORE_']['url']->getURL());
// Référentiel sélectionné par défaut
$squelette->setCallbackFunction('NiveauTaxo', 'afficherNiveauTaxoSuperieur');
$squelette->performCallback();
$squelette->parseCurrentBlock('corps');
// Récupère le bloc "corps"
76,9 → 83,47
$sortie .= $squelette->get('corps');
}
 
// +------------------------------------------------------------------------------------------------------+
// | LISTE des FONCTIONS |
// +------------------------------------------------------------------------------------------------------+
 
function afficherNiveauTaxoSuperieur($arguments) {
$tab_nom_sup = array();
$retour = '';
$nt = $arguments[0];
$nvp = $arguments[1];
$nr = 1000;
while ($nr != 0) {
$aso_taxon = array();
$contenu = file_get_contents(sprintf(EFLORE_URL_TAXON_SUP, rawurlencode($nt), rawurlencode($nvp)));
preg_match('/<en_ce_r>(\d+)</en_ce_r>/', $contenu, $info);
$aso_taxon['nr'] = $info[1];
$retour .= 'ici'.$aso_taxon['nr'];
$nr = $info[1];
preg_match('/<etr_id_t2>(\d+)</etr_id_t2>/', $contenu, $info);
$aso_taxon['nt'] = $info[1];
$nt = $info[1];
preg_match('/<etr_id_vpt2>(\d+)</etr_id_vpt2>/', $contenu, $info);
$aso_taxon['nvp'] = $info[1];
$nvp = $info[1];
preg_match('/<en_id_n>(\d+)</en_id_n>/', $contenu, $info);
$aso_taxon['nn'] = $info[1];
array_push($tab_nom_sup, $aso_taxon);
}
$retour .= '<ul>';
$j = 0;
for($i = count($tab_nom_sup); $i > 0; $i--) {
$retour .= '<li>'.str_repeat('&nbsp;', $j++).$tab_nom_sup[$i]['nn'].'</li>';
}
$retour .= '</ul>';
return $retour;
}
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.2 2005/06/24 09:46:43 jpm
* Test pour mathilde
*
* Revision 1.1 2005/01/28 19:48:11 jpm
* Ajout d'une fiche de synthèse.
*
/trunk/serveur/eflore_mv/vues/recherche_nom_latin_xhtml.php
21,7 → 21,7
// | along with Foobar; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: recherche_nom_latin_xhtml.php,v 1.6 2005-06-09 18:09:52 jpm Exp $
// CVS : $Id: recherche_nom_latin_xhtml.php,v 1.7 2005-06-30 15:25:07 jpm Exp $
/**
* Vue affichant la liste des noms latins correspondant à un radical recherché.
*
34,7 → 34,7
//Autres auteurs :
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.6 $ $Date: 2005-06-09 18:09:52 $
*@version $Revision: 1.7 $ $Date: 2005-06-30 15:25:07 $
// +------------------------------------------------------------------------------------------------------+
*/
 
41,7 → 41,14
// +------------------------------------------------------------------------------------------------------+
// | ENTETE du PROGRAMME |
// +------------------------------------------------------------------------------------------------------+
/* Inclusion du fichier permettant de gérer l'encodage des noms vernaculaires*/
require_once EFSE_CHEMIN_FONCTION.'eribo_encodage.fonct.php';
/* Variable stockant le nombre de noms latins actuellement affichés*/
$GLOBALS['_NOM_LATIN_']['num'] = 0;
/* Variable permettant de savoir si on a déjà afficher l'entête de la liste des noms latins*/
$GLOBALS['_NOM_LATIN_']['tete'] = true;
/* Variable permettant de savoir si on a déjà afficher le pied de la liste des noms latins*/
$GLOBALS['_NOM_LATIN_']['pied'] = true;
 
// +------------------------------------------------------------------------------------------------------+
// | CLASSE de la VUE |
80,6 → 87,7
$retour .= $this->leBlock->afficherPattern('FICHE_LISTE_NOMS>PROJET_VERSION','afficherResumerRecherche');
$retour .= '</dl>'."\n";
$retour .= '<ol>'."\n";
$retour .= $this->leBlock->afficherPattern('FICHE_LISTE_NOMS>NOM_RECHERCHE','afficherNom');
$retour .= '</ol>'."\n";
$retour .= '<!-- END corps -->'."\n";
111,16 → 119,25
{
//$retour .= '<pre>'.print_r($donnees, true).'</pre>';
$retour = '';
if ($donnees['epr_intitule_projet'] != '' || $donnees['epr_intitule_projet'] != 0) {
if (!empty($donnees['epr_intitule_projet'])) {
$retour .= '<dt>'.'Référentiel : '.'</dt>'."\n";
$retour .= '<dd>'.$donnees['epr_intitule_projet'].' - Version : '.$donnees['eprv_code_version'].'</dd>'."\n";
}
return $retour;
}
 
function afficherListeEntete($donnees)
{
$retour = '';
if ($GLOBALS['_NOM_LATIN_']['tete'] == true) {
$GLOBALS['_NOM_LATIN_']['tete'] = false;
$retour .= '<ol>'."\n";
}
return $retour;
}
function afficherNom($donnees)
{
//$retour = '<pre>'.print_r($donnees, true).'</pre>';
++$GLOBALS['_NOM_LATIN_']['num'];
$retour = '<li>';
if (isset($donnees['esn_ce_statut'])) {
if ($donnees['esn_ce_statut'] == 3) {//Nom retenu
134,7 → 151,23
$retour .= '</li>'."\n";
return $retour;
}
 
function afficherListePied($donnees)
{
$retour = '';
if ($GLOBALS['_NOM_LATIN_']['pied'] == true) {
$GLOBALS['_NOM_LATIN_']['pied'] = false;
$retour .= '</ol>'."\n";
}
return $retour;
}
function afficherMessage($donnees = array())
{
$retour = '';
if ($GLOBALS['_NOM_LATIN_']['num'] == 0) {
$retour .= '<p class="information">'.'Aucun nom latin ne correspond à ce radical!'.'</p>'."\n";
}
return $retour;
}
// +------------------------------------------------------------------------------------------------------+
// | PIED du PROGRAMME |
// +------------------------------------------------------------------------------------------------------+
143,6 → 176,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.6 2005/06/09 18:09:52 jpm
* Début gestion des référenciels dans la recherche nomenclaturale.
*
* Revision 1.5 2005/03/15 13:45:42 tam
* modifs labels
*
/trunk/serveur/eflore_mv/vues/formulaire_nomenclatural_xhtml.php
21,7 → 21,7
// | along with Foobar; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: formulaire_nomenclatural_xhtml.php,v 1.1 2005-06-09 18:09:52 jpm Exp $
// CVS : $Id: formulaire_nomenclatural_xhtml.php,v 1.2 2005-06-30 15:25:07 jpm Exp $
/**
* Vue affichant le formulaire de recherche nomenclaturale.
*
34,7 → 34,7
//Autres auteurs :
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
*@copyright Tela-Botanica 2000-2005
*@version $Revision: 1.1 $ $Date: 2005-06-09 18:09:52 $
*@version $Revision: 1.2 $ $Date: 2005-06-30 15:25:07 $
// +------------------------------------------------------------------------------------------------------+
*/
 
110,7 → 110,7
{
//$retour .= '<pre>'.print_r($donnees, true).'</pre>';
$retour .= ' <option value="'.$donnees['PROJET_VERSION_TOUS']['eprv_id_version'].'" func_selectionnerEfloreRef('.$donnees['PROJET_VERSION_TOUS']['eprv_id_version'].')>';
$retour .= $donnees['PROJET_VERSION_TOUS']['eprv_nom'].' - '.$donnees['PROJET_VERSION_TOUS']['epr_intitule_projet'];
$retour .= $donnees['PROJET_VERSION_TOUS']['eprv_nom'].' ('.$donnees['PROJET_VERSION_TOUS']['eprv_code_version'].') - '.$donnees['PROJET_VERSION_TOUS']['epr_intitule_projet'];
$retour .= '</option>'."\n";
return $retour;
}
123,6 → 123,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.1 2005/06/09 18:09:52 jpm
* Début gestion des référenciels dans la recherche nomenclaturale.
*
* Revision 1.6 2005/03/15 15:11:07 jpm
* Ajout d'une sélection par défaut pour le choix de l'ordre.
*
/trunk/serveur/eflore_mv/vues/recherche_taxon_sup_xml.php
New file
0,0 → 1,100
<?php
/*vim: set expandtab tabstop=4 shiftwidth=4: */
// +------------------------------------------------------------------------------------------------------+
// | PHP version 5.0.3 |
// +------------------------------------------------------------------------------------------------------+
// | Copyright (C) 2004 Tela Botanica (accueil@tela-botanica.org) |
// +------------------------------------------------------------------------------------------------------+
// | This file is part of eRibo. |
// | |
// | Foobar is free software; you can redistribute it and/or modify |
// | it under the terms of the GNU General Public License as published by |
// | the Free Software Foundation; either version 2 of the License, or |
// | (at your option) any later version. |
// | |
// | Foobar is distributed in the hope that it will be useful, |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
// | GNU General Public License for more details. |
// | |
// | You should have received a copy of the GNU General Public License |
// | along with Foobar; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: recherche_taxon_sup_xml.php,v 1.1 2005-06-30 15:25:07 jpm Exp $
/**
* Vue affichant la liste des taxons d'un projet.
*
* Permet de retourner le xhtml correspondant à une liste hiérarchisées des taxons d'un projet.
*
*@package eFlore
*@subpackage Vues
//Auteur original :
*@author Frédéric LEGENS <flegens@free.fr>
//Autres auteurs :
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.1 $ $Date: 2005-06-30 15:25:07 $
// +------------------------------------------------------------------------------------------------------+
*/
 
// +------------------------------------------------------------------------------------------------------+
// | ENTETE du PROGRAMME |
// +------------------------------------------------------------------------------------------------------+
require_once EFSE_CHEMIN_FONCTION.'eribo_encodage.fonct.php';
 
// +------------------------------------------------------------------------------------------------------+
// | CLASSE de la VUE |
// +------------------------------------------------------------------------------------------------------+
class recherche_taxon_sup_xml implements iVue {
protected $leBlock;
function __construct($unBlock)
{
$this->leBlock = $unBlock;
}
function serialiser()
{
$retour = '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>'."\n";
$retour .= '<!DOCTYPE taxon ['."\n";
$retour .= ' <!ELEMENT taxon (#PCDATA)>'."\n";
$retour .= ']>'."\n";
$retour .= $this->leBlock->afficherPattern('FICHE_TAXON_SUPERIEUR>TAXON_SUPERIEUR','afficherInfoTaxon');
// Envoi au navigateur après encodage en entité des caractères posant problème
header('Content-Type: text/xml');
echo utf8_encode($retour);
}
}
 
// +------------------------------------------------------------------------------------------------------+
// | LISTE des FONCTIONS |
// +------------------------------------------------------------------------------------------------------+
function afficherInfoTaxon($donnees)
{
$retour = '';
$retour .= '<taxon>'."\n";
$retour .= ' <etr_id_t2>'.$donnees['etr_id_taxon_2'].'</etr_id_t2>'."\n";
$retour .= ' <etr_id_vpt2>'.$donnees['etr_id_version_projet_taxon_2'].'</etr_id_vpt2>'."\n";
$retour .= ' <en_ce_r>'.$donnees['en_ce_rang'].'</en_ce_r>'."\n";
$retour .= ' <en_id_n>'.$donnees['en_id_nom'].'</en_id_n>'."\n";
$retour .= '</taxon>'."\n";
return $retour;
}
 
 
// +------------------------------------------------------------------------------------------------------+
// | PIED du PROGRAMME |
// +------------------------------------------------------------------------------------------------------+
 
 
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
*
* +-- Fin du code ----------------------------------------------------------------------------------------+
*/
?>
/trunk/serveur/eflore_mv/vues/formulaire_taxonomique_xhtml.php
21,7 → 21,7
// | along with Foobar; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: formulaire_taxonomique_xhtml.php,v 1.7 2005-06-09 18:09:52 jpm Exp $
// CVS : $Id: formulaire_taxonomique_xhtml.php,v 1.8 2005-06-30 15:25:07 jpm Exp $
/**
* Vue affichant le formulaire de recherche taxonomique.
*
34,7 → 34,7
//Autres auteurs :
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.7 $ $Date: 2005-06-09 18:09:52 $
*@version $Revision: 1.8 $ $Date: 2005-06-30 15:25:07 $
// +------------------------------------------------------------------------------------------------------+
*/
 
74,19 → 74,15
$retour .= '<body>'."\n";
$retour .= '<!-- BEGIN corps -->'."\n";
$retour .= '<h2>'.'Consultation par projet'.'</h2>'."\n";
$retour .= '<h2>'.'Consultation taxonomique'.'</h2>'."\n";
$retour .= '<form id="eflore_form_taxonomie" name="eflore_form_taxonomie" action="{UrlProjetTaxon}" method="post">'."\n";
$retour .= '<fieldset>'."\n".'<legend>'.'Consultation par projet'.'</legend>'."\n";
$retour .= '<fieldset>'."\n".'<legend>'.'Consultation taxonomique'.'</legend>'."\n";
$retour .= '<ul>'."\n";
$retour .= '<li><label for="eflore_projet">'.'Projet : '.'</label>'."\n";
$retour .= '<li><label for="eflore_projet">'.'Référenciel : '.'</label>'."\n";
$retour .= '<select id="eflore_projet" name="eflore_projet">'."\n";
$retour .= $this->leBlock->afficherPattern('FORMULAIRE_TAXONOMIQUE>PROJET_VERSION_TOUS','afficherProjets', null, TRUE);
$retour .= '</select></li>'."\n";
$retour .= '<li id="eflore_ordre_li"><label for="eflore_ordre">'.'afficher les taxons : '.'</label>'."\n";
$retour .= '<select id="eflore_ordre" name="eflore_ordre">'."\n";
$retour .= $this->leBlock->afficherPattern('FORMULAIRE_TAXONOMIQUE','afficherOrdre');
$retour .= '</select></li>'."\n";
$retour .= '<li id="eflore_rang_li"><label for="eflore_rang">'.'au rang : '.'</label>'."\n";
$retour .= '<li id="eflore_rang_li"><label for="eflore_rang">'.'Rang : '.'</label>'."\n";
$retour .= '<select id="eflore_rang" name="eflore_rang">'."\n";
$retour .= $this->leBlock->afficherPattern('FORMULAIRE_TAXONOMIQUE','afficherRang');
$retour .= '</select></li>'."\n";
94,6 → 90,7
$retour .= $this->leBlock->afficherPattern('FORMULAIRE_TAXONOMIQUE>TAXON_RECHERCHE','creerAlphabetTaxon');
$retour .= afficherAlphabetTaxon();
$retour .= '</ul>'."\n";
$retour .= '<input id="eflore_ordre" name="eflore_ordre" type="hidden" value="ega" />'."\n";
$retour .= '</fieldset>'."\n";
$retour .= '</form>'."\n";
$retour .= '<!-- END corps -->'."\n";
116,7 → 113,7
} else {
$retour .= ' <option value="'.$donnees['PROJET_VERSION_TOUS']['eprv_id_version'].'">';
}
$retour .= $donnees['PROJET_VERSION_TOUS']['eprv_nom'].' - '.$donnees['PROJET_VERSION_TOUS']['epr_intitule_projet'];
$retour .= $donnees['PROJET_VERSION_TOUS']['eprv_nom'].' ('.$donnees['PROJET_VERSION_TOUS']['eprv_code_version'].') - '.$donnees['PROJET_VERSION_TOUS']['epr_intitule_projet'];
$retour .= '</option>'."\n";
return $retour;
}
145,7 → 142,7
}
return $retour;
}
 
// Fonction afficherOrdre($donnees) inutilisé en mode d'affichage par défaut
function afficherOrdre($donnees)
{
$retour = '';
210,6 → 207,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.7 2005/06/09 18:09:52 jpm
* Début gestion des référenciels dans la recherche nomenclaturale.
*
* Revision 1.6 2005/03/15 15:11:07 jpm
* Ajout d'une sélection par défaut pour le choix de l'ordre.
*
/trunk/serveur/eflore_mv/vues/fiche_synthese_xhtml.php
21,7 → 21,7
// | along with Foobar; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: fiche_synthese_xhtml.php,v 1.8 2005-02-14 18:11:43 jpm Exp $
// CVS : $Id: fiche_synthese_xhtml.php,v 1.9 2005-06-30 15:25:07 jpm Exp $
/**
* Vue affichant la fiche de synthèse d'un nom dans le projet donné
*
35,7 → 35,7
//Autres auteurs :
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.8 $ $Date: 2005-02-14 18:11:43 $
*@version $Revision: 1.9 $ $Date: 2005-06-30 15:25:07 $
// +------------------------------------------------------------------------------------------------------+
*/
 
111,8 → 111,7
}
// Gestion du nom correct
$retour .= '<h2>'.'Nom correct dans le projet courant: ';
$retour .= '</h2>'."\n";
$retour .= '<h2>'.'Nom correct dans le projet courant: '.'</h2>'."\n";
$aso_param['statut_id'] = 3;
$retour .= $this->leBlock->afficherPattern('FICHE_SYNTHESE>TAXON_NOMS>NOM_LATIN','afficherNomCorrect', $aso_param, TRUE);
121,6 → 120,10
$aso_param['statut_id'] = 3;
$retour .= $this->leBlock->afficherPattern('FICHE_SYNTHESE>TAXON_NOMS>NOM_LATIN','afficherRechercheGoogle', $aso_param, TRUE);
// Gestion des taxons supérieurs
$retour .= '<h2>'.'Niveaux taxinomiques supérieurs : '.'</h2>'."\n";
$retour .= $this->leBlock->afficherPattern('FICHE_SYNTHESE','afficherNiveauTaxoSuperieur');
// Gestion de la synonymie
// Gestion des noms dont le statut n'est pas renseigné
$aso_param['statut_id'] = 0;
384,7 → 387,7
$retour = '';
//$retour .= '<pre>'.print_r($donnees, true).'</pre>';
if ($donnees['TAXON_NOMS']['esns_id_statut'] == $aso_param['statut_id']) {
$retour .= '<form method="get" action="http://images.google.fr/images">'."\n";
$retour .= '<form method="get" action="http://images.google.fr/images" target="_blank">'."\n";
$retour .= '<p>'."\n";
$retour .= '<a href="http://www.google.com/" title="Aller sur Google France">'."\n";
$retour .= ' <img src="http://www.google.com/logos/Logo_25wht.gif" alt="Google" />'."\n";
399,7 → 402,13
}
return $retour;
}
 
function afficherNiveauTaxoSuperieur($donnees)
{
$retour = '';
//$retour .= '<pre>'.print_r($donnees, true).'</pre>';
$retour .= 'func_NiveauTaxo('.$donnees['nt'].', '.$donnees['nvp'].')';
return $retour;
}
function afficherSynonyme($donnees, $aso_param)
{
$retour = '';
447,6 → 456,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.8 2005/02/14 18:11:43 jpm
* Amélioration.
*
* Revision 1.7 2005/01/28 19:46:18 jpm
* Amélioration de l'affichage des projets utilisant le noms sélectionné.
*
/trunk/serveur/eflore_mv/vues/recherche_nom_vernaculaire_xhtml.php
21,7 → 21,7
// | along with Foobar; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: recherche_nom_vernaculaire_xhtml.php,v 1.3 2005-06-09 18:09:52 jpm Exp $
// CVS : $Id: recherche_nom_vernaculaire_xhtml.php,v 1.4 2005-06-30 15:25:07 jpm Exp $
/**
* Vue affichant la liste des noms vernaculaire correspondant à un radical recherché.
*
35,7 → 35,7
//Autres auteurs :
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.3 $ $Date: 2005-06-09 18:09:52 $
*@version $Revision: 1.4 $ $Date: 2005-06-30 15:25:07 $
// +------------------------------------------------------------------------------------------------------+
*/
 
42,8 → 42,16
// +------------------------------------------------------------------------------------------------------+
// | ENTETE du PROGRAMME |
// +------------------------------------------------------------------------------------------------------+
/* Inclusion du fichier permettant de gérer l'encodage des noms vernaculaires*/
require_once EFSE_CHEMIN_FONCTION.'eribo_encodage.fonct.php';
$GLOBALS['num_nom_verna'] = 1;
/* Variable stockant le nombre de nom verna actuellement affiché*/
$GLOBALS['_NOM_VERNA_']['num'] = 0;
/* Variable stockant le n° du message à afficher*/
$GLOBALS['_NOM_VERNA_']['message'] = 1;
/* Variable permettant de savoir si on a déjà afficher l'entête du tableau des noms verna*/
$GLOBALS['_NOM_VERNA_']['tete'] = true;
/* Variable permettant de savoir si on a déjà afficher le pied du tableau des noms verna*/
$GLOBALS['_NOM_VERNA_']['pied'] = true;
 
// +------------------------------------------------------------------------------------------------------+
// | CLASSE de la VUE |
59,9 → 67,9
function serialiser()
{
$retour = '<?xml version="1.0" encoding="iso-8859-15" ?>'."\n";
$retour .= '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "../../../commun/generique/dtd/xhtml1-strict.dtd">'."\n";
$retour .= '<html xmlns="http://w ww.w3.org/1999/xhtml" lang="fr" >'."\n";
/*$retour = '<?xml version="1.0" encoding="iso-8859-15" ?>'."\n";*/
$retour = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "../../../commun/generique/dtd/xhtml1-strict.dtd">'."\n";
$retour .= '<html xmlns="http://www.w3.org/1999/xhtml" lang="fr" >'."\n";
$retour .= '<head>'."\n";
$retour .= '<!-- BEGIN entete -->'."\n";
69,7 → 77,7
$retour .= '<meta http-equiv="Content-style-type" content="text/css" />'."\n";
$retour .= '<meta http-equiv="Content-script-type" content="text/javascript />'."\n";
$retour .= '<meta http-equiv="Content-language" content="fr" />'."\n";
$retour .= '<title>Liste de noms latins</title>'."\n";
$retour .= '<title>'.'Liste de noms vernaculaires'.'</title>'."\n";
$retour .= '<!-- END entete -->'."\n";
$retour .= '</head>'."\n";
76,18 → 84,15
$retour .= '<body>'."\n";
$retour .= '<!-- BEGIN corps -->'."\n";
$retour .= '<h1>'.'Liste des noms vernaculaires'.'</h1>'."\n";
$retour .= '<table id="eflore_table_resultat_nv">'."\n";
$retour .= '<caption>';
$retour .= 'Liste des noms vernaculaires correspondant au radical "';
$retour .= '<h2>'.'Résumé de la recherche :'.'</h2>'."\n";
$retour .= '<dl>'."\n";
$retour .= $this->leBlock->afficherPattern('FICHE_LISTE_NOMS_VERNA','afficherRadical');
$retour .= '"</caption>'."\n";
$retour .= '<thead>'."\n";
$retour .= '<tr><th>'.'N°'.'</th><th>'.'Langue'.'</th><th>'.'Pays'.'</th><th>'.'Nom vernaculaire'.'</th><th>'.'Nom latin correspondant'.'</th></tr>'."\n";
$retour .= '</thead>'."\n";
$retour .= '<tbody>'."\n";
$retour .= $this->leBlock->afficherPattern('FICHE_LISTE_NOMS_VERNA>PROJET_VERSION','afficherResumerRecherche');
$retour .= '</dl>'."\n";
$retour .= $this->leBlock->afficherPattern('FICHE_LISTE_NOMS_VERNA>VERNACULAIRE_RECHERCHE','afficherTableEntete');
$retour .= $this->leBlock->afficherPattern('FICHE_LISTE_NOMS_VERNA>VERNACULAIRE_RECHERCHE','afficherNomVerna');
$retour .= '</tbody>'."\n";
$retour .= '</table>'."\n";
$retour .= $this->leBlock->afficherPattern('FICHE_LISTE_NOMS_VERNA>VERNACULAIRE_RECHERCHE','afficherTablePied');
$retour .= afficherMessage();
$retour .= '<!-- END corps -->'."\n";
$retour .= '</body>'."\n";
$retour .= '</html>'."\n";
102,27 → 107,77
// +------------------------------------------------------------------------------------------------------+
function afficherRadical($donnees)
{
return $donnees['radical'];
//$retour = '<pre>'.print_r($donnees, true).'</pre>';
$retour = '<dt>'.'Radical : '.'</dt>'."\n";
$retour .= '<dd>'.$donnees['radical'].'</dd>'."\n";
return $retour;
}
 
function afficherResumerRecherche($donnees)
{
//$retour .= '<pre>'.print_r($donnees, true).'</pre>';
$retour = '';
if (!empty($donnees['epr_intitule_projet'])) {
$retour .= '<dt>'.'Référentiel : '.'</dt>'."\n";
$retour .= '<dd>'.$donnees['epr_intitule_projet'].' - Version : '.$donnees['eprv_code_version'].'</dd>'."\n";
}
return $retour;
}
function afficherTableEntete($donnees)
{
$retour = '';
if (isset($donnees['ev_id_nom_vernaculaire']) AND $GLOBALS['_NOM_VERNA_']['tete'] == true) {
$GLOBALS['_NOM_VERNA_']['tete'] = false;
$retour .= '<table id="eflore_table_resultat_nv">'."\n";
$retour .= '<caption>'.'Liste des noms vernaculaires correspondant au radical recherché'.'</caption>'."\n";
$retour .= '<thead>'."\n";
$retour .= '<tr><th>'.'N°'.'</th><th>'.'Langue'.'</th><th>'.'Pays'.'</th><th>'.'Nom vernaculaire'.'</th><th>'.'Nom latin correspondant'.'</th></tr>'."\n";
$retour .= '</thead>'."\n";
$retour .= '<tbody>'."\n";
}
return $retour;
}
function afficherNomVerna($donnees)
{
$retour .= '<tr>'."\n";
$retour .= '<td>'.$GLOBALS['num_nom_verna']++.'</td>'."\n";
$retour .= '<td><abbr title="'.$donnees['ezg_intitule_principal_zg'].'">'.$donnees['ezg_code_zg'].'</abbr></td>'."\n";
$retour .= '<td><abbr title="'.$donnees['el_nom_langue_principal'].'">'.$donnees['el_code_langue'].'</abbr></td>'."\n";
$retour .= '<td>'.$donnees['ev_intitule_nom_vernaculaire'].'</td>'."\n";
if (isset($donnees['esn_ce_statut'])) {
if ($donnees['esn_ce_statut'] == 3) {//Nom retenu
$retour .= '<td><strong><a href="func_UrlFicheNom('.$donnees['en_id_nom'].', '.$donnees['et_id_version_projet_taxon'].')">'.$donnees['eni_intitule_nom'].'</a></strong></td>';
} else {
$retour .= '<td><a href="func_UrlFicheNom('.$donnees['en_id_nom'].', '.$donnees['esn_id_version_projet_taxon'].')">'.$donnees['eni_intitule_nom'].'</a></td>';
$retour = '';
//$retour .= '<pre>'.print_r($donnees, true).'</pre>';
if (isset($donnees['ev_id_nom_vernaculaire'])) {
$GLOBALS['_NOM_VERNA_']['message'] = 0;
$retour .= '<tr>'."\n";
$retour .= '<td>'.++$GLOBALS['_NOM_VERNA_']['num'].'</td>'."\n";
$retour .= '<td><abbr title="'.$donnees['ezg_intitule_principal_zg'].'">'.$donnees['ezg_code_zg'].'</abbr></td>'."\n";
$retour .= '<td><abbr title="'.$donnees['el_nom_langue_principal'].'">'.$donnees['el_code_langue'].'</abbr></td>'."\n";
$retour .= '<td>'.$donnees['ev_intitule_nom_vernaculaire'].'</td>'."\n";
if (isset($donnees['esn_ce_statut'])) {
if ($donnees['esn_ce_statut'] == 3) {//Nom retenu
$retour .= '<td><strong><a href="func_UrlFicheNom('.$donnees['en_id_nom'].', '.$donnees['esn_id_version_projet_taxon'].')">'.$donnees['eni_intitule_nom'].'</a></strong></td>';
} else {
$retour .= '<td><a href="func_UrlFicheNom('.$donnees['en_id_nom'].', '.$donnees['esn_id_version_projet_taxon'].')">'.$donnees['eni_intitule_nom'].'</a></td>';
}
}
$retour .= '</tr>'."\n";
}
$retour .= '</tr>'."\n";
return $retour;
}
 
function afficherTablePied($donnees)
{
$retour = '';
if (isset($donnees['ev_id_nom_vernaculaire']) AND $GLOBALS['_NOM_VERNA_']['pied'] == true) {
$GLOBALS['_NOM_VERNA_']['pied'] = false;
$retour .= '</tbody>'."\n";
$retour .= '</table>'."\n";
}
return $retour;
}
function afficherMessage($donnees = array())
{
$retour = '';
if ($GLOBALS['_NOM_VERNA_']['message'] == 1 AND $GLOBALS['_NOM_VERNA_']['num'] == 0) {
$retour .= '<p class="information">'.'Les noms vernaculaires de ce référentiel n\'ont pas encore été renseignés!'.'</p>'."\n";
} elseif ($GLOBALS['_NOM_VERNA_']['num'] == 0) {
$retour .= '<p class="information">'.'Aucun nom vernaculaire ne correspond à ce radical!'.'</p>'."\n";
}
return $retour;
}
// +------------------------------------------------------------------------------------------------------+
// | PIED du PROGRAMME |
// +------------------------------------------------------------------------------------------------------+
131,6 → 186,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.3 2005/06/09 18:09:52 jpm
* Début gestion des référenciels dans la recherche nomenclaturale.
*
* Revision 1.2 2005/01/28 19:47:09 jpm
* Amélioration du rendu par ajout d'entité à la place des caractères posant pb et changement de l'encodage.
*
/trunk/serveur/eflore_mv/modeles/macro_elements/PROJET_VERSION_TOUS.php
7,6 → 7,7
'SELECT DISTINCT
version.eprv_id_version,
version.eprv_nom,
version.eprv_code_version,
projet.epr_id_projet,
projet.epr_intitule_projet,
projet.epr_abreviation_projet
/trunk/serveur/eflore_mv/modeles/macro_elements/PROJET_VERSION.php
3,6 → 3,7
function getSQL()
{
$contexte = array();
echo '<pre>'.print_r($this->contexteRef, true).'</pre>';
if (array_key_exists('nvp', $this->contexteRef)) {
$contexte['nvp'] = $this->contexteRef['nvp'];
if (!empty($contexte['nvp'])) {
/trunk/serveur/eflore_mv/modeles/macro_elements/VERNACULAIRE_RECHERCHE.php
3,6 → 3,60
function getSQL()
{
$contexte = array();
echo '<pre>'.print_r($this->contexteRef, true).'</pre>';
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['radical']) AND !empty($contexte['nvp'])) {
return
'SELECT DISTINCT
langue.el_nom_langue_principal,
langue.el_code_langue,
zg.ezg_intitule_principal_zg,
zg.ezg_code_zg,
vernaculaire.ev_id_nom_vernaculaire,
vernaculaire.ev_intitule_nom_vernaculaire,
selection.esn_id_version_projet_taxon,
selection.esn_ce_statut,
intitule.eni_intitule_nom,
nom.en_id_nom
FROM
eflore_langue AS langue,
eflore_zg AS zg,
eflore_vernaculaire AS vernaculaire,
eflore_vernaculaire_attribution AS attribution,
eflore_selection_nom AS selection,
eflore_nom AS nom,
eflore_nom_intitule AS intitule
WHERE
vernaculaire.ev_intitule_nom_vernaculaire LIKE "'.$contexte['radical'].'"
AND attribution.eva_ce_zone_geo = zg.ezg_id_zone_geo
AND attribution.eva_ce_version_projet_zg = zg.ezg_id_version_projet_zg
AND vernaculaire.ev_ce_langue = langue.el_id_langue
AND vernaculaire.ev_ce_version_projet_langue = langue.el_id_version_projet_langue
AND attribution.eva_id_nom_vernaculaire = vernaculaire.ev_id_nom_vernaculaire
AND attribution.eva_id_version_projet_taxon_ref = '.$contexte['nvp'].'
AND selection.esn_ce_statut = 3
AND selection.esn_id_version_projet_taxon = attribution.eva_id_version_projet_taxon_ref
AND selection.esn_id_taxon = attribution.eva_id_taxon_ref
AND nom.en_id_nom = selection.esn_id_nom
AND intitule.eni_id_nom = nom.en_id_nom
AND intitule.eni_id_valeur_format = 4
AND intitule.eni_id_categorie_format = 3
AND nom.en_id_nom NOT IN
(
SELECT nom_relation.enr_id_nom_1
FROM eflore_nom_relation AS nom_relation
WHERE nom_relation.enr_id_nom_1 = nom_relation.enr_id_nom_2
AND nom_relation.enr_id_categorie_relation = 10
AND nom_relation.enr_id_valeur_relation = 3
)
ORDER BY vernaculaire.ev_intitule_nom_vernaculaire ASC';
}
}
if (array_key_exists('radical', $this->contexteRef)) {
$contexte['radical'] = $this->contexteRef['radical'];
if(!empty($contexte['radical'])) {
/trunk/serveur/eflore_mv/modeles/macro_elements/TAXON_SUPERIEUR.php
New file
0,0 → 1,39
<?php
class TAXON_SUPERIEUR extends macroElement {
function getSQL()
{
$contexte = array();
if (array_key_exists('nvp', $this->contexteRef) and array_key_exists('nt', $this->contexteRef)) {
$contexte['nvp'] = $this->contexteRef['nvp'];
$contexte['nt'] = $this->contexteRef['nt'];
if (!empty($contexte['nvp']) && !empty($contexte['nt'])) {
$requete =
'SELECT DISTINCT
nom.en_id_nom,
nom.en_ce_rang,
relation.etr_id_version_projet_taxon_2,
relation.etr_id_taxon_2
FROM
eflore_nom AS nom,
eflore_selection_nom AS selection,
eflore_taxon_relation AS relation
WHERE
nom.en_id_nom = selection.esn_id_nom
AND selection.esn_ce_statut = 3
AND selection.esn_id_version_projet_taxon = relation.etr_id_version_projet_taxon_2
AND selection.esn_id_taxon = relation.etr_id_taxon_2
AND relation.etr_id_version_projet_taxon_1 = '.$contexte['nvp'].'
AND relation.etr_id_taxon_1 = '.$contexte['nt'].'
AND relation.etr_id_categorie_taxon = 3
AND relation.etr_id_valeur_taxon = 3 ';
return $requete;
}
}
return null;
}
}
?>
/trunk/serveur/eflore_mv/modeles/macro_elements/NOM_RECHERCHE.php
3,10 → 3,10
function getSQL()
{
$contexte = array();
if (array_key_exists('radical', $this->contexteRef) and array_key_exists('rang', $this->contexteRef) ) {
if (array_key_exists('radical', $this->contexteRef) AND array_key_exists('rang', $this->contexteRef) ) {
$contexte['radical'] = $this->contexteRef['radical'];
$contexte['rang'] = $this->contexteRef['rang'];
if(!empty($contexte['radical']) and !empty($contexte['rang']) ) {
if(!empty($contexte['radical']) AND !empty($contexte['rang']) ) {
return
'SELECT
nom.en_id_nom,
48,10 → 48,10
AND nom.en_ce_rang = '.$contexte['rang'];
}
}
if (array_key_exists('radical', $this->contexteRef) and array_key_exists('nvp', $this->contexteRef) ) {
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']) ) {
if(!empty($contexte['radical']) AND !empty($contexte['nvp']) ) {
return
'SELECT
nom.*,
/trunk/serveur/eflore_mv/modeles/groupes_macro_elements/recherchetaxonsup.php
New file
0,0 → 1,39
<?php
class recherchetaxonsup extends groupeMacroElement {
function __construct($une_connexion)
{
parent::__construct($une_connexion);
}
function construire()
{
$this->dblock = new blockdedonnees('FICHE_TAXON_SUPERIEUR');
// Numéro de version du projet
if (array_key_exists('nvp', $_REQUEST)) {
$this->dblock->ajouterDonnee('nvp', $_REQUEST['nvp']);
}
// Ordre
if (array_key_exists('nt', $_REQUEST)) {
$this->dblock->ajouterDonnee('nt', $_REQUEST['nt']);
}
$this->construireContexte();
$this->ajouterMacroElement();
}
function construireContexte()
{
}
function ajouterMacroElement()
{
$un_macro_element = $this->macroElementFactory('TAXON_SUPERIEUR', $this->dblock);
$un_macro_element->construire();
//echo '<pre>'.print_r($this->dblock, true).'</pre>';
}
}
?>
/trunk/serveur/eflore_mv/modeles/groupes_macro_elements/recherchenomverna.php
30,6 → 30,8
function ajouterMacroElement()
{
$un_macro_element = $this->macroElementFactory('PROJET_VERSION', $this->dblock);
$un_macro_element->construire();
$un_macro_element = $this->macroElementFactory('VERNACULAIRE_RECHERCHE', $this->dblock);
$un_macro_element->construire();
}
/trunk/serveur/eflore_mv/eflore_services.map
5,6 → 5,7
recherche_verna recherchenomverna recherche_nom_vernaculaire_xhtml null 0 null
recherche_taxon recherchetaxon recherche_taxon_xhtml null 0 null
recherche_classif rechercheclassification recherche_classif_xhtml null 0 null
recherche_taxon_sup recherchetaxonsup recherche_taxon_sup_xml null 0 null
fiche_synthese fichesynthese fiche_synthese_xhtml null 0 null
form_taxon formulairetaxonomique formulaire_taxonomique_xhtml null 0 null
form_nom formulairenomenclatural formulaire_nomenclatural_xhtml null 0 null
/trunk/langues/eflore_langue_fr.inc.php
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/trunk/eflore.php
21,7 → 21,7
// | along with Foobar; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: eflore.php,v 1.8 2005-02-15 12:59:58 jpm Exp $
// CVS : $Id: eflore.php,v 1.9 2005-06-30 15:24:26 jpm Exp $
/**
* Application de consultation des données d'eFlore.
*
38,7 → 38,7
//Autres auteurs :
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.8 $ $Date: 2005-02-15 12:59:58 $
*@version $Revision: 1.9 $ $Date: 2005-06-30 15:24:26 $
// +------------------------------------------------------------------------------------------------------+
*/
 
99,9 → 99,9
// +--------------------------------------------------------------------------------------------------+
// Initialisation
/** Definition de la variable globale d'eFlore contenant la connexion à la base de données.*/
$GLOBALS['_EFLORE_']['bdd']= DB::connect(EFLORE_DSN);
//$GLOBALS['_EFLORE_']['bdd']= DB::connect(EFLORE_DSN);
// Allias temporaire
$GLOBALS['db_eflore']= $GLOBALS['_EFLORE_']['bdd'];
//$GLOBALS['db_eflore']= $GLOBALS['_EFLORE_']['bdd'];
$sortie = '';
// +--------------------------------------------------------------------------------------------------+
153,7 → 153,7
 
function afficherContenuPied()
{
$sortie = '<p id="eflore_pied_page">'.EFLORE_LG_PIED.'</p>';
$sortie = '<p id="eflore_pied_page">'.EFLORE_LG_PIED.'<a href="mailto:'.EFLORE_LG_PIED_MAIL.'">'.EFLORE_LG_PIED_MAIL.'</a>'.EFLORE_LG_POINT.'</p>';
return $sortie;
}
 
165,6 → 165,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.8 2005/02/15 12:59:58 jpm
* Récupération d'info depuis _REQUEST au lieu de _POST.
*
* Revision 1.7 2005/01/28 19:47:55 jpm
* Ajout de la recherche pour les taxons.
*
/trunk/eflore_recherche.inc.php
21,7 → 21,7
// | along with Foobar; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: eflore_recherche.inc.php,v 1.3 2005-01-28 19:47:55 jpm Exp $
// CVS : $Id: eflore_recherche.inc.php,v 1.4 2005-06-30 15:24:26 jpm Exp $
/**
* Affichage des moteurs de recherches d'eFlore.
*
34,7 → 34,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.3 $ $Date: 2005-01-28 19:47:55 $
*@version $Revision: 1.4 $ $Date: 2005-06-30 15:24:26 $
// +------------------------------------------------------------------------------------------------------+
*/
 
51,7 → 51,7
// Recherche nomenclaturale ou taxonomique
$sortie .= '<h1>'.EFLORE_LG_RECH_TITRE.'</h1>'."\n";
include_once EFLORE_CHEMIN_APPLI.'eflore_recherche_nomenclature.inc.php';
include_once EFLORE_CHEMIN_APPLI.'eflore_recherche_taxonomie.inc.php';
//include_once EFLORE_CHEMIN_APPLI.'eflore_recherche_taxonomie.inc.php';
 
$sortie .= '<div id="eflore_exemples">'."\n";
$sortie .= '<h2>'.EFLORE_LG_EXPLE_TITRE.'</h2>'."\n";
73,20 → 73,23
$sortie .= ' <li>'.EFLORE_LG_EXPLE_EN.'</li>'."\n";
$sortie .= ' <li>'.EFLORE_LG_EXPLE_NL.'</li>'."\n";
$sortie .= ' <li>'.EFLORE_LG_EXPLE_IT.'</li>'."\n";
$sortie .= ' <li>'.EFLORE_LG_EXPLE_ETC.'</li>'."\n";
$sortie .= ' <li>'.EFLORE_LG_ETC.'</li>'."\n";
$sortie .= '</ul>'."\n";
$sortie .= '</div>'."\n";
 
/*
$sortie .= '<div id="eflore_exemple_taxo">'."\n";
$sortie .= '<h3>'.EFLORE_LG_EXPLE_TITRE_TAXO.'</h3>'."\n";
$sortie .= '<p>'.EFLORE_LG_EXPLE_TAXO.'</p>'."\n";
$sortie .= '</div>'."\n";
 
*/
$sortie .= '</div>'."\n";
 
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.3 2005/01/28 19:47:55 jpm
* Ajout de la recherche pour les taxons.
*
* Revision 1.2 2005/01/03 19:44:40 jpm
* Ajout de la gestion de l'action "fiche".
*
/trunk/eflore_recherche_taxonomie.inc.php
21,7 → 21,7
// | along with Foobar; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: eflore_recherche_taxonomie.inc.php,v 1.3 2005-02-15 13:00:51 jpm Exp $
// CVS : $Id: eflore_recherche_taxonomie.inc.php,v 1.4 2005-06-30 15:24:26 jpm Exp $
/**
* Affichage du moteur de recherche taxonomique et de ses résultats.
*
34,7 → 34,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.3 $ $Date: 2005-02-15 13:00:51 $
*@version $Revision: 1.4 $ $Date: 2005-06-30 15:24:26 $
// +------------------------------------------------------------------------------------------------------+
*/
 
121,7 → 121,7
 
// --------------------------------------------------------------------------------------------------------
// Lancement de la recherche
if (isset($_REQUEST['eflore_lettre'])) {
if (isset($_REQUEST['eflore_taxonomie_submit'])) {
//Constitution du chemin de navigation dans la classification
if (isset($_REQUEST[EFLORE_LG_URL_NT])) {
if (!isset($_SESSION['eflore_classif'][$_REQUEST[EFLORE_LG_URL_NT]])) {
176,6 → 176,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.3 2005/02/15 13:00:51 jpm
* Ajout de la possibilité de naviguer dans la classification.
*
* Revision 1.2 2005/01/28 19:47:55 jpm
* Ajout de la recherche pour les taxons.
*
/trunk/configuration/eflore_config.inc.php
21,7 → 21,7
// | along with Foobar; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: eflore_config.inc.php,v 1.9 2005-06-09 18:10:25 jpm Exp $
// CVS : $Id: eflore_config.inc.php,v 1.10 2005-06-30 15:24:26 jpm Exp $
/**
* Fichier de configuration d'eFlore.
*
34,7 → 34,7
//Autres auteurs :
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.9 $ $Date: 2005-06-09 18:10:25 $
*@version $Revision: 1.10 $ $Date: 2005-06-30 15:24:26 $
// +------------------------------------------------------------------------------------------------------+
*/
 
79,6 → 79,8
define('EFLORE_URL_LISTE_NOM_LATIN_REF', EFLORE_URL_ERIBO.'?cle=recherche_latin&radical=%s&nvp=%s');
/** Constante stockant l'url pour obtenir une liste de noms à partir d'un radical de nom vernaculaire.*/
define('EFLORE_URL_LISTE_NOM_VERNA', EFLORE_URL_ERIBO.'?cle=recherche_verna&radical=%s');
/** Constante stockant l'url pour obtenir une liste de noms à partir d'un radical de nom vernaculaire pour un projet donné.*/
define('EFLORE_URL_LISTE_NOM_VERNA_REF', EFLORE_URL_ERIBO.'?cle=recherche_verna&radical=%s&nvp=%s');
/** Constante stockant l'url pour obtenir une synthèse sur un nom scientifique.*/
define('EFLORE_URL_FICHE_SYNTHESE', EFLORE_URL_ERIBO.'?cle=fiche_synthese&nn=%s');
/** Constante stockant l'url pour obtenir une synthèse sur un nom scientifique pour un projet donné.*/
93,6 → 95,8
define('EFLORE_URL_LISTE_TAXON', EFLORE_URL_ERIBO.'?cle=recherche_taxon&nvp=%s&rg=%s&od=%s&le=%s');
/** Constante stockant l'url pour obtenir une liste des taxons fils d'un taxon.*/
define('EFLORE_URL_LISTE_CLASSIF', EFLORE_URL_ERIBO.'?cle=recherche_classif&nvp=%s&nt=%s');
/** Constante stockant l'url pour obtenir des infos sur le taxon supérieur dans la classification.*/
define('EFLORE_URL_TAXON_SUP', EFLORE_URL_ERIBO.'?cle=recherche_taxon_sup&nt=%s&nvp=%s');
 
// +------------------------------------------------------------------------------------------------------+
// Définition de la langue
114,6 → 118,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.9 2005/06/09 18:10:25 jpm
* Début gestion des sessions dans la recherche nomenclaturale.
*
* Revision 1.8 2005/02/15 13:33:25 jpm
* Suppression des constantes les infos de connexion à la base de données. Inutile puisque l'on utilise le serveur eRibo.
*