#18953798 : manage mobile layouts

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7524 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2010-06-21 04:54:56 +00:00
parent c797d3a294
commit e6c40ada52
22 changed files with 185 additions and 10 deletions

View file

@ -25,6 +25,15 @@
$this->setTemplateFile('index');
}
function dispLayoutAdminMobileContent() {
$oLayoutModel = &getModel('layout');
$layout_list = $oLayoutModel->getLayoutList(0, "M");
Context::set('layout_list', $layout_list);
$this->setTemplateFile('mindex');
}
/**
* @brief 레이아웃 등록 페이지
* 1차적으로 레이아웃만 선택한 DB 값을 넣고 상세 설정하는 단계를 거침
@ -32,7 +41,8 @@
function dispLayoutAdminInsert() {
// 레이아웃 목록을 세팅
$oLayoutModel = &getModel('layout');
$layout_list = $oLayoutModel->getDownloadedLayoutList();
$layout_type = Context::get('layout_type');
$layout_list = $oLayoutModel->getDownloadedLayoutList($layout_type);
Context::set('layout_list', $layout_list);
$this->setTemplateFile('insert_layout');
@ -128,6 +138,15 @@
$this->setTemplateFile('downloaded_layout_list');
}
function dispLayoutAdminDownloadedMobileList() {
// 레이아웃 목록을 세팅
$oLayoutModel = &getModel('layout');
$layout_list = $oLayoutModel->getDownloadedLayoutList(0, "M");
Context::set('layout_list', $layout_list);
$this->setTemplateFile('downloaded_mlayout_list');
}
/**
* @brief 레이아웃 미리 보기
**/