%PDF-1.7 GIF89;
| Server IP : 172.66.157.178 / Your IP : 172.16.20.3 Web Server : Apache/2.4.25 (Debian) System : Linux f64a392e70de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : application ( 1000) PHP Version : 5.6.40 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /app/plugins/importexport/crossref/templates/ |
Upload File : |
{**
* @file plugins/importexport/crossref/templates/issues.tpl
*
* Copyright (c) 2013-2019 Simon Fraser University
* Copyright (c) 2003-2019 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* Select issues for export.
*}
{strip}
{assign var="pageTitle" value="plugins.importexport.common.export.selectIssue"}
{assign var="pageCrumbTitle" value="plugins.importexport.common.export.selectIssue"}
{include file="common/header.tpl"}
{/strip}
<script type="text/javascript">{literal}
function toggleChecked() {
var elements = document.getElementById('issuesForm').elements;
for (var i=0; i < elements.length; i++) {
if (elements[i].name == 'issueId[]') {
elements[i].checked = !elements[i].checked;
}
}
}
{/literal}</script>
<br />
<div id="issues">
<form action="{plugin_url path="process"}" method="post" id="issuesForm">
<input type="hidden" name="target" value="issue" />
<table width="100%" class="listing">
<tr>
<td colspan="5" class="headseparator"> </td>
</tr>
<tr class="heading" valign="bottom">
<td width="5%"> </td>
<td width="55%">{translate key="issue.issue"}</td>
<td width="15%">{translate key="editor.issues.published"}</td>
<td width="15%">{translate key="editor.issues.numArticles"}</td>
<td width="10%" align="right">{translate key="common.action"}</td>
</tr>
<tr>
<td colspan="5" class="headseparator"> </td>
</tr>
{iterate from=issues item=issue}
{assign var="issueId" value=$issue->getId()}
{if $allArticlesRegistered[$issueId]}
{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}
<tr valign="top">
<td>{if !$excludes[$issueId]}<input type="checkbox" name="issueId[]" value="{$issue->getId()}"/>{/if}</td>
<td><a href="{url page="issue" op="view" path=$issue->getId()}" class="action">{$issue->getIssueIdentification()|strip_unsafe_html|nl2br}</a></td>
<td>{$issue->getDatePublished()|date_format:"$dateFormatShort"|default:"—"}</td>
<td>{$numArticles[$issueId]|escape}</td>
<td align="right">
{if !$excludes[$issueId]}
<nobr>
{if $hasCredentials}
<a href="{plugin_url path="process" issueId=$issue->getId() params=$testMode target="issue" register=true}" title="{$updateOrRegisterDescription}" class="action">{$updateOrRegister}</a>
{/if}
<a href="{plugin_url path="process" issueId=$issue->getId() params=$testMode target="issue" export=true}" title="{translate key="plugins.importexport.common.exportDescription"}" class="action">{translate key="plugins.importexport.crossref.downloadXML"}</a>
</nobr>
{/if}
</td>
</tr>
<tr>
<td colspan="5" class="{if $issues->eof()}end{/if}separator"> </td>
</tr>
{/iterate}
{if $issues->wasEmpty()}
<tr>
<td colspan="5" class="nodata">{translate key="plugins.importexport.common.export.noIssues"}</td>
</tr>
<tr>
<td colspan="5" class="endseparator"> </td>
</tr>
{else}
<tr>
<td colspan="2" align="left">{page_info iterator=$issues}</td>
<td colspan="3" align="right">{page_links anchor="issues" name="issues" iterator=$issues}</td>
</tr>
{/if}
</table>
{if !$allExcluded}
<p>
{if !empty($testMode)}<input type="hidden" name="testMode" value="1" />{/if}
{if $hasCredentials}
<input type="submit" name="register" value="{translate key="plugins.importexport.common.register"}" title="{translate key="plugins.importexport.common.registerDescription.multi"}" class="button defaultButton"/>
{/if}
<input type="submit" name="export" value="{translate key="plugins.importexport.crossref.downloadXML"}" title="{translate key="plugins.importexport.common.exportDescription"}" class="button{if !$hasCredentials} defaultButton{/if}"/>
<input type="submit" name="markRegistered" value="{translate key="plugins.importexport.common.markRegistered"}" title="{translate key="plugins.importexport.common.markRegisteredDescription"}" class="button"/>
<input type="button" value="{translate key="common.selectAll"}" class="button" onclick="toggleChecked()" />
</p>
<p>
{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}
</p>
{/if}
</form>
</div>
{include file="common/footer.tpl"}