{** * plugins/pubIds/urn/templates/urnSuffixEdit.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 custom URN suffix for an object (issue, article, galley, supp file) *} {if $pubObject} {assign var=pubObjectType value=$pubIdPlugin->getPubObjectType($pubObject)} {assign var=enableObjectURN value=$pubIdPlugin->getSetting($currentJournal->getId(), "enable`$pubObjectType`URN")} {if $enableObjectURN}
{fieldLabel name="urnSuffix" key="plugins.pubIds.urn.urnSuffix"} | {$urnPrefix|escape} | {if $checkNo}{/if} |
{translate key="plugins.pubIds.urn.urnSuffix.description"} |
{$storedPubId|escape}
{capture assign=translatedObjectType}{translate key="plugins.pubIds.urn.editor.urnObjectType"|cat:$pubObjectType}{/capture} {translate key="plugins.pubIds.urn.editor.urnClear.description" pubObjectType=$translatedObjectType}{$pubIdPlugin->getPubId($pubObject, true)|escape}
{capture assign=translatedObjectType}{translate key="plugins.pubIds.urn.editor.urnObjectType"|cat:$pubObjectType}{/capture} {translate key="plugins.pubIds.urn.editor.urnNotYetGenerated" pubObjectType=$translatedObjectType}