//CODE MODULES PRESTEAMSHOP - PLEASE NOT REMOVE //-------------------------------------------------------------------------------------------------------- smartyRegisterFunction($smarty, "modifier", "escape", "escapePTS"); function escapePTS($string, $esc_type = "html", $char_set = null, $double_encode = true, $as_html = false) { $smarty_escape = SMARTY_PLUGINS_DIR."modifier.escape.php"; include_once $smarty_escape; if (!$as_html && is_callable("smarty_modifier_escape")) { $string = call_user_func("smarty_modifier_escape", $string, $esc_type, $char_set, $double_encode); } return $string; } //--------------------------------------------------------------------------------------------------------