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: echoro_encodage.fonct.php,v 1.1 2005-02-22 12:03:14 jpm Exp $
|
24 |
// CVS : $Id: echoro_encodage.fonct.php,v 1.2 2005-05-19 07:37:47 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-02-22 12:03:14 $
|
37 |
*@version $Revision: 1.2 $ $Date: 2005-05-19 07:37:47 $
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
39 |
*/
|
39 |
*/
|
Line 40... |
Line 40... |
40 |
|
40 |
|
41 |
// +------------------------------------------------------------------------------------------------------+
|
41 |
// +------------------------------------------------------------------------------------------------------+
|
Line 60... |
Line 60... |
60 |
$tab_entites = get_html_translation_table(HTML_ENTITIES);
|
60 |
$tab_entites = get_html_translation_table(HTML_ENTITIES);
|
61 |
unset($tab_entites['"']);
|
61 |
unset($tab_entites['"']);
|
62 |
unset($tab_entites['<']);
|
62 |
unset($tab_entites['<']);
|
63 |
unset($tab_entites['>']);
|
63 |
unset($tab_entites['>']);
|
64 |
unset($tab_entites['&']);
|
64 |
unset($tab_entites['&']);
|
- |
|
65 |
$tab_entites[' & '] = ' & ';
|
65 |
return strtr($texte, $tab_entites);
|
66 |
return strtr($texte, $tab_entites);
|
66 |
}
|
67 |
}
|
Line 67... |
Line 68... |
67 |
|
68 |
|
68 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
69 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
69 |
*
|
70 |
*
|
- |
|
71 |
* $Log: not supported by cvs2svn $
|
- |
|
72 |
* Revision 1.1 2005/02/22 12:03:14 jpm
|
- |
|
73 |
* Ajout des fichiers de la bibliothèque de l'application.
|
70 |
* $Log: not supported by cvs2svn $
|
74 |
*
|
71 |
*
|
75 |
*
|
72 |
* +-- Fin du code ----------------------------------------------------------------------------------------+
|
76 |
* +-- Fin du code ----------------------------------------------------------------------------------------+
|
73 |
*/
|
77 |
*/
|
74 |
?>
|
78 |
?>
|