게시판 모듈에 블로그를 위한 기능 추가. xe_board 스킨에 블로그 스킨 추가 및 설정 표시. xe_board의 html/css 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3539 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-01-18 09:47:42 +00:00
parent 022ca81a06
commit 11adfbd902
53 changed files with 454 additions and 310 deletions

View file

@ -369,8 +369,7 @@
}
function getComments() {
if(!$this->allowComment() || !$this->get('comment_count')) return;
if(!$this->isGranted() && $this->isSecret()) return;
if(!$this->allowComment() || !$this->getCommentCount()) return;
$oCommentModel = &getModel('comment');
$output = $oCommentModel->getCommentList($this->document_srl, $is_admin);
@ -560,5 +559,21 @@
$file_list = $oFileModel->getFiles($this->document_srl, $is_admin);
return $file_list;
}
/**
* @brief 에디터 html을 구해서 return
**/
function getEditor() {
$oEditorModel = &getModel('editor');
return $oEditorModel->getModuleEditor('document', $this->get('module_srl'), $this->document_srl, 'document_srl', 'content');
}
/**
* @brief 댓글 에디터 html을 구해서 return
**/
function getCommentEditor() {
$oEditorModel = &getModel('editor');
return $oEditorModel->getModuleEditor('comment', $this->get('module_srl'), $comment_srl, 'comment_srl', 'content');
}
}
?>