<a cond="$cmment->homepage" href="{$comment->homepage}">{$comment->getNickName()}</a> <strong cond="!$comment->homepage">{$comment->getNickName()}</strong> {$comment->getRegdate('Y.m.d H:i')} {$comment->getContent(false)} <load target="../../tpl/filter/delete_comment.xml" /> <form action="./" method="get" onsubmit="return procFilter(this, delete_comment)"> <input type="hidden" name="mid" value="{$mid}" /> <input type="hidden" name="page" value="{$page}" /> <input type="hidden" name="document_srl" value="{$comment->get('document_srl')}" /> <input type="hidden" name="comment_srl" value="{$comment->get('comment_srl')}" /> {$lang->confirm_delete} <input type="submit" value="{$lang->cmd_delete}" /> <button type="button" onclick="history.back()">{$lang->cmd_cancel}</button> </form>
_comment.html 파일에 원하는 위치에 위와 같이 작성하면 됩니다.
우리 그동안 delete_comment_form에서 삭제했는데, 그럴 필요가 없었어요!!
모달창으로 삭제합시다^^