mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
문서 모듈의 아이콘을 스킨으로 설정할 수 있도록 개선
https://github.com/xpressengine/xe-core/pull/2172
This commit is contained in:
parent
1a81fd43f3
commit
75ea89e203
13 changed files with 85 additions and 7 deletions
|
|
@ -148,6 +148,13 @@ class documentAdminView extends document
|
|||
$config = $oDocumentModel->getDocumentConfig();
|
||||
Context::set('config',$config);
|
||||
|
||||
$oModuleModel = getModel('module');
|
||||
$pcIconSkinList = $oModuleModel->getSkins($this->module_path . 'tpl', 'icons');
|
||||
$mobileIconSkinList = $oModuleModel->getSkins($this->module_path . 'tpl', 'micons');
|
||||
|
||||
Context::set('pcIconSkinList', $pcIconSkinList);
|
||||
Context::set('mobileIconSkinList', $mobileIconSkinList);
|
||||
|
||||
// Set the template file
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile('document_config');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue