mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-03 01:03:28 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@396 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
697b5bd1db
commit
9086194365
11 changed files with 22 additions and 63 deletions
|
|
@ -11,18 +11,6 @@
|
|||
* @brief MVC 에서 공통으로 사용되는 설정등을 모아 놓은것..
|
||||
**/
|
||||
function init() {
|
||||
|
||||
// 메뉴 아이템 지정
|
||||
$menu_item->module->title = Context::getLang('item_module');
|
||||
$menu_item->module->act = 'dispModuleList';
|
||||
$menu_item->addon->title = Context::getLang('item_addon');
|
||||
$menu_item->addon->act = 'dispAddonList';
|
||||
$menu_item->plugin->title = Context::getLang('item_plugin');
|
||||
$menu_item->plugin->act = 'dispPluginList';
|
||||
$menu_item->layout->title = Context::getLang('item_layout');
|
||||
$menu_item->layout->act = 'dispLayoutList';
|
||||
|
||||
Context::set('menu_item', $menu_item);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -33,6 +21,8 @@
|
|||
$oAdminController = &getController('admin');
|
||||
$oAdminController->insertShortCut('board');
|
||||
$oAdminController->insertShortCut('member');
|
||||
$oAdminController->insertShortCut('module');
|
||||
$oAdminController->insertShortCut('addon');
|
||||
$oAdminController->insertShortCut('layout');
|
||||
|
||||
return new Object();
|
||||
|
|
|
|||
|
|
@ -75,40 +75,6 @@
|
|||
$this->setTemplateFile('shortcut_list');
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 모듈의 목록을 보여줌
|
||||
**/
|
||||
function dispModuleList() {
|
||||
// moduleView::dispModuleList()를 실행하고 템플릿 파일을 구해옴
|
||||
$oModuleView = &getView('module');
|
||||
$oModuleView->dispModuleList();
|
||||
|
||||
$this->setTemplatePath($oModuleView->getTemplatePath());
|
||||
$this->setTemplateFile($oModuleView->getTemplateFile());
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief애드온의 목록을 보여줌
|
||||
**/
|
||||
function dispAddonList() {
|
||||
$oAddonView = &getView('addon');
|
||||
$oAddonView->dispAddonList();
|
||||
|
||||
$this->setTemplatePath($oAddonView->getTemplatePath());
|
||||
$this->setTemplateFile($oAddonView->getTemplateFile());
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 레이아웃의 목록을 보여줌
|
||||
**/
|
||||
function dispLayoutList() {
|
||||
$oLayoutView = &getView('layout');
|
||||
$oLayoutView->dispDownloadedLayoutList();
|
||||
|
||||
$this->setTemplatePath($oLayoutView->getTemplatePath());
|
||||
$this->setTemplateFile($oLayoutView->getTemplateFile());
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 관리자 로그인 페이지 출력
|
||||
**/
|
||||
|
|
|
|||
|
|
@ -2,9 +2,6 @@
|
|||
<module>
|
||||
<actions>
|
||||
<action name="dispIndex" type="view" standalone="true" index="true"/>
|
||||
<action name="dispModuleList" type="view" standalone="true" />
|
||||
<action name="dispAddonList" type="view" standalone="true" />
|
||||
<action name="dispLayoutList" type="view" standalone="true" />
|
||||
<action name="dispShortCut" type="view" standalone="true" />
|
||||
|
||||
<action name="dispLogin" type="view" standalone="true" />
|
||||
|
|
|
|||
|
|
@ -21,15 +21,6 @@
|
|||
<!--@end-->
|
||||
[<a href="#" onclick="location.href='{getUrl('','module','admin','act','dispShortCut')}';return false;">{$lang->cmd_management}</a>]
|
||||
</div>
|
||||
|
||||
<!-- 애드온,플러그인,레이아웃,에디터컴포넌트등의 목록을 보여줄 메뉴 -->
|
||||
<div>
|
||||
<!--@foreach($menu_item as $key => $val)-->
|
||||
<span <!--@if($act==$val->act)-->class="selected"<!--@end-->>
|
||||
<a href="#" onclick="location.href='{getUrl('','module', $module, 'act',$val->act,'mo','','module_srl','')}';return false;">{$val->title}</a>
|
||||
</span>
|
||||
<!--@end-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--@if($selected_module_info)-->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue