{** * plugins/pubIds/doi/templates/settingsForm.tpl * * Copyright (c) 2014-2018 Simon Fraser University * Copyright (c) 2003-2018 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * DOI plugin settings * *}
{translate key="plugins.pubIds.doi.manager.settings.description"}
{csrf} {include file="common/formErrors.tpl"} {fbvFormArea id="doiObjectsFormArea" title="plugins.pubIds.doi.manager.settings.doiObjects"} {fbvFormSection list="true"}

{translate key="plugins.pubIds.doi.manager.settings.explainDois"}

{fbvElement type="checkbox" id="enableIssueDoi" label="plugins.pubIds.doi.manager.settings.enableIssueDoi" maxlength="40" checked=$enableIssueDoi|compare:true} {fbvElement type="checkbox" id="enableSubmissionDoi" label="plugins.pubIds.doi.manager.settings.enableSubmissionDoi" maxlength="40" checked=$enableSubmissionDoi|compare:true} {fbvElement type="checkbox" id="enableRepresentationDoi" label="plugins.pubIds.doi.manager.settings.enableRepresentationDoi" maxlength="40" checked=$enableRepresentationDoi|compare:true} {/fbvFormSection} {/fbvFormArea} {fbvFormArea id="doiPrefixFormArea" title="plugins.pubIds.doi.manager.settings.doiPrefix"} {fbvFormSection}

{translate key="plugins.pubIds.doi.manager.settings.doiPrefix.description"}

{fbvElement type="text" id="doiPrefix" value=$doiPrefix required="true" label="plugins.pubIds.doi.manager.settings.doiPrefix" maxlength="40" size=$fbvStyles.size.MEDIUM} {/fbvFormSection} {/fbvFormArea} {fbvFormArea id="doiSuffixFormArea" title="plugins.pubIds.doi.manager.settings.doiSuffix"}

{translate key="plugins.pubIds.doi.manager.settings.doiSuffix.description"}

{fbvFormSection list="true"} {if !in_array($doiSuffix, array("pattern", "customId"))} {assign var="checked" value=true} {else} {assign var="checked" value=false} {/if} {fbvElement type="radio" id="doiSuffixDefault" name="doiSuffix" value="default" required="true" label="plugins.pubIds.doi.manager.settings.doiSuffixDefault" checked=$checked} {translate key="plugins.pubIds.doi.manager.settings.doiSuffixDefault.description"} {/fbvFormSection} {fbvFormSection list="true"} {fbvElement type="radio" id="doiSuffixCustomId" name="doiSuffix" value="customId" required="true" label="plugins.pubIds.doi.manager.settings.doiSuffixCustomIdentifier" checked=$doiSuffix|compare:"customId"} {/fbvFormSection} {fbvFormSection list="true"} {fbvElement type="radio" id="doiSuffixPattern" name="doiSuffix" value="pattern" label="plugins.pubIds.doi.manager.settings.doiSuffixPattern" checked=$doiSuffix|compare:"pattern"}

{translate key="plugins.pubIds.doi.manager.settings.doiSuffixPattern.example"}

{fbvElement type="text" id="doiIssueSuffixPattern" value=$doiIssueSuffixPattern label="plugins.pubIds.doi.manager.settings.doiSuffixPattern.issues" maxlength="40" inline=true size=$fbvStyles.size.MEDIUM} {fbvElement type="text" id="doiSubmissionSuffixPattern" value=$doiSubmissionSuffixPattern label="plugins.pubIds.doi.manager.settings.doiSuffixPattern.submissions" maxlength="40" inline=true size=$fbvStyles.size.MEDIUM} {fbvElement type="text" id="doiRepresentationSuffixPattern" value=$doiRepresentationSuffixPattern label="plugins.pubIds.doi.manager.settings.doiSuffixPattern.representations" maxlength="40" inline=true size=$fbvStyles.size.MEDIUM} {/fbvFormSection} {/fbvFormArea} {fbvFormArea id="doiReassignFormArea" title="plugins.pubIds.doi.manager.settings.doiReassign"} {fbvFormSection}
{translate key="plugins.pubIds.doi.manager.settings.doiReassign.description"}
{include file="linkAction/linkAction.tpl" action=$clearPubIdsLinkAction contextId="doiSettingsForm"} {/fbvFormSection} {/fbvFormArea} {if ($enableIssueDoi || $enableSubmissionDoi || $enableRepresentationDoi) && $doiPrefix && $doiSuffix && $doiSuffix != 'customId' } {fbvFormArea id="doiAssignJournalWideFormArea" title="plugins.pubIds.doi.manager.settings.doiAssignJournalWide"} {fbvFormSection}
{translate key="plugins.pubIds.doi.manager.settings.doiAssignJournalWide.description"}
{include file="linkAction/linkAction.tpl" action=$assignJournalWidePubIdsLinkAction contextId="doiSettingsForm"} {/fbvFormSection} {/fbvFormArea} {/if} {fbvFormButtons submitText="common.save"}

{translate key="common.requiredField"}