diff --git a/fgsMetsMods/templates/record.tpl b/fgsMetsMods/templates/record.tpl index 928bd29..4250d20 100644 --- a/fgsMetsMods/templates/record.tpl +++ b/fgsMetsMods/templates/record.tpl @@ -1,10 +1,11 @@ -{** * +{* * Copyright (c) 2013-2020 Simon Fraser University * Copyright (c) 2003-2020 John Willinsky * Distributed under the GNU GPL v3. For full terms see the file docs/COPYING. * - * METS/MODS metadata record for an article + * FGS-PUBL METS/MODS metadata record for an article. *} + - Open Access + Open Access + gratis journal article text - {assign var=authors value=$article->getAuthors()} {foreach from=$authors item=author} @@ -50,14 +53,19 @@ aut {assign var=affiliation value=$author->getAffiliation($journal->getPrimaryLocale())} - {if $affiliation}{$affiliation|escape}{/if} - {if $author->getData('orcid')}{$author->getOrcid('orcid')|escape}{/if} + {if $affiliation} + {$affiliation|escape}{/if} + {if $author->getData('orcid')} + {$author->getOrcid('orcid')|escape} + {/if} {/foreach} {$article->getTitle($article->getLocale())|escape} {assign var=subTitle value=$article->getSubTitle($article->getLocale())} - {if $subTitle}{$subTitle|escape}{/if} + {if $subTitle} + {$subTitle|escape} + {/if} {$articleLanguage|escape} @@ -68,11 +76,11 @@ {$journal->getName($journal->getPrimaryLocale())|escape} {if $article->getDatePublished()} - {$article->getDatePublished()|strftime|date_format:'c'|escape} + {$article->getDatePublished()|strftime|date_format:'c'|escape} {/if} {if $article->getStoredPubId('doi')} - doi:{$article->getStoredPubId('doi')|escape} + doi:{$article->getStoredPubId('doi')|escape} {/if} @@ -95,36 +103,32 @@ {$article->getEndingPage()} {if $issue->getDatePublished()} - {$issue->getDatePublished()|strftime|date_format:'c'|escape} + {$issue->getDatePublished()|strftime|date_format:'c'|escape} {/if} {if $journal->getData('onlineIssn')} - {$journal->getData('onlineIssn')|escape} + {$journal->getData('onlineIssn')|escape} {elseif $journal->getData('printIssn')} - {$journal->getData('printIssn')|escape} + {$journal->getData('printIssn')|escape} {/if} {if $journal->getData('journalLibrisUri')} - {$journal->getData('journalLibrisUri')} + {$journal->getData('journalLibrisUri')} {/if} - {foreach $keywords as $keyword} - - {$keyword} - + + {$keyword} + {/foreach} - {if $abstract} - - {$abstract|escape} - + {$abstract|escape} {/if} {foreach $galleyProps as $galleyProp} - - - {$galleyProp["urlPublished"]|escape} - - + + + {$galleyProp["urlPublished"]|escape} + + {/foreach} diff --git a/orgUri/OrgUriPlugin.inc.php b/orgUri/OrgUriPlugin.inc.php index 937814f..0eae6e1 100644 --- a/orgUri/OrgUriPlugin.inc.php +++ b/orgUri/OrgUriPlugin.inc.php @@ -51,6 +51,7 @@ public function addToSchema($hookName, $args) { return false; } + public function addtoForm($hookName, $form) { if (!defined('FORM_MASTHEAD') || $form->id !== FORM_MASTHEAD) { return; @@ -95,7 +96,6 @@ public function addtoForm($hookName, $form) { return false; } - /** * Get the name of this plugin. The name must be unique within * its category.