댓글 신고시 신고 이유를 적을 수 있게 함

- 댓글에도 신고 이유를 적을 수 있다.
- 코드 정리
This commit is contained in:
MinSoo Kim 2016-01-29 01:22:09 +09:00
parent a9915a7986
commit 4bbd91bd3c
18 changed files with 415 additions and 41 deletions

View file

@ -69,8 +69,8 @@ class commentModel extends comment
}
// Add the report feature against abused posts
$url = sprintf("doCallModuleAction('comment','procCommentDeclare','%s')", $comment_srl);
$oCommentController->addCommentPopupMenu($url, 'cmd_declare', '', 'javascript');
$url = getUrl('', 'act', 'dispCommentDeclare', 'target_srl', $comment_srl);
$oCommentController->addCommentPopupMenu($url, 'cmd_declare', '', 'popup');
}
// call a trigger (after)