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@1065 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
43dac1f249
commit
4addc42763
4 changed files with 13 additions and 7 deletions
|
|
@ -32,7 +32,12 @@
|
||||||
// 레이아웃을 컴파일
|
// 레이아웃을 컴파일
|
||||||
require_once("./classes/template/TemplateHandler.class.php");
|
require_once("./classes/template/TemplateHandler.class.php");
|
||||||
$oTemplate = new TemplateHandler();
|
$oTemplate = new TemplateHandler();
|
||||||
$zbxe_final_content = $oTemplate->compile($oModule->getLayoutPath(), $oModule->getLayoutFile());
|
|
||||||
|
$layout_path = $oModule->getLayoutPath();
|
||||||
|
$layout_file = $oModule->getLayoutFile();
|
||||||
|
if(!$layout_path) $layout_path = './common/tpl/';
|
||||||
|
if(!$layout_file) $layout_file = 'default_layout.html';
|
||||||
|
$zbxe_final_content = $oTemplate->compile($layout_path, $layout_file);
|
||||||
|
|
||||||
// 각 플러그인, 에디터 컴포넌트의 코드 변경
|
// 각 플러그인, 에디터 컴포넌트의 코드 변경
|
||||||
$oContext = &Context::getInstance();
|
$oContext = &Context::getInstance();
|
||||||
|
|
|
||||||
|
|
@ -184,7 +184,7 @@
|
||||||
Context::set('zbxe_url', $zbxe_url);
|
Context::set('zbxe_url', $zbxe_url);
|
||||||
|
|
||||||
// 해당 모듈에 layout_srl이 있는지 확인
|
// 해당 모듈에 layout_srl이 있는지 확인
|
||||||
if($oModule->module_info->layout_srl) {
|
if($oModule->module_info->layout_srl && !$oModule->getLayoutFile()) {
|
||||||
// layout_srl이 있으면 해당 레이아웃 정보를 가져와 layout_path/ layout_file 위치 변경
|
// layout_srl이 있으면 해당 레이아웃 정보를 가져와 layout_path/ layout_file 위치 변경
|
||||||
$oLayoutModel = &getModel('layout');
|
$oLayoutModel = &getModel('layout');
|
||||||
$layout_info = $oLayoutModel->getLayout($oModule->module_info->layout_srl);
|
$layout_info = $oLayoutModel->getLayout($oModule->module_info->layout_srl);
|
||||||
|
|
|
||||||
|
|
@ -20,8 +20,8 @@
|
||||||
var $template_path = NULL; ///< template 경로
|
var $template_path = NULL; ///< template 경로
|
||||||
var $template_file = NULL; ///< template 파일
|
var $template_file = NULL; ///< template 파일
|
||||||
|
|
||||||
var $layout_path = './common/tpl/'; ///< 레이아웃 경로
|
var $layout_path = ''; ///< 레이아웃 경로
|
||||||
var $layout_file = 'default_layout.html'; ///< 레이아웃 파일
|
var $layout_file = ''; ///< 레이아웃 파일
|
||||||
|
|
||||||
var $stop_proc = false; ///< action 수행중 stop()를 호출하면 ModuleObject::proc()를 수행하지 않음
|
var $stop_proc = false; ///< action 수행중 stop()를 호출하면 ModuleObject::proc()를 수행하지 않음
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -593,9 +593,6 @@
|
||||||
* @brief 선택한 목록 출력
|
* @brief 선택한 목록 출력
|
||||||
**/
|
**/
|
||||||
function dispBoardAdminManageDocument() {
|
function dispBoardAdminManageDocument() {
|
||||||
// 팝업 레이아웃 선택
|
|
||||||
$this->setLayoutFile('popup_layout');
|
|
||||||
|
|
||||||
// 선택한 목록을 세션에서 가져옴
|
// 선택한 목록을 세션에서 가져옴
|
||||||
$flag_list = $_SESSION['document_management'][$this->module_srl];
|
$flag_list = $_SESSION['document_management'][$this->module_srl];
|
||||||
|
|
||||||
|
|
@ -613,6 +610,10 @@
|
||||||
if($board_list && !is_array($board_list)) $board_list = array($board_list);
|
if($board_list && !is_array($board_list)) $board_list = array($board_list);
|
||||||
Context::set('board_list', $board_list);
|
Context::set('board_list', $board_list);
|
||||||
|
|
||||||
|
// 팝업 레이아웃 선택
|
||||||
|
$this->setLayoutPath('./common/tpl');
|
||||||
|
$this->setLayoutFile('popup_layout');
|
||||||
|
|
||||||
$this->setTemplateFile('checked_list');
|
$this->setTemplateFile('checked_list');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue