You are here

function theme_biblio_short in Bibliography Module 5

3 theme calls to theme_biblio_short()
theme_biblio_list in ./biblio.module
theme_biblio_long in ./biblio.module
_biblio_citekey_print in ./biblio.module

File

./biblio.module, line 2058

Code

function theme_biblio_short($node, $base = 'biblio', $style_name = 'classic', $inline = false) {

  // $style_name = $style ? $style : variable_get('biblio_style', 'classic');
  require_once drupal_get_path('module', 'biblio') . "/biblio_style_{$style_name}.inc";
  $style_function = "biblio_style_{$style_name}";
  $styled_node = $style_function($node, $base, $inline);
  if (empty($node->biblio_coins)) {
    biblio_coins_generate($node);
  }
  return $styled_node . $node->biblio_coins;
}