mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-22 12:49:55 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1031 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a9e0caa781
commit
8ed36ce916
11 changed files with 164 additions and 16 deletions
|
|
@ -59,5 +59,27 @@
|
|||
$this->setTemplateFile('poll_list');
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 설문조사 스킨, 컬러셋 설정
|
||||
**/
|
||||
function dispPollAdminConfig() {
|
||||
$oModuleModel = &getModel('module');
|
||||
|
||||
// 설정 정보 가져오기
|
||||
$config = $oModuleModel->getModuleConfig('poll');
|
||||
Context::set('config', $config);
|
||||
|
||||
// 스킨 정보 가져오기
|
||||
$skin_list = $oModuleModel->getSkins($this->module_path);
|
||||
Context::set('skin_list', $skin_list);
|
||||
|
||||
// 설정된 스킨의 컬러셋 설정
|
||||
Context::set('colorset_list', $skin_list[$config->skin]->colorset);
|
||||
|
||||
// 템플릿 지정
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile('config');
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue