%PDF-1.7 GIF89;
| Server IP : 172.66.157.178 / 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/comment/ |
Upload File : |
{**
* templates/submission/comment/editorDecisionComment.tpl
*
* Copyright (c) 2003-2012 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* Form to enter comments.
*
*}
{strip}
{include file="submission/comment/header.tpl"}
{/strip}
<script type="text/javascript">
{literal}
<!--
// In case this page is the result of a comment submit, reload the parent
// so that the necessary buttons will be activated.
window.opener.location.reload();
// -->
{/literal}
</script>
<div id="existingComments">
<table class="data" width="100%">
{foreach from=$articleComments item=comment}
<div id="comment">
<tr valign="top">
<td width="25%">
<div class="commentRole">{translate key=$comment->getRoleName()}</div>
<div class="commentDate">{$comment->getDatePosted()|date_format:$datetimeFormatShort}</div>
</td>
<td width="75%">
{if $comment->getAuthorId() eq $userId and not $isLocked}
<div style="float: right"><a href="{url op="deleteComment" path=$articleId|to_array:$comment->getId()}" onclick="return confirm('{translate|escape:"jsparam" key="submission.comments.confirmDelete"}')" class="action">{translate key="common.delete"}</a></div>
{/if}
<div id="{$comment->getId()}"></a>
{if $comment->getCommentTitle() neq ""}
<div class="commentTitle">{translate key="submission.comments.subject"}: {$comment->getCommentTitle()|escape}</div>
{/if}
</div>
<div class="comments">{$comment->getComments()|strip_unsafe_html|nl2br}</div>
</td>
</tr>
</div>
{foreachelse}
<tr>
<td class="nodata">{translate key="submission.comments.noComments"}</td>
</tr>
{/foreach}
</table>
</div>
<br />
<br />
{if not $isLocked and $isEditor}
<form method="post" action="{url op=$commentAction}">
{if $hiddenFormParams}
{foreach from=$hiddenFormParams item=hiddenFormParam key=key}
<input type="hidden" name="{$key|escape}" value="{$hiddenFormParam|escape}" />
{/foreach}
{/if}
<div id="new">
{include file="common/formErrors.tpl"}
<table class="data" width="100%">
<tr valign="top">
<td class="label">{fieldLabel name="commentTitle" key="submission.comments.subject"}</td>
<td class="value"><input type="text" name="commentTitle" id="commentTitle" value="{$commentTitle|escape}" size="50" maxlength="255" class="textField" /></td>
</tr>
<tr valign="top">
<td class="label">{fieldLabel name="comments" key="submission.comments.addComment"}</td>
<td class="value"><textarea id="comments" name="comments" rows="10" cols="50" class="textArea">{$comments|escape}</textarea></td>
</tr>
</table>
<p><input type="submit" name="save" value="{translate key="common.save"}" class="button defaultButton" /> <input type="button" value="{translate key="common.close"}" class="button" onclick="window.close()" /></p>
<p><span class="formRequired">{translate key="common.requiredField"}</span></p>
</div>
</form>
{else}
<input type="button" value="{translate key="common.close"}" class="button defaultButton" style="width: 5em" onclick="window.close()" />
{/if}
{include file="submission/comment/footer.tpl"}