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

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

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

revision 1.9.2.10, Fri Feb 20 03:11:38 2009 UTC revision 1.9.2.11, Sun Mar 1 01:59:10 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2    
3    
4  // $Id: biblio_style_apa.inc,v 1.9.2.9 2009/02/10 20:26:31 rjerome Exp $  // $Id: biblio_style_apa.inc,v 1.9.2.10 2009/02/20 03:11:38 rjerome Exp $
5  /**  /**
6   * Get the style information   * Get the style information
7   *   *
# Line 51  function biblio_style_apa($node, $base = Line 51  function biblio_style_apa($node, $base =
51    $authors = theme('biblio_format_authors', $node->biblio_contributors[1], $author_options, $inline);    $authors = theme('biblio_format_authors', $node->biblio_contributors[1], $author_options, $inline);
52    if (empty($authors)) $authors = theme('biblio_format_authors', $node->biblio_contributors[5], $author_options, $inline);  // if no authors substitute corp author if available    if (empty($authors)) $authors = theme('biblio_format_authors', $node->biblio_contributors[5], $author_options, $inline);  // if no authors substitute corp author if available
53    if (empty($authors)) $authors = '[' . t('Anonymous') . ']';  // use anonymous if we still have nothing.    if (empty($authors)) $authors = '[' . t('Anonymous') . ']';  // use anonymous if we still have nothing.
54      if (!empty ($node->biblio_citekey)&&(variable_get('biblio_display_citation_key',0))) {
55        $output .= '[' . check_plain($node->biblio_citekey) . '] ';
56      }
57    $output .= '<span class="biblio-authors">' . $authors . "</span> \n";    $output .= '<span class="biblio-authors">' . $authors . "</span> \n";
58    $output .= (strrpos($authors, '.') == strlen($authors)) ? ".&nbsp;&nbsp;" : " ";    $output .= (strrpos($authors, '.') == strlen($authors)) ? ".&nbsp;&nbsp;" : " ";
59    switch ($node->biblio_type) {    switch ($node->biblio_type) {

Legend:
Removed from v.1.9.2.10  
changed lines
  Added in v.1.9.2.11

  ViewVC Help
Powered by ViewVC 1.1.2