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

This commit is contained in:
zero 2007-02-23 03:29:12 +00:00
parent ad4cfd30f4
commit cac2d957b2
6 changed files with 41 additions and 11 deletions

View file

@ -24,9 +24,13 @@
Context::set('editor_path', $editor_path);
Context::loadLang($editor_path);
// 스킨 디렉토리 세팅
$skin_path = sprintf("%sskins/%s/",$this->module_path, $this->skin);
$this->setTemplatePath($skin_path);
// act 값에 dispAdmin이 있으면 tpl.admin 으로 템플릿 경로 지정
if(substr($this->act,0,9)=='dispAdmin') {
$template_path = sprintf("%stpl.admin/",$this->module_path);
} else {
$template_path = sprintf("%sskins/%s/",$this->module_path, $this->skin);
}
$this->setTemplatePath($template_path);
// 몇가지 템플릿에서 사용할 변수를 Context::set()
if($this->module_srl) Context::set('module_srl',$this->module_srl);