[ Mini Kiebo ]
Server: Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586
Path:
D:
/
Backup
/
14082024
/
Data
/
htdocs
/
htdocs
/
ojs
/
248
/
plugins
/
importexport
/
medra
/
templates
/
[
Home
]
File: galleys.tpl
{** * @file plugins/importexport/medra/templates/galleys.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 galleys for export. *} {strip} {assign var="pageTitle" value="plugins.importexport.common.export.selectGalley"} {assign var="pageCrumbTitle" value="plugins.importexport.common.export.selectGalley"} {include file="common/header.tpl"} {/strip} <script type="text/javascript">{literal} function toggleChecked() { var elements = document.getElementById('galleysForm').elements; for (var i=0; i < elements.length; i++) { if (elements[i].name == 'galleyId[]') { elements[i].checked = !elements[i].checked; } } } {/literal}</script> <br /> <div id="galleys"> <p>{translate key="plugins.importexport.medra.workOrProduct"}</p> <form action="{plugin_url path="process"}" method="post" id="galleysForm"> <input type="hidden" name="target" value="article" /> <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=galleys item=galleyData} {assign var=galley value=$galleyData.galley} {assign var=language value=$galleyData.language} {assign var=article value=$galleyData.article} {assign var=issue value=$galleyData.issue} {if $galley->getData('medra::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} <tr valign="top"> <td><input type="checkbox" name="galleyId[]" value="{$galley->getId()}"/></td> <td><a href="{url page="issue" op="view" path=$issue->getId()}" class="action">{$issue->getIssueIdentification()|strip_tags}</a></td> <td><a href="{url page="article" op="view" path=$article->getId()|to_array:$galley->getId()}" class="action">{$article->getLocalizedTitle()|cat:' ('|cat:$galley->getLabel()|cat:', '|cat:$language->getName()|cat:')'|strip_unsafe_html}</a></td> <td>{$article->getAuthorString()|escape}</td> <td align="right"><nobr> {if $hasCredentials} <a href="{plugin_url path="process" galleyId=$galley->getId() params=$testMode target="galley" register=true}" title="{$updateOrRegisterDescription}" class="action">{$updateOrRegister}</a> {if $galley->getData('medra::registeredDoi')}<a href="{plugin_url path="process" galleyId=$galley->getId() params=$testMode target="galley" reset=true}" title="{translate key="plugins.importexport.medra.resetDescription"}" class="action">{translate key="plugins.importexport.medra.reset"}</a>{/if} {/if} <a href="{plugin_url path="process" galleyId=$galley->getId() params=$testMode target="galley" export=true}" title="{translate key="plugins.importexport.common.exportDescription"}" class="action">{translate key="common.export"}</a> </nobr></td> </tr> <tr> <td colspan="5" class="{if $galleys->eof()}end{/if}separator"> </td> </tr> {/iterate} {if $galleys->wasEmpty()} <tr> <td colspan="5" class="nodata">{translate key="plugins.importexport.common.export.noGalleys"}</td> </tr> <tr> <td colspan="5" class="endseparator"> </td> </tr> {else} <tr> <td colspan="2" align="left">{page_info iterator=$galleys}</td> <td colspan="3" align="right">{page_links anchor="galleys" name="galleys" iterator=$galleys}</td> </tr> {/if} </table> <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="common.export"}" title="{translate key="plugins.importexport.common.exportDescription"}" class="button{if !$hasCredentials} defaultButton{/if}"/> <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> </form> </div> {include file="common/footer.tpl"}