You are here

function theme_biblio_bibtex_link in Bibliography Module 5

1 theme call to theme_biblio_bibtex_link()
biblio_show_node in ./biblio.module

File

./biblio.module, line 1098

Code

function theme_biblio_bibtex_link($base, $node = NULL) {
  $output = '<span hovertip="bibtexExp">';
  if (module_exists('hovertip')) {
    $output .= '<div id="bibtexExp" class="hovertip"><h1>BibTex</h1>' . nl2br(_bibtex_export($node)) . '</div>';
  }
  $output .= l(t("BibTex"), "{$base}/export/bib/{$node->nid}") . '</span>';
  return $output;
}