Minahito
minah****@users*****
2006年 11月 8日 (水) 15:17:17 JST
Index: xoops2jp/html/include/functions.php diff -u xoops2jp/html/include/functions.php:1.2.8.19.2.4 xoops2jp/html/include/functions.php:1.2.8.19.2.5 --- xoops2jp/html/include/functions.php:1.2.8.19.2.4 Mon Oct 23 20:23:00 2006 +++ xoops2jp/html/include/functions.php Wed Nov 8 15:17:17 2006 @@ -1,5 +1,5 @@ <?php -// $Id: functions.php,v 1.2.8.19.2.4 2006/10/23 11:23:00 minahito Exp $ +// $Id: functions.php,v 1.2.8.19.2.5 2006/11/08 06:17:17 minahito Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -790,4 +790,11 @@ return trim($text); } +if (!function_exists('htmlspecialchars_decode')) { + function htmlspecialchars_decode($text) + { + return strtr($text, array_flip(get_html_translation_table(HTML_SPECIALCHARS))); + } +} + ?> \ No newline at end of file