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
|
|
@ -471,10 +471,18 @@ class documentAdminController extends document
|
|||
$oDocumentModel = getModel('document');
|
||||
$config = $oDocumentModel->getDocumentConfig();
|
||||
$config->view_count_option = Context::get('view_count_option');
|
||||
$config->icons = Context::get('icons');
|
||||
$config->micons = Context::get('micons');
|
||||
|
||||
// Insert by creating the module Controller object
|
||||
$oModuleController = getController('module');
|
||||
$output = $oModuleController->insertModuleConfig('document',$config);
|
||||
if(!$output->toBool())
|
||||
{
|
||||
return $output;
|
||||
}
|
||||
|
||||
$this->setMessage('success_updated');
|
||||
|
||||
$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'module', 'admin', 'act', 'dispDocumentAdminConfig');
|
||||
return $this->setRedirectUrl($returnUrl, $output);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue