22 if (!isset($params[1])) {
25 if (!isset($params[2])) {
28 $params[2] =
"'" . $params[2] .
"'";
31 switch (trim($params[1],
'"\'')) {
35 return 'mb_convert_encoding(' . $params[0] .
', ' . $params[2] .
', \'HTML-ENTITIES\')';
38 return 'html_entity_decode(' . $params[0] .
', ENT_NOQUOTES, ' . $params[2] .
')';
41 return 'htmlspecialchars_decode(' . $params[0] .
', ENT_QUOTES)';
44 return 'rawurldecode(' . $params[0] .
')';
static $_MBSTRING
Flag denoting if Multibyte String functions are available.
smarty_modifiercompiler_unescape($params, $compiler)
Smarty unescape modifier plugin.
static $_CHARSET
The character set to adhere to (e.g.