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@723 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
328e37d822
commit
c21c7c32e1
8 changed files with 38 additions and 47 deletions
|
|
@ -33,11 +33,14 @@
|
|||
$content = $oContext->transContent($content);
|
||||
Context::set('content', $content);
|
||||
|
||||
// content 래핑 (common/tpl/default.html)
|
||||
// 레이아웃을 컴파일
|
||||
require_once("./classes/template/TemplateHandler.class.php");
|
||||
|
||||
$oTemplate = new TemplateHandler();
|
||||
$output = $oTemplate->compile($oModule->getLayoutPath(), $oModule->getLayoutFile());
|
||||
$zbxe_final_content = $oTemplate->compile($oModule->getLayoutPath(), $oModule->getLayoutFile());
|
||||
|
||||
// 최종 결과를 common_layout에 넣어버림
|
||||
Context::set('zbxe_final_content', $zbxe_final_content);
|
||||
$output = $oTemplate->compile('./common/tpl', 'common_layout');
|
||||
|
||||
} else {
|
||||
$output = $content;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue