You are here

function biblio_view_inline in Bibliography Module 6

Same name and namespace in other branches
  1. 5 biblio.module \biblio_view_inline()
  2. 6.2 includes/biblio.pages.inc \biblio_view_inline()

Parameters

$node:

Return value

unknown_type

1 string reference to 'biblio_view_inline'
biblio_menu in ./biblio.module
Implementation of hook_menu().

File

./biblio.pages.inc, line 1064

Code

function biblio_view_inline(&$node) {
  $style = biblio_get_style();
  $base = variable_get('biblio_base', 'biblio');
  $layout = variable_get('biblio_node_layout', 'tabular');
  $theme = $layout == 'tabular' ? 'biblio_tabular' : 'biblio_long';
  $output = '<div class="biblio-inline">';
  $output .= theme($theme, $node, $base, $style);
  $output .= '</div>';
  return $output;
}