{** * plugins/pubIds/urn/templates/settingsForm.tpl * * Copyright (c) 2014-2021 Simon Fraser University * Copyright (c) 2003-2021 John Willinsky * Distributed under the GNU GPL v3. For full terms see the file docs/COPYING. * * URN plugin settings * *}
{translate key="plugins.pubIds.urn.manager.settings.description"}
{csrf} {include file="common/formErrors.tpl"} {fbvFormArea id="urnObjectsFormArea" title="plugins.pubIds.urn.manager.settings.urnObjects"}

{translate key="plugins.pubIds.urn.manager.settings.explainURNs"}

{fbvFormSection list="true"} {fbvElement type="checkbox" label="plugins.pubIds.urn.manager.settings.enableIssueURN" id="enableIssueURN" maxlength="40" checked=$enableIssueURN|compare:true} {fbvElement type="checkbox" label="plugins.pubIds.urn.manager.settings.enablePublicationURN" id="enablePublicationURN" maxlength="40" checked=$enablePublicationURN|compare:true} {fbvElement type="checkbox" label="plugins.pubIds.urn.manager.settings.enableRepresentationURN" id="enableRepresentationURN" maxlength="40" checked=$enableRepresentationURN|compare:true} {/fbvFormSection} {/fbvFormArea} {fbvFormArea id="urnPrefixFormArea" title="plugins.pubIds.urn.manager.settings.urnPrefix"} {fbvFormSection}

{translate key="plugins.pubIds.urn.manager.settings.urnPrefix.description"}

{fbvElement type="text" id="urnPrefix" value=$urnPrefix required="true" label="plugins.pubIds.urn.manager.settings.urnPrefix" maxlength="40" size=$fbvStyles.size.MEDIUM} {/fbvFormSection} {/fbvFormArea} {fbvFormArea id="urnSuffixFormArea" title="plugins.pubIds.urn.manager.settings.urnSuffix"}

{translate key="plugins.pubIds.urn.manager.settings.urnSuffix.description"}

{fbvFormSection list="true"} {if !in_array($urnSuffix, array("pattern", "customId"))} {assign var="checked" value=true} {else} {assign var="checked" value=false} {/if} {fbvElement type="radio" id="urnSuffixDefault" name="urnSuffix" value="default" label="plugins.pubIds.urn.manager.settings.urnSuffixDefault" checked=$checked} {translate key="plugins.pubIds.urn.manager.settings.urnSuffixDefault.description"} {/fbvFormSection} {fbvFormSection list="true"} {fbvElement type="radio" id="urnSuffixCustomId" name="urnSuffix" value="customId" label="plugins.pubIds.urn.manager.settings.urnSuffixCustomIdentifier" checked=$urnSuffix|compare:"customId"} {/fbvFormSection} {fbvFormSection list="true"} {fbvElement type="radio" id="urnSuffixPattern" name="urnSuffix" value="pattern" label="plugins.pubIds.urn.manager.settings.urnSuffixPattern" checked=$urnSuffix|compare:"pattern"}

{translate key="plugins.pubIds.urn.manager.settings.urnSuffixPattern.example"}

{fbvElement type="text" label="plugins.pubIds.urn.manager.settings.urnSuffixPattern.issues" id="urnIssueSuffixPattern" value=$urnIssueSuffixPattern maxlength="40" inline=true size=$fbvStyles.size.MEDIUM} {fbvElement type="text" label="plugins.pubIds.urn.manager.settings.urnSuffixPattern.submissions" id="urnPublicationSuffixPattern" value=$urnPublicationSuffixPattern maxlength="40" inline=true size=$fbvStyles.size.MEDIUM} {fbvElement type="text" label="plugins.pubIds.urn.manager.settings.urnSuffixPattern.representations" id="urnRepresentationSuffixPattern" value=$urnRepresentationSuffixPattern maxlength="40" inline=true size=$fbvStyles.size.MEDIUM} {/fbvFormSection} {/fbvFormArea} {fbvFormArea id="urnCheckNoFormArea" title="plugins.pubIds.urn.manager.settings.checkNo"} {fbvFormSection list="true" } {fbvElement type="checkbox" id="urnCheckNo" name="urnCheckNo" label="plugins.pubIds.urn.manager.settings.checkNo.label" checked=$urnCheckNo|compare:true} {/fbvFormSection} {/fbvFormArea} {fbvFormArea id="urnNamespaceFormArea" title="plugins.pubIds.urn.manager.settings.namespace"} {fbvFormSection}

{translate key="plugins.pubIds.urn.manager.settings.namespace.description"}

{fbvElement type="select" id="urnNamespace" required="true" from=$urnNamespaces selected=$urnNamespace translate=false size=$fbvStyles.size.MEDIUM label="plugins.pubIds.urn.manager.settings.namespace"} {/fbvFormSection} {/fbvFormArea} {fbvFormArea id="urnResolverFormArea" title="plugins.pubIds.urn.manager.settings.urnResolver"} {fbvFormSection}

{translate key="plugins.pubIds.urn.manager.settings.urnResolver.description"}

{fbvElement type="text" id="urnResolver" value=$urnResolver required="true" label="plugins.pubIds.urn.manager.settings.urnResolver"} {/fbvFormSection} {/fbvFormArea} {fbvFormArea id="urnReassignFormArea" title="plugins.pubIds.urn.manager.settings.urnReassign"} {fbvFormSection}
{translate key="plugins.pubIds.urn.manager.settings.urnReassign.description"}
{include file="linkAction/linkAction.tpl" action=$clearPubIdsLinkAction contextId="urnSettingsForm"} {/fbvFormSection} {/fbvFormArea} {fbvFormButtons submitText="common.save"}

{translate key="common.requiredField"}