mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
블로그 모듈의 기본 스킨들에서 댓글의 에디터도 위지윅 에디터로 대체하였음.
기본 board모듈의 스킨은 filter/insert.xml에서 document_srl을 제거해야 함.
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2572 201d5d3c-b55e-5fd7-737f-ddc643e51545
69 lines
2.8 KiB
HTML
69 lines
2.8 KiB
HTML
<!--%import("filter/insert_comment.xml")-->
|
|
<!--%import("js/blog.js")-->
|
|
|
|
<!--@if($source_comment || $comment)-->
|
|
<!--#include("header.html")-->
|
|
<!--@end-->
|
|
|
|
<!-- 만약 댓글의 답을 다는 것이라면 원문 보여줌 -->
|
|
<!--@if($source_comment)-->
|
|
<div class="blogRead">
|
|
<div id="reply" class="comment topBorder">
|
|
<div class="contentBox">
|
|
<div class="content">
|
|
{$source_comment->content}
|
|
</div>
|
|
|
|
<div class="author member_{$source_comment->member_srl} author">{htmlspecialchars($source_comment->nick_name)}</div>
|
|
<span class="date">
|
|
{zdate($source_comment->regdate, "Y.m.d H:i")}
|
|
<!--@if($grant->is_admin)-->
|
|
({$source_comment->ipaddress})
|
|
<!--@end-->
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!--@end-->
|
|
|
|
<!-- 글쓰기 폼 -->
|
|
<div class="blogWrite">
|
|
|
|
<form action="./" method="post" onsubmit="return procFilter(this, insert_comment)" <!--@if($grant->fileupload)-->enctype="multipart/form-data"<!--@end--> class="blogEditor" id="fo_comment_write" >
|
|
<fieldset>
|
|
<input type="hidden" name="mid" value="{$mid}" />
|
|
<input type="hidden" name="document_srl" value="{$document_srl?$document_srl:$comment->document_srl}" />
|
|
<input type="hidden" name="comment_srl" value="{$comment_srl}" />
|
|
<input type="hidden" name="parent_srl" value="{$parent_srl}" />
|
|
<input type="hidden" name="content" value="{htmlspecialchars($comment->content)}" />
|
|
|
|
<!--@if(!$is_logged)-->
|
|
<div class="userNameAndPw">
|
|
<label for="userName">{$lang->writer}</label>
|
|
<input type="text" name="nick_name" value="{$comment->nick_name}" class="userName inputTypeText" id="userName"/>
|
|
|
|
<label for="userPw">{$lang->password}</label>
|
|
<input type="password" name="password" value="" id="userPw" class="userPw inputTypeText" />
|
|
|
|
<label for="emailAddress">{$lang->email_address}</label>
|
|
<input type="text" name="email_address" value="{htmlspecialchars($comment->email_address)}" id="emailAddress" class="emailAddress inputTypeText"/>
|
|
|
|
<label for="homePage">{$lang->homepage}</label>
|
|
<input type="text" name="homepage" value="{htmlspecialchars($comment->homepage)}" id="homePage" class="homePage inputTypeText"/>
|
|
</div>
|
|
<!--@end-->
|
|
|
|
<div class="commentForm">
|
|
<div>{$editor?$editor:$comment_editor[$document_srl]}</div>
|
|
<div class="tCenter"><input type="image" src="./images/common/btn_reply2.gif" accesskey="s" /></div>
|
|
</div>
|
|
|
|
|
|
</fieldset>
|
|
|
|
</form>
|
|
</div>
|
|
|
|
<!--@if($source_comment)-->
|
|
<!--#include("footer.html")-->
|
|
<!--@end-->
|