setTemplatePath($this->module_path.'tpl.admin'); } /** * @brief 레이아웃 관리의 첫 페이지 **/ function dispContent() { $oLayoutModel = &getModel('layout'); $layout_list = $oLayoutModel->getLayoutList(); Context::set('layout_list', $layout_list); $this->setTemplateFile('index'); } /** * @brief 레이아웃 등록 페이지 step 1 **/ function dispInsertLayout() { // 레이아웃 목록을 세팅 $oLayoutModel = &getModel('layout'); $layout_list = $oLayoutModel->getDownloadedLayoutList(); Context::set('layout_list', $layout_list); $this->setTemplateFile('insert_layout'); } /** * @brief 레이아웃 등록 페이지 step 2 **/ function dispInsertLayout2() { // 선택된 레이아웃의 정볼르 구해서 세팅 $layout = Context::get('layout'); $oLayoutModel = &getModel('layout'); $info = $oLayoutModel->getLayoutInfoXml($layout); Context::set('info', $info); $this->setTemplateFile('insert_layout2'); } /** * @brief 레이아웃 목록을 보여줌 **/ function dispLayoutList() { // 레이아웃 목록을 세팅 $oLayoutModel = &getModel('layout'); $layout_list = $oLayoutModel->getDownloadedLayoutList(); Context::set('layout_list', $layout_list); $this->setTemplateFile('layout_list'); } } ?>