| 1 |
<?php |
<?php |
| 2 |
|
|
| 3 |
// $Id: biblio_style_ieee.inc,v 1.14 2009/02/18 03:03:10 rjerome Exp $ |
// $Id: biblio_style_ieee.inc,v 1.15 2009/02/18 16:49:55 rhaschke Exp $ |
| 4 |
// by Jeffrey Dwoskin |
// by Jeffrey Dwoskin |
| 5 |
// A style closer to IEEE format |
// A style closer to IEEE format |
| 6 |
// see http://standards.ieee.org/guides/style/section7.html#992 |
// see http://standards.ieee.org/guides/style/section7.html#992 |
| 50 |
function biblio_style_ieee($node, $base = 'biblio', $inline = false) { |
function biblio_style_ieee($node, $base = 'biblio', $inline = false) { |
| 51 |
$author_options = biblio_style_ieee_author_options(); |
$author_options = biblio_style_ieee_author_options(); |
| 52 |
$authors = theme('biblio_format_authors', $node->biblio_contributors[1], $author_options, $inline); |
$authors = theme('biblio_format_authors', $node->biblio_contributors[1], $author_options, $inline); |
| 53 |
|
if (!empty ($node->biblio_citekey)&&(variable_get('biblio_display_citation_key',0))) { |
| 54 |
|
$output .= '[' . check_plain($node->biblio_citekey) . '] '; |
| 55 |
|
} |
| 56 |
$output .= '<span class="biblio-authors">' . $authors . ", </span> \n"; |
$output .= '<span class="biblio-authors">' . $authors . ", </span> \n"; |
| 57 |
switch ($node->biblio_type) { |
switch ($node->biblio_type) { |
| 58 |
default : |
default : |