git-svn-id: http://xe-core.googlecode.com/svn/trunk@723 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-03-27 10:22:36 +00:00
parent 328e37d822
commit c21c7c32e1
8 changed files with 38 additions and 47 deletions

View file

@ -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;