{** * @file plugins/importexport/datacite/templates/suppFiles.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. * * Select supplementary files for export. *} {strip} {assign var="pageTitle" value="plugins.importexport.datacite.export.selectSuppFile"} {assign var="pageCrumbTitle" value="plugins.importexport.datacite.export.selectSuppFile"} {include file="common/header.tpl"} {/strip}
{assign var="noSuppFiles" value=true} {iterate from=suppFiles item=suppFileData} {assign var=suppFile value=$suppFileData.suppFile} {assign var=article value=$suppFileData.article} {assign var=issue value=$suppFileData.issue} {if $suppFile->getData('datacite::registeredDoi')} {capture assign="updateOrRegister"}{translate key="plugins.importexport.common.update"}{/capture} {capture assign="updateOrRegisterDescription"}{translate key="plugins.importexport.common.updateDescription"}{/capture} {else} {capture assign="updateOrRegister"}{translate key="plugins.importexport.common.register"}{/capture} {capture assign="updateOrRegisterDescription"}{translate key="plugins.importexport.common.registerDescription"}{/capture} {/if} {/iterate} {if $suppFiles->wasEmpty()} {else} {/if}
 
  {translate key="issue.issue"} {translate key="article.title"} {translate key="article.authors"} {translate key="common.action"}
 
getId()}" class="action">{$issue->getIssueIdentification()|strip_tags} getId()|to_array:0:$suppFile->getId()}" class="action">{$article->getLocalizedTitle()|cat:' ('|cat:$suppFile->getSuppFileTitle()|cat:')'|strip_unsafe_html} {$suppFile->getSuppFileCreator()|default:$article->getAuthorString()|escape} {if $hasCredentials} getId() params=$testMode target="suppFile" register=true}" title="{$updateOrRegisterDescription}" class="action">{$updateOrRegister} {/if} getId() params=$testMode target="suppFile" export=true}" title="{translate key="plugins.importexport.common.exportDescription"}" class="action">{translate key="common.export"}
 
{translate key="plugins.importexport.datacite.export.noSuppFiles"}
 
{page_info iterator=$suppFiles} {page_links anchor="suppFiles" name="suppFiles" iterator=$suppFiles}

{if !empty($testMode)}{/if} {if $hasCredentials}   {/if}  

{if $hasCredentials} {translate key="plugins.importexport.common.register.warning"} {else} {capture assign="settingsUrl"}{plugin_url path="settings"}{/capture} {translate key="plugins.importexport.common.register.noCredentials" settingsUrl=$settingsUrl} {/if}

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