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

- 댓글에도 신고 이유를 적을 수 있다.
- 코드 정리
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

@ -162,7 +162,7 @@ class documentAdminView extends document
}
/**
* Display a report list on the admin page
* Display a reported post and log of reporting
* @return void
*/
function dispDocumentAdminDeclaredLogByDocumentSrl()
@ -178,7 +178,6 @@ class documentAdminView extends document
// get Status name list
$oDocumentModel = getModel('document');
$oMemberModel = getModel('member');
$statusNameList = $oDocumentModel->getStatusNameList();
$oDocument = $oDocumentModel->getDocument($args->document_srl);
$declared_output = executeQuery('document.getDeclaredLogByDocumentSrl', $args);
@ -200,7 +199,6 @@ class documentAdminView extends document
Context::set('reporter_list', $reporter_list);
Context::set('declared_document', $oDocument);
Context::set('page_navigation', $declared_output->page_navigation);
Context::set('status_name_list', $statusNameList);
// Set the template
$this->setLayoutFile('popup_layout');