git-svn-id: http://xe-core.googlecode.com/svn/trunk@157 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-02-22 06:00:07 +00:00
parent 8788afbd5f
commit bbecc3b9e1
12 changed files with 154 additions and 103 deletions

View file

@ -7,5 +7,28 @@
class admin extends ModuleObject {
/**
* @brief MVC 에서 공통으로 사용되는 설정등을 모아 놓은것..
**/
function init() {
// 관리자용 레이아웃으로 변경
$this->setLayoutPath($this->getTemplatePath());
$this->setLayoutFile('layout.html');
// template path 지정
$this->setTemplatePath($this->module_path.'tpl');
// 메뉴 아이템 지정
$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);
}
}
?>