function _biblio_filter_footnote_callback in Bibliography Module 7
Same name and namespace in other branches
- 5 biblio.module \_biblio_filter_footnote_callback()
- 6.2 biblio.module \_biblio_filter_footnote_callback()
- 6 biblio.module \_biblio_filter_footnote_callback()
- 7.2 biblio.module \_biblio_filter_footnote_callback()
1 string reference to '_biblio_filter_footnote_callback'
File
- ./
biblio.module, line 2219 - Bibliography Module for Drupal.
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;
}