function theme_toc_filter in TOC filter 6
Same name and namespace in other branches
- 7 toc_filter.module \theme_toc_filter()
Format TOC filter.
1 theme call to theme_toc_filter()
- _toc_filter_process_callback in ./
toc_filter.module - TOC filter processor callback: Convert's <h2> to a linked table of contents.
File
- ./
toc_filter.module, line 243 - Converts header tags into a linked table of contents.
Code
function theme_toc_filter($format, $content) {
$output = '<div class="toc-filter toc-filter-' . $format . '">';
$output .= '<div class="toc-filter-content">' . $content . '</div>';
$output .= '</div>';
return $output;
}