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

This commit is contained in:
zero 2007-04-01 01:51:24 +00:00
parent 57d849dfa2
commit 9344643632
5 changed files with 9 additions and 10 deletions

View file

@ -15,9 +15,9 @@
function moduleInstall() {
// action forward에 등록 (관리자 모드에서 사용하기 위함)
$oModuleController = &getController('module');
$oModuleController->insertActionForward('addon', 'view', 'dispAddonIndex');
$oModuleController->insertActionForward('addon', 'view', 'dispAddonInfo');
$oModuleController->insertActionForward('addon', 'controller', 'procAddonToggleActivate');
$oModuleController->insertActionForward('addon', 'view', 'dispAddonAdminIndex');
$oModuleController->insertActionForward('addon', 'view', 'dispAddonAdminInfo');
$oModuleController->insertActionForward('addon', 'controller', 'procAddonAdminToggleActivate');
// 몇가진 애드온을 기본으로 설치 상태로 지정
$oAddonController = &getController('addon');

View file

@ -11,6 +11,7 @@
* @brief 초기화
**/
function init() {
$this->setTemplatePath($this->module_path.'tpl');
}
/**
@ -23,7 +24,6 @@
Context::set('addon_list', $addon_list);
// 템플릿 패스 및 파일을 지정
$this->setTemplatePath($this->module_path.'tpl');
$this->setTemplateFile('addon_list');
}
@ -43,7 +43,6 @@
$this->setLayoutFile('popup_layout');
// 템플릿 패스 및 파일을 지정
$this->setTemplatePath($this->module_path.'tpl');
$this->setTemplateFile('addon_info');
}

View file

@ -2,7 +2,7 @@
<!--%import("js/admin.js")-->
<div id="admin_title">
<a href="./?module=admin">zeroboard XE</a>
<a href="{getUrl('','module=admin')}">zeroboard XE</a>
</div>
<div id="admin_sub_menu">
@ -14,7 +14,7 @@
<div>
<!--@foreach($shortcut_list as $key => $val)-->
<span <!--@if($mo==$val->module)-->class="selected"<!--@end-->>
<a href="#" onclick="location.href='{getUrl('','module', $module, 'act',$val->default_act,'mo',$val->module)}';return false;">{$val->title}</a>
<a href="#" onclick="location.href='{getUrl('','module','admin','act',$val->default_act)}';return false;">{$val->title}</a>
</span>
<!--@end-->
[<a href="#" onclick="location.href='{getUrl('','module','admin','act','dispAdminShortCut')}';return false;">{$lang->cmd_management}</a>]
@ -23,7 +23,7 @@
<!--@if($selected_module_info)-->
<div id="admin_module_info">
<a href="#" onclick="location.href='{getUrl('','module', $module, 'mo', $mo, 'act', $selected_module_info->admin_index_act)}';return false;">{$selected_module_info->title}</a> (ver {$selected_module_info->version})
<a href="#" onclick="location.href='{getUrl('','module','admin','act', $selected_module_info->admin_index_act)}';return false;">{$selected_module_info->title}</a> (ver {$selected_module_info->version})
</div>
<!--@end-->

View file

@ -11,7 +11,7 @@
* @brief 초기화
**/
function init() {
$this->setTemplatePath($this->module_path.'tpl.admin');
$this->setTemplatePath($this->module_path.'tpl');
}
/**

View file

@ -27,7 +27,7 @@
<div id="colorset_area" style="display:none">
<div class="plugin_header">{$lang->colorset}</div>
<div class="plugin_body">
<select name="colorset">
<select name="colorset" id="plugin_colorset">
</select>
</div>
</div>