aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2006-11-03 23:09:16 +0000
committerDavid M <davidmj@users.sourceforge.net>2006-11-03 23:09:16 +0000
commit8b0ec6e02d5a53ea3d1b87abd122d39cc3e8366f (patch)
tree22bae5ecbab9dbf8390ab3763f53c15c822c9198 /phpBB/includes/functions.php
parent7ab232a45504ef357a19d9ab58dd27c454e12784 (diff)
downloadforums-8b0ec6e02d5a53ea3d1b87abd122d39cc3e8366f.tar
forums-8b0ec6e02d5a53ea3d1b87abd122d39cc3e8366f.tar.gz
forums-8b0ec6e02d5a53ea3d1b87abd122d39cc3e8366f.tar.bz2
forums-8b0ec6e02d5a53ea3d1b87abd122d39cc3e8366f.tar.xz
forums-8b0ec6e02d5a53ea3d1b87abd122d39cc3e8366f.zip
- compress is nicer (fixed a bug :P)
- UTF-8 code is nicer (fixed a bug :P) - new CAPTCHA. Replaced the old one for size and usability issues. The old CAPTCHA will most likely be released as a separate package git-svn-id: file:///svn/phpbb/trunk@6549 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index c30bd867ae..1dc036b4b6 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -612,6 +612,14 @@ else
}
}
+if (!function_exists('htmlspecialchars_decode'))
+{
+ function htmlspecialchars_decode($string, $quote_style = ENT_COMPAT)
+ {
+ return strtr($string, array_flip(get_html_translation_table(HTML_SPECIALCHARS, $quote_style)));
+ }
+}
+
// functions used for building option fields
/**