mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
댓글 신고 취소 기능 추가
This commit is contained in:
parent
5d012bee82
commit
a21d14ac09
6 changed files with 229 additions and 13 deletions
|
|
@ -2,9 +2,13 @@
|
|||
<load target="./css/declare_comment.css" />
|
||||
<form action="./" method="post" id="fo_component" ruleset="insertDeclare">
|
||||
<input type="hidden" name="module" value="comment" />
|
||||
<!--@if($type == 'cancel')-->
|
||||
<input type="hidden" name="act" value="procCommentDeclareCancel" />
|
||||
<!--@else-->
|
||||
<input type="hidden" name="act" value="procCommentDeclare" />
|
||||
<!--@end-->
|
||||
<input type="hidden" name="target_srl" value="{$target_srl}" />
|
||||
<input type="hidden" name="success_return_url" value="{getUrl('', 'act', $act, 'target_srl', $target_srl)}" />
|
||||
<input type="hidden" name="success_return_url" value="{getUrl('', 'mid', $mid, 'act', $act, 'target_srl', $target_srl)}" />
|
||||
<input type="hidden" name="xe_validator_id" value="modules/comment/tpl/1" />
|
||||
<div class="x_modal-header">
|
||||
<h1>{$lang->improper_comment_declare} <!--@if($type == 'cancel')-->{$lang->cmd_cancel}<!--@end--></h1>
|
||||
|
|
@ -16,6 +20,7 @@
|
|||
<p>{$target_comment->getSummary(200)}</p>
|
||||
</section>
|
||||
</blockquote>
|
||||
<!--@if($type !== 'cancel')-->
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="message_option">{$lang->improper_comment_declare_reason}</label>
|
||||
<div class="x_controls">
|
||||
|
|
@ -26,16 +31,20 @@
|
|||
<p>{$lang->about_improper_comment_declare}<p>
|
||||
</div>
|
||||
</div>
|
||||
<!--@end-->
|
||||
<div class="x_modal-footer">
|
||||
<span class="x_btn-group x_pull-right">
|
||||
<button type="submit" class="x_btn x_btn-primary">{$lang->cmd_submit}</button>
|
||||
<button type="submit" class="x_btn x_btn-primary"><!--@if($type == 'cancel')-->{$lang->cmd_cancel_declare}<!--@else-->{$lang->cmd_submit}<!--@end--></button>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<script cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/comment/tpl/1'">
|
||||
alert("{$XE_VALIDATOR_MESSAGE}");
|
||||
window.close();
|
||||
if (opener) {
|
||||
opener.location.reload();
|
||||
window.close();
|
||||
}
|
||||
</script>
|
||||
<script>
|
||||
(function($){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue