You are here

function _biblio_format_author in Bibliography Module 6.2

Same name and namespace in other branches
  1. 6 biblio.pages.inc \_biblio_format_author()
  2. 7 includes/biblio.pages.inc \_biblio_format_author()
  3. 7.2 includes/biblio.pages.inc \_biblio_format_author()
1 call to _biblio_format_author()
_biblio_format_author_page in includes/biblio.pages.inc

File

includes/biblio.pages.inc, line 1413
Functions in the biblio module related to filtering and page generation.

Code

function _biblio_format_author($author) {
  static $author_options = array();
  $style_name = biblio_get_style();
  module_load_include('inc', 'biblio', "styles/biblio_style_{$style_name}");
  $inline = FALSE;
  $format = biblio_format_authors(array(
    $author,
  ));
  $format .= ' (' . $author['cnt'] . ') ' . (biblio_access('edit_author') ? _biblio_author_edit_links($author) : '');
  if (biblio_access('edit_author') && isset($author['#suspect'])) {
    $format = '<div class="suspect">' . $format . '</div>';
  }
  return $format;
}