mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-13 16:34:52 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1235 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
870d528494
commit
f214d25f1b
1 changed files with 10 additions and 2 deletions
|
|
@ -47,9 +47,17 @@
|
|||
$module_category = $oModuleModel->getModuleCategories();
|
||||
Context::set('module_category', $module_category);
|
||||
|
||||
// 만약 블로그 서비스 페이지에서 관리자 기능 호출시 레이아웃을 지정
|
||||
if($this->mid) {
|
||||
$layout_path = sprintf("%sskins/%s/",$this->module_path, $this->skin);
|
||||
|
||||
// 레이아웃 지정
|
||||
$this->setLayoutPath($layout_path);
|
||||
$this->setLayoutFile("layout");
|
||||
}
|
||||
|
||||
// 템플릿 경로 지정 (blog의 경우 tpl에 관리자용 템플릿 모아놓음)
|
||||
$template_path = sprintf("%stpl/",$this->module_path);
|
||||
$this->setTemplatePath($template_path);
|
||||
$this->setTemplatePath($this->module_path."tpl");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue