/[drupal]/contributions/modules/biblio/biblio_style_classic.inc
ViewVC logotype

Diff of /contributions/modules/biblio/biblio_style_classic.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.15, Wed Feb 18 16:49:55 2009 UTC revision 1.16, Sun Mar 1 01:34:36 2009 UTC
# Line 1  Line 1 
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   *   *
# Line 47  function biblio_style_classic_author_opt Line 47  function biblio_style_classic_author_opt
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";

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

  ViewVC Help
Powered by ViewVC 1.1.2