| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /inetpub/wwwroot/Topogeo/ojs/plugins/importexport/mets/ |
Upload File : |
{**
* issues.tpl
*
* Copyright (c) 2003-2012 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* List of issues to potentially export
*
* $Id$
*}
{strip}
{assign var="pageTitle" value="plugins.importexport.METSExport.export.selectIssue"}
{assign var="pageCrumbTitle" value="plugins.importexport.METSExport.export.selectIssue"}
{include file="common/header.tpl"}
{/strip}
<script type="text/javascript">
{literal}
<!--
function selectAll() {
document.issues.selButton.value = "Unselect All";
document.issues.selButton.attributes["onclick"].value = "javascript:unSelectAll();";
var elements = document.issues.elements;
for (var i=0; i < elements.length; i++) {
if (elements[i].name == 'issueId[]') {
elements[i].checked = true;
}
}
}
function unSelectAll() {
document.issues.selButton.value = "Select All";
document.issues.selButton.attributes["onclick"].value = "javascript:selectAll();";
var elements = document.issues.elements;
for (var i=0; i < elements.length; i++) {
if (elements[i].name == 'issueId[]') {
elements[i].checked = false;
}
}
}
function SubmitIfAnyIsChecked() {
var elements = document.issues.elements;
for (var i=0; i < elements.length; i++) {
if (elements[i].name == 'issueId[]') {
if(elements[i].checked){
document.issues.submit();
return true;
}
}
}
alert("No Issues selected");
return false;
}
// -->
{/literal}
</script>
<form action="{plugin_url path="exportIssues"}" method="post" name="issues">
<h3>{translate key="plugins.importexport.METSExport.settings"}</h3>
<table width="100%" class="data">
<tr valign="top">
<td width="60%" class="label" align="right">{translate key="plugins.importexport.METSExport.settings.FLocat"}</td>
<td width="40%" class="value"><input type="radio" name="contentWrapper" id="contentWrapper" value="FLocat" checked="checked" /></td>
</tr>
<tr valign="top">
<td class="label" align="right">{translate key="plugins.importexport.METSExport.settings.FContent"}</td>
<td class="value"><input type="radio" name="contentWrapper" id="contentWrapper" value="FContent" /></td>
</tr>
<tr>
<td colspan="2"><div class="separator"> </div></td>
</tr>
<tr valign="top">
<td class="label" align="right">{translate key="plugins.importexport.METSExport.settings.organization"}</td>
<td class="value"><input type="text" name="organization" id="organization" value="{$organization|escape}" size="20" maxlength="50" class="textField" /></td>
</tr>
<tr valign="top">
<td class="label" align="right">{translate key="plugins.importexport.METSExport.settings.preservationLevel"}</td>
<td class="value">
<input type="text" name="preservationLevel" id="preservationLevel" value="1" size="2" maxlength="1" class="textField" /></td>
</tr>
<tr valign="top">
<td class="label" align="right">{translate key="plugins.importexport.METSExport.settings.exportSuppFiles"}</td>
<td class="value"><input type="checkbox" name="exportSuppFiles" id="exportSuppFiles" value="on" /></td>
</tr>
</table>
<br/>
<table width="100%" class="listing">
<tr>
<td colspan="5" class="headseparator"> </td>
</tr>
<tr class="heading" valign="bottom">
<td width="5%"> </td>
<td width="60%">{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="5%" align="right">{translate key="common.action"}</td>
</tr>
<tr>
<td colspan="5" class="headseparator"> </td>
</tr>
{iterate from=issues item=issue}
<tr valign="top">
<td><input type="checkbox" name="issueId[]" value="{$issue->getId()}"/></td>
<td>{$issue->getIssueIdentification()|strip_unsafe_html|nl2br}</td>
<td>{$issue->getDatePublished()|date_format:"$dateFormatShort"|default:"—"}</td>
<td>{$issue->getNumArticles()|escape}</td>
<td align="right"><a href="{plugin_url path="exportIssue"|to_array:$issue->getId()}" class="action">{translate key="common.export"}</a></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="issue.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 name="issues" iterator=$issues}</td>
</tr>
{/if}
</table>
<p><input type="button" value="{translate key="common.export"}" class="button defaultButton" onclick="SubmitIfAnyIsChecked();return false;"/> <input type="button" id="selButton" value="{translate key="common.selectAll}" class="button" onclick="javascript:selectAll();" /></p>
</form>
{include file="common/footer.tpl"}