You are here

function filter_xss_admin in Drupal 6

Same name and namespace in other branches
  1. 4 modules/filter.module \filter_xss_admin()
  2. 5 modules/filter/filter.module \filter_xss_admin()
  3. 7 includes/ \filter_xss_admin()

Very permissive XSS/HTML filter for admin-only use.

Use only for fields where it is impractical to use the whole filter system, but where some (mainly inline) mark-up is desired (so check_plain() is not acceptable).

Allows all tags that can be used inside an HTML body, save for scripts and styles.

Related topics

18 calls to filter_xss_admin()
contact_mail_page in modules/contact/
drupal_site_offline in includes/
Generates a site off-line message.
menu_overview_page in modules/menu/
Menu callback which shows an overview page of all the custom menus and their descriptions.
node_help in modules/node/node.module
Implementation of hook_help().
node_overview_types in modules/node/
Displays the content type admin overview page.

... See full list


modules/filter/filter.module, line 962
Framework for handling filtering of content.


function filter_xss_admin($string) {
  return filter_xss($string, array(