| 1 |
<?PHP |
<?PHP |
| 2 |
|
|
| 3 |
// $Id: biblio_style_classic.inc,v 1.14 2009/02/18 03:03:10 rjerome Exp $ |
// $Id: biblio_style_classic.inc,v 1.15 2009/02/18 16:49:55 rhaschke Exp $ |
| 4 |
/** |
/** |
| 5 |
* Get the style information |
* Get the style information |
| 6 |
* |
* |
| 47 |
function biblio_style_classic($node, $base = 'biblio', $inline = false) { |
function biblio_style_classic($node, $base = 'biblio', $inline = false) { |
| 48 |
$author_options = biblio_style_classic_author_options(); |
$author_options = biblio_style_classic_author_options(); |
| 49 |
$authors = theme('biblio_format_authors', $node->biblio_contributors[1], $author_options, $inline); |
$authors = theme('biblio_format_authors', $node->biblio_contributors[1], $author_options, $inline); |
| 50 |
$output = '<span class="biblio-title">'; |
if (!empty ($node->biblio_citekey)&&(variable_get('biblio_display_citation_key',0))) { |
| 51 |
|
$output .= '[' . check_plain($node->biblio_citekey) . '] '; |
| 52 |
|
} |
| 53 |
|
$output .= '<span class="biblio-title">'; |
| 54 |
$output .= $inline ? l("$node->title", "$base/viewinline/$node->nid") : l("$node->title", "node/$node->nid"); |
$output .= $inline ? l("$node->title", "$base/viewinline/$node->nid") : l("$node->title", "node/$node->nid"); |
| 55 |
$output .= "</span>, \n"; |
$output .= "</span>, \n"; |
| 56 |
$output .= '<span class="biblio-authors">' . $authors . "</span> \n"; |
$output .= '<span class="biblio-authors">' . $authors . "</span> \n"; |