/[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.18, Fri Feb 20 02:40:30 2009 UTC revision 1.19, Sun Mar 1 01:34:36 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2    
3    
4  // $Id: biblio_style_apa.inc,v 1.16 2009/02/18 03:03:10 rjerome Exp $  // $Id: biblio_style_apa.inc,v 1.18 2009/02/20 02:40:30 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.18  
changed lines
  Added in v.1.19

  ViewVC Help
Powered by ViewVC 1.1.2