function filter_xss_admin

×

Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
cis7 common.inc filter_xss_admin($string)
cle7 common.inc filter_xss_admin($string)
elmsmedia7 common.inc filter_xss_admin($string)
icor7 common.inc filter_xss_admin($string)
meedjum_blog7 common.inc filter_xss_admin($string)
mooc7 common.inc filter_xss_admin($string)

Applies a 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

94 calls to filter_xss_admin()
adaptivetheme_breadcrumb in sites/all/themes/ulmus/adaptivetheme/at_core/inc/theme.inc
Returns HTML for a breadcrumb trail.
adaptivetheme_form_system_theme_settings_alter in sites/all/themes/ulmus/adaptivetheme/at_core/theme-settings.php
@file Implimentation of hook_form_system_theme_settings_alter()
ajax_prepare_response in includes/ajax.inc
Converts the return value of a page callback into an Ajax commands array.
at_core_custom_css_form in sites/all/themes/ulmus/adaptivetheme/at_core/inc/forms/settings.customcss.inc
@file Generate settings for the Custom CSS form.
at_core_fonts_form in sites/all/themes/ulmus/adaptivetheme/at_core/inc/forms/settings.fonts.inc
@file Generate form elments for the font settings.

... See full list

2 string references to 'filter_xss_admin'
backtrace_error_handler in sites/all/modules/ulmus/devel/devel.module
Displays backtrace showing the route of calls to the current error.
_drupal_error_handler_real in includes/errors.inc
Provides custom PHP error handling.

File

includes/common.inc, line 1401
Common functions that many Drupal modules will need to reference.

Code

function filter_xss_admin($string) {
  return filter_xss($string, array('a', 'abbr', 'acronym', 'address', 'article', 'aside', 'b', 'bdi', 'bdo', 'big', 'blockquote', 'br', 'caption', 'cite', 'code', 'col', 'colgroup', 'command', 'dd', 'del', 'details', 'dfn', 'div', 'dl', 'dt', 'em', 'figcaption', 'figure', 'footer', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'header', 'hgroup', 'hr', 'i', 'img', 'ins', 'kbd', 'li', 'mark', 'menu', 'meter', 'nav', 'ol', 'output', 'p', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'section', 'small', 'span', 'strong', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'time', 'tr', 'tt', 'u', 'ul', 'var', 'wbr'));
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.