{** * @file plugins/pubIds/doi/templates/doiSuffixEdit.tpl * * Copyright (c) 2013-2015 Simon Fraser University Library * Copyright (c) 2003-2015 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * Edit DOI meta-data. *} {if $pubObject} {assign var=pubObjectType value=$pubIdPlugin->getPubObjectType($pubObject)} {assign var=enableObjectDoi value=$pubIdPlugin->getSetting($currentJournal->getId(), "enable`$pubObjectType`Doi")} {if $enableObjectDoi}

{translate key="plugins.pubIds.doi.editor.doi"}

{assign var=storedPubId value=$pubObject->getStoredPubId($pubIdPlugin->getPubIdType())} {if !$excludeDoi} {if $pubIdPlugin->getSetting($currentJournal->getId(), 'doiSuffix') == 'customId' || $storedPubId} {if empty($storedPubId)}
{fieldLabel name="doiSuffix" key="plugins.pubIds.doi.manager.settings.doiSuffix"} {$pubIdPlugin->getSetting($currentJournal->getId(), 'doiPrefix')|escape}/
{translate key="plugins.pubIds.doi.manager.settings.doiSuffixDescription"}
{else}

{$storedPubId|escape}

{capture assign=translatedObjectType}{translate key="plugins.pubIds.doi.editor.doiObjectType"|cat:$pubObjectType}{/capture} {translate key="plugins.pubIds.doi.editor.doiReassign.description" pubObjectType=$translatedObjectType}
{/if} {else}

{$pubIdPlugin->getPubId($pubObject, true)|escape}

{capture assign=translatedObjectType}{translate key="plugins.pubIds.doi.editor.doiObjectType"|cat:$pubObjectType}{/capture} {translate key="plugins.pubIds.doi.editor.doiNotYetGenerated" pubObjectType=$translatedObjectType}
{/if}
{/if} {capture assign=translatedObjectType}{translate key="plugins.pubIds.doi.editor.doiObjectType"|cat:$pubObjectType}{/capture} {translate key="plugins.pubIds.doi.editor.excludePubObject" pubObjectType=$translatedObjectType}
{if $pubObjectType == 'Issue'} {assign var=enableArticleDoi value=$pubIdPlugin->getSetting($currentJournal->getId(), "enableArticleDoi")} {assign var=enableGalleyDoi value=$pubIdPlugin->getSetting($currentJournal->getId(), "enableGalleyDoi")} {assign var=enableSuppFileDoi value=$pubIdPlugin->getSetting($currentJournal->getId(), "enableSuppFileDoi")} {if $enableArticleDoi || $enableGalleyDoi || $enableSuppFileDoi}
{translate key="plugins.pubIds.doi.editor.excludeIssueObjectsDoi.description"}


{translate key="plugins.pubIds.doi.editor.clearIssueObjectsDoi.description"}

{/if} {/if}
{/if} {/if}