You are here

function _ckeditor_filter_tips in CKEditor Filter 7

Tips callback for tag filter.

1 string reference to '_ckeditor_filter_tips'
ckeditor_filter_filter_info in ./ckeditor_filter.module
Implements hook_filter_info().

File

./ckeditor_filter.module, line 183
Provides an input filter that allows site administrators configure which HTML elements, attributes and style properties are allowed.

Code

function _ckeditor_filter_tips($filter, $format, $long = FALSE) {
  $tips = '';
  if (user_access('administer filters')) {
    $tips .= ' ' . l(t('Configure format.'), 'admin/config/content/formats/' . $format->format);
    return $tips;
  }
}