{** * plugins/importexport/crossref/templates/index.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. * * List of operations this plugin can perform *} {strip} {include file="common/header.tpl" pageTitle="plugins.importexport.crossref.displayName"} {/strip} {if !empty($configurationErrors) || !$currentContext->getSetting('publisherInstitution')|escape || !$exportArticles || (!$currentContext->getSetting('onlineIssn') && !$currentContext->getSetting('printIssn'))} {assign var="allowExport" value=false} {else} {assign var="allowExport" value=true} {/if}
{if !$allowExport}
{foreach from=$configurationErrors item=configurationError} {if $configurationError == $smarty.const.DOI_EXPORT_CONFIG_ERROR_DOIPREFIX} {include file="controllers/notification/inPlaceNotificationContent.tpl" notificationId=crossrefConfigurationErrors notificationStyleClass="notifyWarning" notificationTitle="plugins.importexport.common.missingRequirements"|translate notificationContents="plugins.importexport.common.error.DOIsNotAvailable"|translate} {elseif $configurationError == $smarty.const.EXPORT_CONFIG_ERROR_SETTINGS} {include file="controllers/notification/inPlaceNotificationContent.tpl" notificationId=crossrefConfigurationErrors notificationStyleClass="notifyWarning" notificationTitle="plugins.importexport.common.missingRequirements"|translate notificationContents="plugins.importexport.common.error.pluginNotConfigured"|translate} {/if} {/foreach} {if !$currentContext->getSetting('publisherInstitution')} {url|assign:journalSettingsUrl router=$smarty.const.ROUTE_PAGE page="management" op="settings" path="context" escape=false} {capture assign=missingPublisherMessage}{translate key="plugins.importexport.crossref.error.publisherNotConfigured" journalSettingsUrl=$journalSettingsUrl}{/capture} {include file="controllers/notification/inPlaceNotificationContent.tpl" notificationId=crossrefConfigurationErrors notificationStyleClass="notifyWarning" notificationTitle="plugins.importexport.common.missingRequirements"|translate notificationContents=$missingPublisherMessage} {/if} {if !$currentContext->getSetting('onlineIssn') && !$currentContext->getSetting('printIssn')} {url|assign:journalSettingsUrl router=$smarty.const.ROUTE_PAGE page="management" op="settings" path="context" escape=false} {capture assign=missingIssnMessage}{translate key="plugins.importexport.crossref.error.issnNotConfigured" journalSettingsUrl=$journalSettingsUrl}{/capture} {include file="controllers/notification/inPlaceNotificationContent.tpl" notificationId=crossrefConfigurationErrors notificationStyleClass="notifyWarning" notificationTitle="plugins.importexport.common.missingRequirements"|translate notificationContents=$missingIssnMessage} {/if} {if !$exportArticles} {include file="controllers/notification/inPlaceNotificationContent.tpl" notificationId=crossrefConfigurationErrors notificationStyleClass="notifyWarning" notificationTitle="plugins.importexport.common.missingRequirements"|translate notificationContents="plugins.importexport.crossref.error.noDOIContentObjects"|translate} {/if}
{/if} {url|assign:crossrefSettingsGridUrl router=$smarty.const.ROUTE_COMPONENT component="grid.settings.plugins.settingsPluginGridHandler" op="manage" plugin="CrossRefExportPlugin" category="importexport" verb="index" escape=false} {load_url_in_div id="crossrefSettingsGridContainer" url=$crossrefSettingsGridUrl}
{if $allowExport}
{csrf} {fbvFormArea id="submissionsXmlForm"} {url|assign:submissionsListGridUrl router=$smarty.const.ROUTE_COMPONENT component="grid.pubIds.PubIdExportSubmissionsListGridHandler" op="fetchGrid" plugin="crossref" category="importexport" escape=false} {load_url_in_div id="submissionsListGridContainer" url=$submissionsListGridUrl} {fbvFormSection list="true"} {fbvElement type="checkbox" id="validation" label="plugins.importexport.common.validation" checked=$validation|default:true} {/fbvFormSection} {if !empty($actionNames)} {fbvFormSection}
    {foreach from=$actionNames key=action item=actionName}
  • {fbvElement type="submit" label="$actionName" id="$action" name="$action" value="1" class="$action" translate=false inline=true}
  • {/foreach}
{/fbvFormSection} {/if} {/fbvFormArea}

{translate key="plugins.importexport.crossref.statusLegend"}

{/if}
{include file="common/footer.tpl"}