mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-24 05:39:58 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1269 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
6f8e1fd915
commit
54442e2e18
22 changed files with 34 additions and 43 deletions
|
|
@ -33,8 +33,9 @@
|
|||
Context::set('comment_srl', $upload_target_srl);
|
||||
|
||||
// template 가져옴
|
||||
$oTemplate = new TemplateHandler();
|
||||
$template_path = sprintf("%sskins/%s/",$this->module_path, $this->skin);
|
||||
|
||||
$oTemplate = &TemplateHandler::getInstance();
|
||||
$tpl = $oTemplate->compile($template_path, 'comment_form');
|
||||
|
||||
// 결과 설정
|
||||
|
|
@ -115,8 +116,7 @@
|
|||
Context::set('category_info', $category_info);
|
||||
|
||||
// template 파일을 직접 컴파일한후 tpl변수에 담아서 return한다.
|
||||
require_once("./classes/template/TemplateHandler.class.php");
|
||||
$oTemplate = new TemplateHandler();
|
||||
$oTemplate = &TemplateHandler::getInstance();
|
||||
$tpl = $oTemplate->compile($this->module_path.'tpl', 'category_info');
|
||||
|
||||
// return 할 변수 설정
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue