function _certificate_sanitize_tokens in Certificate 7.2
Same name and namespace in other branches
- 3.x certificate.pages.inc \_certificate_sanitize_tokens()
Call filter_xss on each of the items in the replacements array.
1 string reference to '_certificate_sanitize_tokens'
- theme_certificate_certificate in ./
certificate.pages.inc - Theme a single certificate.
File
- ./
certificate.pages.inc, line 273 - certificate.pages.inc Functions for generating certificates.
Code
function _certificate_sanitize_tokens(&$replacements) {
foreach ($replacements as $token => &$replacement) {
$replacement = filter_xss_admin($replacement);
}
}