본 블로그 게시물은 XE SketchBook5를 기반으로 작성되었습니다
.
/* 적용 스크린 샷 */
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | <!--// 댓글 본문 --> <!--@if(!$comment->isAccessible())--> < form action = "./" method = "get" onsubmit = "return procFilter(this, input_password)" > < input name = "mid" value = "{$mid}" type = "hidden" > < input name = "page" value = "{$page}" type = "hidden" > < input name = "document_srl" value="{$comment->get('document_srl')}" type="hidden"> < input name = "comment_srl" value="{$comment->get('comment_srl')}" type="hidden"> < p >"{$lang->msg_is_secret}"</ p > < span class = "itx_wrp" > < label for="cpw_{$comment->comment_srl}">{$lang->password}</ label > < input id="cpw_{$comment->comment_srl}" name="password" class="itx" type="password"> < input value="{$lang->cmd_input}" class="bd_btn" type="submit"> </ span > </ form > <!--@else--> {$comment->getContent(false)} <!--@end--> <!--// 편집 등 --> < div class = "fdb_nav img_tx" > < block cond="$mi->cmt_this_btn=='2' && $is_logged"> < a href = "#" onclick="doCallModuleAction('comment','procCommentDeclare','{$comment->comment_srl}');return false">< i class = "fa fa-phone" ></ i >{$lang->cmd_declare}</ a > < a href = "#" onclick="doCallModuleAction('comment','procCommentVoteUp','{$comment->comment_srl}');return false">< i class = "fa fa-heart color" ></ i >{$lang->cmd_vote}</ a > < a cond="!$mi->cmt_vote_down" href="#" onclick="doCallModuleAction('comment','procCommentVoteDown','{$comment->comment_srl}');return false">< i class = "fa fa-heart" ></ i >{$lang->cmd_vote_down}</ a > </ block > </ div > |
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | <!--// 댓글 본문 --> <!--@if(!$comment->isAccessible())--> < form action = "./" method = "get" onsubmit = "return procFilter(this, input_password)" > < input name = "mid" value = "{$mid}" type = "hidden" > < input name = "page" value = "{$page}" type = "hidden" > < input name = "document_srl" value="{$comment->get('document_srl')}" type="hidden"> < input name = "comment_srl" value="{$comment->get('comment_srl')}" type="hidden"> < p >"{$lang->msg_is_secret}"</ p > < span class = "itx_wrp" > < label for="cpw_{$comment->comment_srl}">{$lang->password}</ label > < input id="cpw_{$comment->comment_srl}" name="password" class="itx" type="password"> < input value="{$lang->cmd_input}" class="bd_btn" type="submit"> </ span > </ form > <!--@else--> <!--@if($comment->parent_srl)--> {@ $oComment = &getModel('comment'); $comment_parent = $oComment->getComment($comment->parent_srl); } {$comment_parent->getNickName()} 님에게 달린 댓글 {$comment->getContent(false)} <!--@else--> {$comment->getContent(false)} <!--@end--> <!--@end--> <!--// 편집 등 --> < div class = "fdb_nav img_tx" > < block cond="$mi->cmt_this_btn=='2' && $is_logged"> < a href = "#" onclick="doCallModuleAction('comment','procCommentDeclare','{$comment->comment_srl}');return false">< i class = "fa fa-phone" ></ i >{$lang->cmd_declare}</ a > < a href = "#" onclick="doCallModuleAction('comment','procCommentVoteUp','{$comment->comment_srl}');return false">< i class = "fa fa-heart color" ></ i >{$lang->cmd_vote}</ a > < a cond="!$mi->cmt_vote_down" href="#" onclick="doCallModuleAction('comment','procCommentVoteDown','{$comment->comment_srl}');return false">< i class = "fa fa-heart" ></ i >{$lang->cmd_vote_down}</ a > </ block >< font face = "돋움" >< span style = "white-space: normal;" > </ span ></ font ></ div > |
대댓글일 경우에만 'OOO님에게 달린 댓글' 이 먼저 나오게 됩니다.
따로 수정하실 분들은 저 부분만 수정하시면 됩니다.
'Web > XE' 카테고리의 다른 글
[XE] PHP를 이용해 DB의 내용을 JSON 형식으로 출력하기 (0) | 2015.03.04 |
---|---|
[XE] 회원가입 항목 관리자만 추가/수정 가능하게 만들기 (0) | 2015.03.04 |