Line 19... |
Line 19... |
19 |
// | |
|
19 |
// | |
|
20 |
// | You should have received a copy of the GNU General Public License |
|
20 |
// | You should have received a copy of the GNU General Public License |
|
21 |
// | along with Foobar; if not, write to the Free Software |
|
21 |
// | along with Foobar; if not, write to the Free Software |
|
22 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
22 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
23 |
// +------------------------------------------------------------------------------------------------------+
|
23 |
// +------------------------------------------------------------------------------------------------------+
|
24 |
// CVS : $Id: eflore.php,v 1.6 2005-01-03 19:44:40 jpm Exp $
|
24 |
// CVS : $Id: eflore.php,v 1.7 2005-01-28 19:47:55 jpm Exp $
|
25 |
/**
|
25 |
/**
|
26 |
* Application de consultation des données d'eFlore.
|
26 |
* Application de consultation des données d'eFlore.
|
27 |
*
|
27 |
*
|
28 |
* Moteur de recherche aboutissant à une page contenant la fiche d'un nom.
|
28 |
* Moteur de recherche aboutissant à une page contenant la fiche d'un nom.
|
29 |
* Plusieurs onglets sont alors disponiblent, chacun affichant des infos spécifiques
|
29 |
* Plusieurs onglets sont alors disponiblent, chacun affichant des infos spécifiques
|
Line 36... |
Line 36... |
36 |
//Auteur original :
|
36 |
//Auteur original :
|
37 |
*@author Linda ANGAMA <linda_angama@yahoo.fr>
|
37 |
*@author Linda ANGAMA <linda_angama@yahoo.fr>
|
38 |
//Autres auteurs :
|
38 |
//Autres auteurs :
|
39 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
39 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
40 |
*@copyright Tela-Botanica 2000-2004
|
40 |
*@copyright Tela-Botanica 2000-2004
|
41 |
*@version $Revision: 1.6 $ $Date: 2005-01-03 19:44:40 $
|
41 |
*@version $Revision: 1.7 $ $Date: 2005-01-28 19:47:55 $
|
42 |
// +------------------------------------------------------------------------------------------------------+
|
42 |
// +------------------------------------------------------------------------------------------------------+
|
43 |
*/
|
43 |
*/
|
Line 44... |
Line 44... |
44 |
|
44 |
|
45 |
// +------------------------------------------------------------------------------------------------------+
|
45 |
// +------------------------------------------------------------------------------------------------------+
|
Line 58... |
Line 58... |
58 |
require_once 'Net/URL.php';
|
58 |
require_once 'Net/URL.php';
|
Line 59... |
Line 59... |
59 |
|
59 |
|
60 |
// Ajout d'une feuille de style propre à eFlore.
|
60 |
// Ajout d'une feuille de style propre à eFlore.
|
Line -... |
Line 61... |
- |
|
61 |
GEN_stockerStyleExterne('eflore', EFLORE_CHEMIN_STYLE.'eflore.css');
|
- |
|
62 |
|
- |
|
63 |
// Attribution à la variable de session des recherches effectuées
|
- |
|
64 |
if (isset($_POST['eflore_form_nomenclature']) || isset($_POST['eflore_form_taxonomie'])) {
|
- |
|
65 |
$_SESSION['_EFLORE_']['rechercher'] = $_POST;
|
61 |
GEN_stockerStyleExterne('eflore', EFLORE_CHEMIN_STYLE.'eflore.css');
|
66 |
}
|
62 |
|
67 |
|
63 |
// +------------------------------------------------------------------------------------------------------+
|
68 |
// +------------------------------------------------------------------------------------------------------+
|
Line 64... |
Line 69... |
64 |
// | CORPS du PROGRAMME |
|
69 |
// | CORPS du PROGRAMME |
|
Line 105... |
Line 110... |
105 |
switch ($_REQUEST[EFLORE_LG_URL_ACTION]) {
|
110 |
switch ($_REQUEST[EFLORE_LG_URL_ACTION]) {
|
106 |
case EFLORE_LG_URL_ACTION_RECH_NOM :
|
111 |
case EFLORE_LG_URL_ACTION_RECH_NOM :
|
107 |
include_once EFLORE_CHEMIN_APPLI.'eflore_recherche_nomenclature.inc.php';
|
112 |
include_once EFLORE_CHEMIN_APPLI.'eflore_recherche_nomenclature.inc.php';
|
108 |
break;
|
113 |
break;
|
109 |
case EFLORE_LG_URL_ACTION_RECH_TAX :
|
114 |
case EFLORE_LG_URL_ACTION_RECH_TAX :
|
110 |
include_once EFLORE_CHEMIN_APPLI.'eflore_recherche_taxonomique.inc.php';
|
115 |
include_once EFLORE_CHEMIN_APPLI.'eflore_recherche_taxonomie.inc.php';
|
111 |
break;
|
116 |
break;
|
112 |
case EFLORE_LG_URL_ACTION_FICHE :
|
117 |
case EFLORE_LG_URL_ACTION_FICHE :
|
113 |
include_once EFLORE_CHEMIN_APPLI.'eflore_fiche.inc.php';
|
118 |
include_once EFLORE_CHEMIN_APPLI.'eflore_fiche.inc.php';
|
114 |
break;
|
119 |
break;
|
115 |
default:
|
120 |
default:
|
116 |
include_once EFLORE_CHEMIN_APPLI.'eflore_recherche.inc.php';
|
121 |
include_once EFLORE_CHEMIN_APPLI.'eflore_recherche.inc.php';
|
117 |
}
|
122 |
}
|
118 |
} else {
|
123 |
} else {
|
119 |
include_once EFLORE_CHEMIN_APPLI.'eflore_recherche.inc.php';
|
124 |
include_once EFLORE_CHEMIN_APPLI.'eflore_recherche.inc.php';
|
120 |
}
|
125 |
}
|
- |
|
126 |
// +--------------------------------------------------------------------------------------------------+
|
- |
|
127 |
// Gestion des statistiques
|
- |
|
128 |
// A faire...
|
Line 121... |
Line 129... |
121 |
|
129 |
|
122 |
// +--------------------------------------------------------------------------------------------------+
|
130 |
// +--------------------------------------------------------------------------------------------------+
|
123 |
// Gestion des onglets à transférer dans le fichier fiche!
|
131 |
// Gestion des onglets à transférer dans le fichier fiche!
|
124 |
/** Inclusion des fonctions de l'application eflore. */
|
132 |
/** Inclusion des fonctions de l'application eflore. */
|
Line 155... |
Line 163... |
155 |
|
163 |
|
156 |
|
164 |
|
157 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
165 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
- |
|
166 |
*
|
- |
|
167 |
* $Log: not supported by cvs2svn $
|
- |
|
168 |
* Revision 1.6 2005/01/03 19:44:40 jpm
|
158 |
*
|
169 |
* Ajout de la gestion de l'action "fiche".
|
159 |
* $Log: not supported by cvs2svn $
|
170 |
*
|
160 |
* Revision 1.5 2004/12/23 20:05:17 jpm
|
171 |
* Revision 1.5 2004/12/23 20:05:17 jpm
|
161 |
* Début prise en maine eflore-consultation.
|
172 |
* Début prise en maine eflore-consultation.
|
162 |
*
|
173 |
*
|