|
|
| 14 |
{assign var=authors value=$article->getAuthors()} |
14 |
{assign var=authors value=$article->getAuthors()} |
| 15 |
{assign var=authorCount value=$authors|@count} |
15 |
{assign var=authorCount value=$authors|@count} |
| 16 |
{foreach from=$authors item=author name=authors key=i} |
16 |
{foreach from=$authors item=author name=authors key=i} |
| 17 |
{assign var=firstName value=$author->getFirstName()} |
17 |
{if $smarty.foreach.authors.first}{$author->getLastName()|escape}, {$author->getFirstName()|escape}{else}{$author->getFullName()|escape}{/if}{if $i==$authorCount-2}, & {elseif $i lt $authorCount-1}, {else}.{/if} |
| 18 |
{$author->getLastName()|escape}, {$firstName|escape}{if $i==$authorCount-2}, {translate key="rt.context.and"} {elseif $i<$authorCount-1}, {else}.{/if} |
|
|
| 19 |
{/foreach} |
18 |
{/foreach} |
| 20 |
|
19 |
|
| 21 |
"{$article->getLocalizedTitle()|strip_unsafe_html}" <em>{$journal->getLocalizedTitle()|escape}</em> [{translate key="rt.captureCite.online"}], {if $issue}{$issue->getVolume()|escape} {/if}{$article->getDatePublished()|date_format:'%e %b %Y'} |
20 |
"{$article->getLocalizedTitle()|strip_unsafe_html}." <em>{$journal->getLocalizedTitle()|escape}</em> [{translate key="rt.captureCite.online"}],{if $issue} {$issue->getVolume()|escape}{/if}{if $issue && $issue->getNumber()}.{$issue->getNumber()}{/if}{if $issue} ({$issue->getYear()}){/if}: {if $article->getPages()}{$article->getPages()}.{else}{translate key="plugins.citationFormats.mla.noPages"}{/if} {translate key="rt.captureCite.web"}. {$smarty.now|date_format:'%e %b. %Y'} |
| 22 |
</div> |
21 |
</div> |