| 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.5 2004-12-23 20:05:17 jpm Exp $
|
24 |
// CVS : $Id: eflore.php,v 1.6 2005-01-03 19:44:40 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.5 $ $Date: 2004-12-23 20:05:17 $
|
41 |
*@version $Revision: 1.6 $ $Date: 2005-01-03 19:44:40 $
|
| 42 |
// +------------------------------------------------------------------------------------------------------+
|
42 |
// +------------------------------------------------------------------------------------------------------+
|
| 43 |
*/
|
43 |
*/
|
| Line 44... |
Line 44... |
| 44 |
|
44 |
|
| 45 |
// +------------------------------------------------------------------------------------------------------+
|
45 |
// +------------------------------------------------------------------------------------------------------+
|
| Line 72... |
Line 72... |
| 72 |
|
72 |
|
| 73 |
function afficherContenuTete()
|
73 |
function afficherContenuTete()
|
| 74 |
{
|
74 |
{
|
| 75 |
// Transférer tout ceci dans la fonction afficherContenuNavigation().
|
75 |
// Transférer tout ceci dans la fonction afficherContenuNavigation().
|
| - |
|
76 |
$sortie = '';
|
| - |
|
77 |
if (isset($_GET[EFLORE_LG_URL_NN])) {
|
| - |
|
78 |
$GLOBALS['_EFLORE_']['url']->addQueryString(EFLORE_LG_URL_NN, $_GET[EFLORE_LG_URL_NN]);
|
| 76 |
$sortie = '';
|
79 |
$GLOBALS['_EFLORE_']['url']->addQueryString(EFLORE_LG_URL_ACTION, $_GET[EFLORE_LG_URL_ACTION]);
|
| 77 |
$sortie .= '<ul class="menu_n3">';
|
80 |
$sortie .= '<ul class="menu_n3">';
|
| 78 |
$GLOBALS['_EFLORE_']['objet_pear_url']->addQueryString(EFLORE_LG_URL_ONGLET, EFLORE_LG_URL_ONGLET_SYNTHESE);
|
81 |
$GLOBALS['_EFLORE_']['url']->addQueryString(EFLORE_LG_URL_ONGLET, EFLORE_LG_URL_ONGLET_SYNTHESE);
|
| 79 |
$sortie .= '<li><a href="'.$GLOBALS['_EFLORE_']['objet_pear_url']->getURL().'">'.EFLORE_LG_ONGLET_PRINCIPAL.'</a></li>';
|
82 |
$sortie .= '<li><a href="'.$GLOBALS['_EFLORE_']['url']->getURL().'">'.EFLORE_LG_ONGLET_PRINCIPAL.'</a></li>';
|
| 80 |
$GLOBALS['_EFLORE_']['objet_pear_url']->removeQueryString(EFLORE_LG_URL_ONGLET);
|
83 |
$GLOBALS['_EFLORE_']['url']->removeQueryString(EFLORE_LG_URL_ONGLET);
|
| 81 |
$GLOBALS['_EFLORE_']['objet_pear_url']->addQueryString(EFLORE_LG_URL_ONGLET, EFLORE_LG_URL_PHOTO);
|
84 |
$GLOBALS['_EFLORE_']['url']->addQueryString(EFLORE_LG_URL_ONGLET, EFLORE_LG_URL_ONGLET_ILLUSTRATION);
|
| 82 |
$sortie .= '<li><a href="'.$GLOBALS['_EFLORE_']['objet_pear_url']->getURL().'">'.EFLORE_LG_ONGLET_ILLUSTRATION.'</a></li>';
|
85 |
$sortie .= '<li><a href="'.$GLOBALS['_EFLORE_']['url']->getURL().'">'.EFLORE_LG_ONGLET_ILLUSTRATION.'</a></li>';
|
| 83 |
$GLOBALS['_EFLORE_']['objet_pear_url']->removeQueryString(EFLORE_LG_URL_ONGLET);
|
86 |
$GLOBALS['_EFLORE_']['url']->removeQueryString(EFLORE_LG_URL_ONGLET);
|
| - |
|
87 |
$sortie .= '</ul>';
|
| 84 |
$sortie .= '</ul>';
|
88 |
}
|
| 85 |
return $sortie;
|
89 |
return $sortie;
|
| Line 86... |
Line 90... |
| 86 |
}
|
90 |
}
|
| 87 |
|
91 |
|
| Line 95... |
Line 99... |
| 95 |
$GLOBALS['db_eflore']= $GLOBALS['_EFLORE_']['bdd'];
|
99 |
$GLOBALS['db_eflore']= $GLOBALS['_EFLORE_']['bdd'];
|
| 96 |
$sortie = '';
|
100 |
$sortie = '';
|
| Line 97... |
Line 101... |
| 97 |
|
101 |
|
| 98 |
// +--------------------------------------------------------------------------------------------------+
|
102 |
// +--------------------------------------------------------------------------------------------------+
|
| 99 |
// Gestion des actions
|
103 |
// Gestion des actions
|
| 100 |
if (isset($_GET[EFLORE_LG_URL_ACTION])) {
|
104 |
if (isset($_REQUEST[EFLORE_LG_URL_ACTION])) {
|
| 101 |
switch ($_GET[EFLORE_LG_URL_ACTION]) {
|
105 |
switch ($_REQUEST[EFLORE_LG_URL_ACTION]) {
|
| 102 |
case 'nomenclature':
|
106 |
case EFLORE_LG_URL_ACTION_RECH_NOM :
|
| 103 |
include_once EFLORE_CHEMIN_APPLI.'eflore_recherche_nomenclature.inc.php';
|
107 |
include_once EFLORE_CHEMIN_APPLI.'eflore_recherche_nomenclature.inc.php';
|
| 104 |
break;
|
108 |
break;
|
| 105 |
case 'taxonomique':
|
109 |
case EFLORE_LG_URL_ACTION_RECH_TAX :
|
| 106 |
include_once EFLORE_CHEMIN_APPLI.'eflore_recherche_taxonomique.inc.php';
|
110 |
include_once EFLORE_CHEMIN_APPLI.'eflore_recherche_taxonomique.inc.php';
|
| 107 |
break;
|
111 |
break;
|
| 108 |
case 'fiche':
|
112 |
case EFLORE_LG_URL_ACTION_FICHE :
|
| 109 |
include_once EFLORE_CHEMIN_APPLI.'eflore_fiche.inc.php';
|
113 |
include_once EFLORE_CHEMIN_APPLI.'eflore_fiche.inc.php';
|
| - |
|
114 |
break;
|
| - |
|
115 |
default:
|
| 110 |
break;
|
116 |
include_once EFLORE_CHEMIN_APPLI.'eflore_recherche.inc.php';
|
| 111 |
}
|
117 |
}
|
| 112 |
} else {
|
118 |
} else {
|
| 113 |
include_once EFLORE_CHEMIN_APPLI.'eflore_recherche.inc.php';
|
119 |
include_once EFLORE_CHEMIN_APPLI.'eflore_recherche.inc.php';
|
| Line 149... |
Line 155... |
| 149 |
|
155 |
|
| 150 |
|
156 |
|
| 151 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
157 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
| - |
|
158 |
*
|
| - |
|
159 |
* $Log: not supported by cvs2svn $
|
| - |
|
160 |
* Revision 1.5 2004/12/23 20:05:17 jpm
|
| 152 |
*
|
161 |
* Début prise en maine eflore-consultation.
|
| 153 |
* $Log: not supported by cvs2svn $
|
162 |
*
|
| 154 |
*
|
163 |
*
|
| 155 |
* +-- Fin du code ----------------------------------------------------------------------------------------+
|
164 |
* +-- Fin du code ----------------------------------------------------------------------------------------+
|
| 156 |
*/
|
165 |
*/
|