mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@323 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
e8392161fe
commit
c32a8400d3
10 changed files with 107 additions and 51 deletions
|
|
@ -45,21 +45,12 @@
|
|||
// 선택된 레이아웃의 정보르 구해서 세팅
|
||||
$layout_srl = Context::get('layout_srl');
|
||||
|
||||
// DB에 등록된 레이아웃의 정보를 가져옴
|
||||
// 레이아웃의 정보를 가져옴
|
||||
$oLayoutModel = &getModel('layout');
|
||||
$layout_info = $oLayoutModel->getLayout($layout_srl);
|
||||
|
||||
// 등록된 레이아웃이 없으면 오류 표시
|
||||
if(!$layout_info) return $this->dispContent();
|
||||
$layout_title = $layout_info->title;
|
||||
|
||||
// xml 정보를 가져옴
|
||||
$layout = $layout_info->layout;
|
||||
$layout_info = $oLayoutModel->getLayoutInfoXml($layout, $layout_srl);
|
||||
|
||||
// 기본 layout_info에 세부 정보를 입력할 layout_srl, layout_title을 추가
|
||||
$layout_info->layout_srl = $layout_srl;
|
||||
$layout_info->layout_title = $layout_title;
|
||||
|
||||
Context::set('layout_info', $layout_info);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue