mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8253 201d5d3c-b55e-5fd7-737f-ddc643e51545
34 lines
987 B
PHP
34 lines
987 B
PHP
<?php
|
|
/**
|
|
* @class layoutView
|
|
* @author NHN (developers@xpressengine.com)
|
|
* @brief layout 모듈의 admin view class
|
|
**/
|
|
|
|
class layoutView extends layout {
|
|
|
|
/**
|
|
* @brief 초기화
|
|
**/
|
|
function init() {
|
|
$this->setTemplatePath($this->module_path.'tpl');
|
|
}
|
|
|
|
/**
|
|
* @brief 레이아웃의 상세 정보(conf/info.xml)를 팝업 출력
|
|
**/
|
|
function dispLayoutInfo() {
|
|
// 선택된 레이아웃 정보를 구함
|
|
$oLayoutModel = &getModel('layout');
|
|
$layout_info = $oLayoutModel->getLayoutInfo(Context::get('selected_layout'));
|
|
if(!$layout_info) exit();
|
|
Context::set('layout_info', $layout_info);
|
|
|
|
// 레이아웃을 팝업으로 지정
|
|
$this->setLayoutFile('popup_layout');
|
|
|
|
// 템플릿 파일 지정
|
|
$this->setTemplateFile('layout_detail_info');
|
|
}
|
|
}
|
|
?>
|