mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Reorganize default admin menu
- 페이지 모듈을 콘텐츠 메뉴로 끌어올림 - 데이터 들여오기를 고급 메뉴로 내림 - 설치시 고급 메일 발송 모듈과 알림 센터를 즐겨찾기에 기본 등록
This commit is contained in:
parent
c5429f0c43
commit
c52e2fa9e3
2 changed files with 8 additions and 1 deletions
|
|
@ -174,12 +174,12 @@ class admin extends ModuleObject
|
|||
),
|
||||
'content' => array(
|
||||
'board.board',
|
||||
'page.page',
|
||||
'document.document',
|
||||
'comment.comment',
|
||||
'file.file',
|
||||
'poll.poll',
|
||||
'editor.editor',
|
||||
'importer.importer',
|
||||
'spamfilter.spamFilter',
|
||||
'trash.trash',
|
||||
),
|
||||
|
|
@ -195,6 +195,7 @@ class admin extends ModuleObject
|
|||
'addon.installedAddon',
|
||||
'widget.installedWidget',
|
||||
'module.multilingual',
|
||||
'importer.importer',
|
||||
'rss.rss',
|
||||
),
|
||||
);
|
||||
|
|
|
|||
|
|
@ -238,6 +238,12 @@ $domain_args->domain_srl = 0;
|
|||
$domain_args->index_module_srl = $module_srl;
|
||||
executeQuery('module.updateDomain', $domain_args);
|
||||
|
||||
// insert admin favorites
|
||||
foreach(['advanced_mailer', 'ncenterlite'] as $module_name)
|
||||
{
|
||||
$oAdminController->_insertFavorite(0, $module_name);
|
||||
}
|
||||
|
||||
// create menu cache
|
||||
$oMenuAdminController->makeXmlFile($menuSrl);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue