신고 후 메시지 표현 개선

- 신고 후 메시지를 읽고 나면 자동으로 창이 닫히게 수정.
This commit is contained in:
MinSoo Kim 2016-01-29 01:47:28 +09:00
parent 4bbd91bd3c
commit d512d33e9b
2 changed files with 8 additions and 6 deletions

View file

@ -1,8 +1,9 @@
{@Context::addMetaTag('viewport', 'width=device-width, user-scalable=no', FALSE);}
<load target="./css/declare_comment.css" />
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/comment/tpl/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>
<script cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/comment/tpl/1'">
alert("{$XE_VALIDATOR_MESSAGE}");
window.close();
</script>
<section class="declare_comment">
<h1>{$lang->improper_comment_declare}</h1>
<form action="./" method="post" id="fo_component" ruleset="insertDeclare">