Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

Rev 118 | Rev 163 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 118 Rev 125
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_latin_xhtml.php,v 1.3 2005-01-26 10:45:13 jpm Exp $
24
// CVS : $Id: recherche_nom_latin_xhtml.php,v 1.4 2005-01-28 19:47:09 jpm Exp $
25
/**
25
/**
26
* Vue affichant la liste des noms latins correspondant à un radical recherché.
26
* Vue affichant la liste des noms latins correspondant à un radical recherché.
27
*
27
*
28
* Permet de retourner le html correspondant à la liste des noms latins correspondant à un radical recherché.
28
* Permet de retourner le html correspondant à la liste des noms latins correspondant à un radical recherché.
29
*
29
*
Line 32... Line 32...
32
//Auteur original :
32
//Auteur original :
33
*@author        Frédéric LEGENS <flegens@free.fr>
33
*@author        Frédéric LEGENS <flegens@free.fr>
34
//Autres auteurs :
34
//Autres auteurs :
35
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
35
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
36
*@copyright     Tela-Botanica 2000-2004
36
*@copyright     Tela-Botanica 2000-2004
37
*@version       $Revision: 1.3 $ $Date: 2005-01-26 10:45:13 $
37
*@version       $Revision: 1.4 $ $Date: 2005-01-28 19:47:09 $
38
// +------------------------------------------------------------------------------------------------------+
38
// +------------------------------------------------------------------------------------------------------+
39
*/
39
*/
Line 40... Line 40...
40
 
40
 
41
// +------------------------------------------------------------------------------------------------------+
41
// +------------------------------------------------------------------------------------------------------+
42
// |                                            ENTETE du PROGRAMME                                       |
42
// |                                            ENTETE du PROGRAMME                                       |
-
 
43
// +------------------------------------------------------------------------------------------------------+
Line 43... Line 44...
43
// +------------------------------------------------------------------------------------------------------+
44
require_once EFSE_CHEMIN_FONCTION.'eribo_encodage.fonct.php';
44
 
45
 
45
// +------------------------------------------------------------------------------------------------------+
46
// +------------------------------------------------------------------------------------------------------+
46
// |                                            CLASSE de la VUE                                          |
47
// |                                            CLASSE de la VUE                                          |
Line 54... Line 55...
54
        $this->leBlock = $unBlock;
55
        $this->leBlock = $unBlock;
55
    }
56
    }
Line 56... Line 57...
56
    
57
    
57
    function serialiser()
58
    function serialiser()
58
    {
59
    {
59
        $retour = '<?xml version="1.0" encoding="utf-8" ?>'."\n";
60
        $retour = '<?xml version="1.0" encoding="iso-8859-15" ?>'."\n";
60
        $retour .= '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "../../../commun/generique/dtd/xhtml1-strict.dtd">'."\n";
61
        $retour .= '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "../../../commun/generique/dtd/xhtml1-strict.dtd">'."\n";
Line 61... Line 62...
61
        $retour .= '<html xmlns="http://w ww.w3.org/1999/xhtml" lang="fr" >'."\n";
62
        $retour .= '<html xmlns="http://w ww.w3.org/1999/xhtml" lang="fr" >'."\n";
62
        
63
        
63
        $retour .= '<head>'."\n";
64
        $retour .= '<head>'."\n";
64
        $retour .= '<!-- BEGIN entete -->'."\n";
65
        $retour .= '<!-- BEGIN entete -->'."\n";
65
        $retour .= '<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />'."\n";
66
        $retour .= '<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15" />'."\n";
66
        $retour .= '<meta http-equiv="Content-style-type" content="text/css" />'."\n";
67
        $retour .= '<meta http-equiv="Content-style-type" content="text/css" />'."\n";
67
        $retour .= '<meta http-equiv="Content-script-type" content="text/javascript />'."\n";
68
        $retour .= '<meta http-equiv="Content-script-type" content="text/javascript />'."\n";
68
        $retour .= '<meta http-equiv="Content-language" content="fr" />'."\n";
69
        $retour .= '<meta http-equiv="Content-language" content="fr" />'."\n";
Line 78... Line 79...
78
        $retour .= $this->leBlock->afficherPattern('FICHE_LISTE_NOMS>NOM_RECHERCHE','afficherNom');
79
        $retour .= $this->leBlock->afficherPattern('FICHE_LISTE_NOMS>NOM_RECHERCHE','afficherNom');
79
        $retour .= '</ol>'."\n";
80
        $retour .= '</ol>'."\n";
80
        $retour .= '<!-- END corps -->'."\n";
81
        $retour .= '<!-- END corps -->'."\n";
81
        $retour .= '</body>'."\n";
82
        $retour .= '</body>'."\n";
82
        $retour .= '</html>'."\n";
83
        $retour .= '</html>'."\n";
-
 
84
        
-
 
85
        // Envoi au navigateur après encodage en entité des caractères posant problème
83
        echo $retour;
86
        echo remplaceEntiteHTLM($retour);
84
    }
87
    }
85
}
88
}
Line 86... Line 89...
86
 
89
 
87
// +------------------------------------------------------------------------------------------------------+
90
// +------------------------------------------------------------------------------------------------------+
Line 111... Line 114...
111
 
114
 
112
 
115
 
113
/* +--Fin du code ----------------------------------------------------------------------------------------+
116
/* +--Fin du code ----------------------------------------------------------------------------------------+
-
 
117
*
-
 
118
* $Log: not supported by cvs2svn $
-
 
119
* Revision 1.3  2005/01/26 10:45:13  jpm
114
*
120
* Ajout de commentaires d'entête.
115
* $Log: not supported by cvs2svn $
121
*
116
*
122
*
117
* +-- Fin du code ----------------------------------------------------------------------------------------+
123
* +-- Fin du code ----------------------------------------------------------------------------------------+
118
*/
124
*/