function _biblio_filter_footnote_callback in Bibliography Module 6.2
Same name and namespace in other branches
- 5 biblio.module \_biblio_filter_footnote_callback()
- 6 biblio.module \_biblio_filter_footnote_callback()
- 7 biblio.module \_biblio_filter_footnote_callback()
- 7.2 biblio.module \_biblio_filter_footnote_callback()
1 string reference to '_biblio_filter_footnote_callback'
- biblio_filter in ./
biblio.module - Implements hook_filter().
File
- ./
biblio.module, line 2253 - Main file for Drupal module biblio.
Code
function _biblio_filter_footnote_callback($matches, $square_brackets = FALSE) {
if ($square_brackets) {
$text = '[fn]' . _biblio_citekey_print($matches[1]) . "</fn>";
}
else {
$text = '<fn>' . _biblio_citekey_print($matches[1]) . "</fn>";
}
return $text;
}