mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-30 15:52:17 +09:00
게시판 정보 보기를 수정하는 페이지로 대체
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4774 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
9b3a48f06f
commit
3b214f9602
2 changed files with 1 additions and 154 deletions
|
|
@ -78,29 +78,7 @@
|
|||
**/
|
||||
function dispBoardAdminBoardInfo() {
|
||||
|
||||
// module_srl 값이 없다면 그냥 index 페이지를 보여줌
|
||||
if(!Context::get('module_srl')) return $this->dispBoardAdminContent();
|
||||
if(!in_array($this->module_info->module, array('admin', 'board','blog','guestbook'))) {
|
||||
return $this->alertMessage('msg_invalid_request');
|
||||
}
|
||||
|
||||
// 레이아웃이 정해져 있다면 레이아웃 정보를 추가해줌(layout_title, layout)
|
||||
if($this->module_info->layout_srl) {
|
||||
$oLayoutModel = &getModel('layout');
|
||||
$layout_info = $oLayoutModel->getLayout($this->module_info->layout_srl);
|
||||
$this->module_info->layout = $layout_info->layout;
|
||||
$this->module_info->layout_title = $layout_info->layout_title;
|
||||
}
|
||||
|
||||
// 정해진 스킨이 있으면 해당 스킨의 정보를 구함
|
||||
if($this->module_info->skin) {
|
||||
$oModuleModel = &getModel('module');
|
||||
$skin_info = $oModuleModel->loadSkinInfo($this->module_path, $this->module_info->skin);
|
||||
$this->module_info->skin_title = $skin_info->title;
|
||||
}
|
||||
|
||||
// 템플릿 파일 지정
|
||||
$this->setTemplateFile('board_info');
|
||||
$this->dispBoardAdminInsertBoard();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue