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: recherche_nom_vernaculaire_xhtml.php,v 1.1 2005-01-26 10:45:33 jpm Exp $
|
24 |
// CVS : $Id: recherche_nom_vernaculaire_xhtml.php,v 1.2 2005-01-28 19:47:09 jpm Exp $
|
25 |
/**
|
25 |
/**
|
26 |
* Vue affichant la liste des noms vernaculaire correspondant à un radical recherché.
|
26 |
* Vue affichant la liste des noms vernaculaire correspondant à un radical recherché.
|
27 |
*
|
27 |
*
|
28 |
* Permet de retourner le html correspondant à la liste des noms vernaculaires correspondant à un radical
|
28 |
* Permet de retourner le html correspondant à la liste des noms vernaculaires correspondant à un radical
|
29 |
* recherché.
|
29 |
* recherché.
|
Line 33... |
Line 33... |
33 |
//Auteur original :
|
33 |
//Auteur original :
|
34 |
*@author Frédéric LEGENS <flegens@free.fr>
|
34 |
*@author Frédéric LEGENS <flegens@free.fr>
|
35 |
//Autres auteurs :
|
35 |
//Autres auteurs :
|
36 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
36 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
37 |
*@copyright Tela-Botanica 2000-2004
|
37 |
*@copyright Tela-Botanica 2000-2004
|
38 |
*@version $Revision: 1.1 $ $Date: 2005-01-26 10:45:33 $
|
38 |
*@version $Revision: 1.2 $ $Date: 2005-01-28 19:47:09 $
|
39 |
// +------------------------------------------------------------------------------------------------------+
|
39 |
// +------------------------------------------------------------------------------------------------------+
|
40 |
*/
|
40 |
*/
|
Line 41... |
Line 41... |
41 |
|
41 |
|
42 |
// +------------------------------------------------------------------------------------------------------+
|
42 |
// +------------------------------------------------------------------------------------------------------+
|
43 |
// | ENTETE du PROGRAMME |
|
43 |
// | ENTETE du PROGRAMME |
|
44 |
// +------------------------------------------------------------------------------------------------------+
|
44 |
// +------------------------------------------------------------------------------------------------------+
|
45 |
require_once EFSE_CHEMIN_FONCTION.'eribo_encodage.fonct.php';
|
45 |
require_once EFSE_CHEMIN_FONCTION.'eribo_encodage.fonct.php';
|
- |
|
46 |
$GLOBALS['num_nom_verna'] = 1;
|
46 |
$GLOBALS['num_nom_verna'] = 1;
|
47 |
|
47 |
// +------------------------------------------------------------------------------------------------------+
|
48 |
// +------------------------------------------------------------------------------------------------------+
|
48 |
// | CLASSE de la VUE |
|
49 |
// | CLASSE de la VUE |
|
49 |
// +------------------------------------------------------------------------------------------------------+
|
50 |
// +------------------------------------------------------------------------------------------------------+
|
Line 56... |
Line 57... |
56 |
$this->leBlock = $unBlock;
|
57 |
$this->leBlock = $unBlock;
|
57 |
}
|
58 |
}
|
Line 58... |
Line 59... |
58 |
|
59 |
|
59 |
function serialiser()
|
60 |
function serialiser()
|
60 |
{
|
61 |
{
|
61 |
$retour = '<?xml version="1.0" encoding="utf-8" ?>'."\n";
|
62 |
$retour = '<?xml version="1.0" encoding="iso-8859-15" ?>'."\n";
|
62 |
$retour .= '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "../../../commun/generique/dtd/xhtml1-strict.dtd">'."\n";
|
63 |
$retour .= '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "../../../commun/generique/dtd/xhtml1-strict.dtd">'."\n";
|
Line 63... |
Line 64... |
63 |
$retour .= '<html xmlns="http://w ww.w3.org/1999/xhtml" lang="fr" >'."\n";
|
64 |
$retour .= '<html xmlns="http://w ww.w3.org/1999/xhtml" lang="fr" >'."\n";
|
64 |
|
65 |
|
65 |
$retour .= '<head>'."\n";
|
66 |
$retour .= '<head>'."\n";
|
66 |
$retour .= '<!-- BEGIN entete -->'."\n";
|
67 |
$retour .= '<!-- BEGIN entete -->'."\n";
|
67 |
$retour .= '<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />'."\n";
|
68 |
$retour .= '<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15" />'."\n";
|
68 |
$retour .= '<meta http-equiv="Content-style-type" content="text/css" />'."\n";
|
69 |
$retour .= '<meta http-equiv="Content-style-type" content="text/css" />'."\n";
|
69 |
$retour .= '<meta http-equiv="Content-script-type" content="text/javascript />'."\n";
|
70 |
$retour .= '<meta http-equiv="Content-script-type" content="text/javascript />'."\n";
|
70 |
$retour .= '<meta http-equiv="Content-language" content="fr" />'."\n";
|
71 |
$retour .= '<meta http-equiv="Content-language" content="fr" />'."\n";
|
Line 108... |
Line 109... |
108 |
{
|
109 |
{
|
109 |
$retour .= '<tr>'."\n";
|
110 |
$retour .= '<tr>'."\n";
|
110 |
$retour .= '<td>'.$GLOBALS['num_nom_verna']++.'</td>'."\n";
|
111 |
$retour .= '<td>'.$GLOBALS['num_nom_verna']++.'</td>'."\n";
|
111 |
$retour .= '<td title="'.$donnees['ezg_intitule_principal_zg'].'">'.$donnees['ezg_code_zg'].'</td>'."\n";
|
112 |
$retour .= '<td title="'.$donnees['ezg_intitule_principal_zg'].'">'.$donnees['ezg_code_zg'].'</td>'."\n";
|
112 |
$retour .= '<td title="'.$donnees['el_nom_langue_principal'].'">'.$donnees['el_code_langue'].'</td>'."\n";
|
113 |
$retour .= '<td title="'.$donnees['el_nom_langue_principal'].'">'.$donnees['el_code_langue'].'</td>'."\n";
|
- |
|
114 |
$retour .= '<td>'.$donnees['ev_intitule_nom_vernaculaire'].'</td>'."\n";
|
113 |
$retour .= '<td>'.'<a href="func_UrlFicheNom('.$donnees['en_id_nom'].', '.$donnees['et_id_version_projet_taxon'].')">'.$donnees['ev_intitule_nom_vernaculaire'].'</a></td>'."\n";
|
115 |
$retour .= '<td>'.'<a href="func_UrlFicheNom('.$donnees['en_id_nom'].', '.$donnees['et_id_version_projet_taxon'].')">'.$donnees['eni_intitule_nom'].'</a></td>'."\n";
|
114 |
$retour .= '<td>'.$donnees['eni_intitule_nom'].'</td>'."\n";
|
- |
|
115 |
$retour .= '</tr>'."\n";
|
116 |
$retour .= '</tr>'."\n";
|
116 |
return $retour;
|
117 |
return $retour;
|
117 |
}
|
118 |
}
|
Line 118... |
Line 119... |
118 |
|
119 |
|
Line 122... |
Line 123... |
122 |
|
123 |
|
123 |
|
124 |
|
124 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
125 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
- |
|
126 |
*
|
- |
|
127 |
* $Log: not supported by cvs2svn $
|
- |
|
128 |
* Revision 1.1 2005/01/26 10:45:33 jpm
|
125 |
*
|
129 |
* Ajout des résultats de recherche par noms vernaculaires.
|
126 |
* $Log: not supported by cvs2svn $
|
130 |
*
|
127 |
*
|
131 |
*
|
128 |
* +-- Fin du code ----------------------------------------------------------------------------------------+
|
132 |
* +-- Fin du code ----------------------------------------------------------------------------------------+
|
129 |
*/
|
133 |
*/
|