function toc_filter_filter_tips in TOC filter 6
Implementation of hook_filter_tips().
File
- ./
toc_filter.module, line 68 - Converts header tags into a linked table of contents.
Code
function toc_filter_filter_tips($delta, $format, $long = FALSE) {
if (module_exists('ctools')) {
return t("Adding [TOC:(faq|ol|number|ul|bullet|jump-menu|menu) (title)] will generate a table of contents or jump menu linked to all the <@header_tag> tags with an optional title.", array(
"@header_tag" => variable_get('toc_filter_header_tag', 'h3'),
));
}
else {
return t("Adding [TOC:(faq|ol|number|ul|bullet) (title)] will generate a table of contents linked to all the <@header_tag> tags with an optional title.", array(
"@header_tag" => variable_get('toc_filter_header_tag', 'h3'),
));
}
}