Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

Rev 79 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 79 Rev 160
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: eribo_encodage.fonct.php,v 1.1 2005-01-18 12:14:24 jpm Exp $
24
// CVS : $Id: eribo_encodage.fonct.php,v 1.2 2005-03-15 12:18:30 jpm Exp $
25
/**
25
/**
26
* Fonctions manipulant les encodages
26
* Fonctions manipulant les encodages
27
*
27
*
28
* Fichiers contenant des fonctions manipulant l'encodage.
28
* Fichiers contenant des fonctions manipulant l'encodage.
29
*
29
*
Line 32... Line 32...
32
//Auteur original :
32
//Auteur original :
33
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
33
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
34
//Autres auteurs :
34
//Autres auteurs :
35
*@author        Aucun
35
*@author        Aucun
36
*@copyright     Tela-Botanica 2000-2004
36
*@copyright     Tela-Botanica 2000-2004
37
*@version       $Revision: 1.1 $ $Date: 2005-01-18 12:14:24 $
37
*@version       $Revision: 1.2 $ $Date: 2005-03-15 12:18:30 $
38
// +------------------------------------------------------------------------------------------------------+
38
// +------------------------------------------------------------------------------------------------------+
39
*/
39
*/
Line 40... Line 40...
40
 
40
 
41
// +------------------------------------------------------------------------------------------------------+
41
// +------------------------------------------------------------------------------------------------------+
Line 65... Line 65...
65
    $tab_entites = get_html_translation_table(HTML_ENTITIES);
65
    $tab_entites = get_html_translation_table(HTML_ENTITIES);
66
    unset($tab_entites['"']);
66
    unset($tab_entites['"']);
67
    unset($tab_entites['<']);
67
    unset($tab_entites['<']);
68
    unset($tab_entites['>']);
68
    unset($tab_entites['>']);
69
    unset($tab_entites['&']);
69
    unset($tab_entites['&']);
-
 
70
    $tab_entites[' & '] = ' &amp; ';
70
    return strtr($texte, $tab_entites);
71
    return strtr($texte, $tab_entites);
71
}
72
}
Line 72... Line 73...
72
 
73
 
73
// +------------------------------------------------------------------------------------------------------+
74
// +------------------------------------------------------------------------------------------------------+
Line 77... Line 78...
77
 
78
 
78
 
79
 
79
/* +--Fin du code ----------------------------------------------------------------------------------------+
80
/* +--Fin du code ----------------------------------------------------------------------------------------+
-
 
81
*
-
 
82
* $Log: not supported by cvs2svn $
-
 
83
* Revision 1.1  2005/01/18 12:14:24  jpm
80
*
84
* Ajout d'un fichier contenant une fonction permettant d'attribuer des entités html à la place des caractères non impliqués dans le HTML.
81
* $Log: not supported by cvs2svn $
85
*
82
*
86
*
83
* +-- Fin du code ----------------------------------------------------------------------------------------+
87
* +-- Fin du code ----------------------------------------------------------------------------------------+
84
*/
88
*/