mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Fix #1031 deleted comment is shown as secret
This commit is contained in:
parent
4b0e56b2d2
commit
45851744c1
2 changed files with 12 additions and 11 deletions
|
|
@ -15,7 +15,11 @@
|
||||||
</h3>
|
</h3>
|
||||||
<p class="time">{$comment->getRegdate('Y.m.d H:i')}</p>
|
<p class="time">{$comment->getRegdate('Y.m.d H:i')}</p>
|
||||||
</div>
|
</div>
|
||||||
<!--@if(!$comment->isAccessible())-->
|
<!--@if($comment->status == RX_STATUS_DELETED)-->
|
||||||
|
<div class="xe_content deleted">{$lang->msg_deleted_comment}</div>
|
||||||
|
<!--@elseif($comment->status == RX_STATUS_DELETED_BY_ADMIN)-->
|
||||||
|
<div class="xe_content deleted deleted_by_admin">{$lang->msg_admin_deleted_comment}</div>
|
||||||
|
<!--@elseif(!$comment->isAccessible())-->
|
||||||
<form action="./" method="get" class="xe_content" onsubmit="return procFilter(this, input_password)">
|
<form action="./" method="get" class="xe_content" onsubmit="return procFilter(this, input_password)">
|
||||||
<p><label for="cpw_{$comment->comment_srl}">{$lang->msg_is_secret} {$lang->msg_input_password}</label></p>
|
<p><label for="cpw_{$comment->comment_srl}">{$lang->msg_is_secret} {$lang->msg_input_password}</label></p>
|
||||||
<p><input type="password" name="password" id="cpw_{$comment->comment_srl}" class="iText" /><input type="submit" class="btn" value="{$lang->cmd_input}" /></p>
|
<p><input type="password" name="password" id="cpw_{$comment->comment_srl}" class="iText" /><input type="submit" class="btn" value="{$lang->cmd_input}" /></p>
|
||||||
|
|
@ -25,14 +29,7 @@
|
||||||
<input type="hidden" name="comment_srl" value="{$comment->get('comment_srl')}" />
|
<input type="hidden" name="comment_srl" value="{$comment->get('comment_srl')}" />
|
||||||
</form>
|
</form>
|
||||||
<!--@else-->
|
<!--@else-->
|
||||||
<!--@if($comment->status == 7)-->
|
{$comment->getContent(false)}
|
||||||
{$lang->msg_deleted_comment}
|
|
||||||
<!--@elseif($comment->status == 8)-->
|
|
||||||
{$lang->msg_admin_deleted_comment}
|
|
||||||
<!--@end-->
|
|
||||||
<block cond="$comment->status < 7">
|
|
||||||
{$comment->getContent(false)}
|
|
||||||
</block>
|
|
||||||
<!--@end-->
|
<!--@end-->
|
||||||
<div cond="$comment->hasUploadedFiles()" class="fileList">
|
<div cond="$comment->hasUploadedFiles()" class="fileList">
|
||||||
<button type="button" class="toggleFile" onclick="jQuery(this).next('ul.files').toggle();">{$lang->uploaded_file} [<strong>{$comment->get('uploaded_count')}</strong>]</button>
|
<button type="button" class="toggleFile" onclick="jQuery(this).next('ul.files').toggle();">{$lang->uploaded_file} [<strong>{$comment->get('uploaded_count')}</strong>]</button>
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,11 @@
|
||||||
</h3>
|
</h3>
|
||||||
<p class="time">{$comment->getRegdate('Y.m.d H:i')}</p>
|
<p class="time">{$comment->getRegdate('Y.m.d H:i')}</p>
|
||||||
</div>
|
</div>
|
||||||
<!--@if(!$comment->isAccessible())-->
|
<!--@if($comment->status == RX_STATUS_DELETED)-->
|
||||||
|
<div class="xe_content deleted">{$lang->msg_deleted_comment}</div>
|
||||||
|
<!--@elseif($comment->status == RX_STATUS_DELETED_BY_ADMIN)-->
|
||||||
|
<div class="xe_content deleted deleted_by_admin">{$lang->msg_admin_deleted_comment}</div>
|
||||||
|
<!--@elseif(!$comment->isAccessible())-->
|
||||||
<form action="./" method="get" class="xe_content secretForm" onsubmit="return procFilter(this, input_password)">
|
<form action="./" method="get" class="xe_content secretForm" onsubmit="return procFilter(this, input_password)">
|
||||||
<p><label for="cpw_{$comment->comment_srl}">{$lang->msg_is_secret} {$lang->msg_input_password}</label></p>
|
<p><label for="cpw_{$comment->comment_srl}">{$lang->msg_is_secret} {$lang->msg_input_password}</label></p>
|
||||||
<p><input type="password" name="password" id="cpw_{$comment->comment_srl}" class="iText" /><input type="submit" class="btn" value="{$lang->cmd_input}" /></p>
|
<p><input type="password" name="password" id="cpw_{$comment->comment_srl}" class="iText" /><input type="submit" class="btn" value="{$lang->cmd_input}" /></p>
|
||||||
|
|
@ -25,7 +29,7 @@
|
||||||
<input type="hidden" name="comment_srl" value="{$comment->get('comment_srl')}" />
|
<input type="hidden" name="comment_srl" value="{$comment->get('comment_srl')}" />
|
||||||
</form>
|
</form>
|
||||||
<!--@else-->
|
<!--@else-->
|
||||||
{$comment->getContent(false)}
|
{$comment->getContent(false)}
|
||||||
<!--@end-->
|
<!--@end-->
|
||||||
<div cond="$comment->hasUploadedFiles()" class="fileList">
|
<div cond="$comment->hasUploadedFiles()" class="fileList">
|
||||||
<button type="button" class="toggleFile" onclick="jQuery(this).next('ul.files').toggle();"><i class="xi-diskette"></i> {$lang->uploaded_file} [<strong>{$comment->get('uploaded_count')}</strong>]</button>
|
<button type="button" class="toggleFile" onclick="jQuery(this).next('ul.files').toggle();"><i class="xi-diskette"></i> {$lang->uploaded_file} [<strong>{$comment->get('uploaded_count')}</strong>]</button>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue