function content_filter_xss in Content Construction Kit (CCK) 6.2
Same name and namespace in other branches
- 5 content.module \content_filter_xss()
- 6.3 content.module \content_filter_xss()
Like filter_xss_admin(), but with a shorter list of allowed tags.
Used for items entered by administrators, like field descriptions, allowed values, where some (mainly inline) mark-up may be desired (so check_plain() is not acceptable).
6 calls to content_filter_xss()
- content_allowed_values in ./
content.module - Create an array of the allowed values for this field.
- content_field_form in includes/
content.node_form.inc - Create a separate form element for each field.
- content_multiple_value_form in includes/
content.node_form.inc - Special handling to create form elements for multiple values.
- fieldgroup_build_content in modules/
fieldgroup/ fieldgroup.module - Build the node content element needed to render a fieldgroup.
- fieldgroup_form_alter in modules/
fieldgroup/ fieldgroup.module - Implementation of hook_form_alter()
1 string reference to 'content_filter_xss'
- theme_number_formatter_generic in modules/
number/ number.module - Proxy theme function for number field formatters.
File
- ./
content.module, line 1752 - Allows administrators to associate custom fields to content types.
Code
function content_filter_xss($string) {
return filter_xss($string, _content_filter_xss_allowed_tags());
}