| 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 : /Old Sites/Libteiser - Ojs/ojs/templates/sectionEditor/ |
Upload File : |
{**
* submissionEventLog.tpl
*
* Copyright (c) 2003-2008 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* Show submission event log page.
*
*
* $Id: submissionEventLog.tpl,v 1.28 2008/06/11 18:55:21 asmecher Exp $
*}
{assign var="pageTitle" value="submission.eventLog"}
{include file="common/header.tpl"}
<ul class="menu">
<li><a href="{url op="submission" path=$submission->getArticleId()}">{translate key="submission.summary"}</a></li>
{if $canReview}<li><a href="{url op="submissionReview" path=$submission->getArticleId()}">{translate key="submission.review"}</a></li>{/if}
{if $canEdit}<li><a href="{url op="submissionEditing" path=$submission->getArticleId()}">{translate key="submission.editing"}</a></li>{/if}
<li><a href="{url op="submissionHistory" path=$submission->getArticleId()}">{translate key="submission.history"}</a></li>
</ul>
<ul class="menu">
<li class="current"><a href="{url op="submissionEventLog" path=$submission->getArticleId()}">{translate key="submission.history.submissionEventLog"}</a></li>
<li><a href="{url op="submissionEmailLog" path=$submission->getArticleId()}">{translate key="submission.history.submissionEmailLog"}</a></li>
<li><a href="{url op="submissionNotes" path=$submission->getArticleId()}">{translate key="submission.history.submissionNotes"}</a></li>
</ul>
{include file="sectionEditor/submission/summary.tpl"}
<div class="separator"></div>
<a name="eventLogEntries"></a>
<h3>{translate key="submission.history.submissionEventLog"}</h3>
<table width="100%" class="listing">
<tr><td class="headseparator" colspan="5"> </td></tr>
<tr valign="top" class="heading">
<td width="7%">{translate key="common.date"}</td>
<td width="5%">{translate key="submission.event.logLevel"}</td>
<td width="25%">{translate key="common.user"}</td>
<td>{translate key="common.event"}</td>
<td width="56" align="right">{translate key="common.action"}</td>
</tr>
<tr><td class="headseparator" colspan="5"> </td></tr>
{iterate from=eventLogEntries item=logEntry}
<tr valign="top">
<td>{$logEntry->getDateLogged()|date_format:$dateFormatShort}</td>
<td>{$logEntry->getLogLevel()|escape}</td>
<td>
{assign var=emailString value="`$logEntry->getUserFullName()` <`$logEntry->getUserEmail()`>"}
{url|assign:"url" page="user" op="email" to=$emailString|to_array redirectUrl=$currentUrl subject=$logEntry->getEventTitle()|translate articleId=$submission->getArticleId()}
{$logEntry->getUserFullName()|escape} {icon name="mail" url=$url}
</td>
<td>
{translate key=$logEntry->getEventTitle()}
<br />
{$logEntry->getMessage()|strip_unsafe_html|truncate:60:"..."|escape}
</td>
<td align="right">{if $logEntry->getAssocType()}<a href="{url op="submissionEventLogType" path=$submission->getArticleId()|to_array:$logEntry->getAssocType():$logEntry->getAssocId()}" class="action">{translate key="common.related"}</a> | {/if}<a href="{url op="submissionEventLog" path=$submission->getArticleId()|to_array:$logEntry->getLogId()}" class="action">{translate key="common.view"}</a>{if $isEditor} | <a href="{url op="clearSubmissionEventLog" path=$submission->getArticleId()|to_array:$logEntry->getLogId()}" class="action" onclick="return confirm('{translate|escape:"jsparam" key="submission.event.confirmDeleteLogEntry"}')" class="icon">{translate key="common.delete"}</a>{/if}</td>
</tr>
<tr valign="top">
<td colspan="5" class="{if $eventLogEntries->eof()}end{/if}separator"> </td>
</tr>
{/iterate}
{if $eventLogEntries->wasEmpty()}
<tr valign="top">
<td colspan="5" class="nodata">{translate key="submission.history.noLogEntries"}</td>
</tr>
<tr valign="top">
<td colspan="5" class="endseparator"> </td>
</tr>
{else}
<tr>
<td colspan="3" align="left">{page_info iterator=$eventLogEntries}</td>
<td colspan="2" align="right">{page_links anchor="eventLogEntries" name="eventLogEntries" iterator=$eventLogEntries}</td>
</tr>
{/if}
</table>
{if $isEditor}
<a href="{url op="clearSubmissionEventLog" path=$submission->getArticleId()}" class="action" onclick="return confirm('{translate|escape:"jsparam" key="submission.event.confirmClearLog"}')">{translate key="submission.history.clearLog"}</a>
{/if}
{include file="common/footer.tpl"}