mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 20:12:14 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@172 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
daa873b405
commit
1ca24e52de
3 changed files with 9 additions and 5 deletions
|
|
@ -31,13 +31,10 @@
|
||||||
* 변수를 세팅한다.
|
* 변수를 세팅한다.
|
||||||
**/
|
**/
|
||||||
function ModuleHandler($module = '', $act = '', $mid = '', $document_srl = '') {
|
function ModuleHandler($module = '', $act = '', $mid = '', $document_srl = '') {
|
||||||
// act값 설정
|
|
||||||
if(!$act) $this->act = Context::get('act');
|
|
||||||
else $this->act = $act;
|
|
||||||
|
|
||||||
// 설치가 안되어 있다면 install module을 지정
|
// 설치가 안되어 있다면 install module을 지정
|
||||||
if(!Context::isInstalled()) {
|
if(!Context::isInstalled()) {
|
||||||
$this->module = 'install';
|
$this->module = 'install';
|
||||||
|
$this->act = Context::get('act');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -45,6 +42,9 @@
|
||||||
if(!$module) $this->module = Context::get('module');
|
if(!$module) $this->module = Context::get('module');
|
||||||
else $this->module = $module;
|
else $this->module = $module;
|
||||||
|
|
||||||
|
if(!$act) $this->act = Context::get('act');
|
||||||
|
else $this->act = $act;
|
||||||
|
|
||||||
if(!$mid) $this->mid = Context::get('mid');
|
if(!$mid) $this->mid = Context::get('mid');
|
||||||
else $this->mid = $mid;
|
else $this->mid = $mid;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
<!--@if($selected_module_info)-->
|
<!--@if($selected_module_info)-->
|
||||||
<div id="admin_module_info">
|
<div id="admin_module_info">
|
||||||
<a href="#" onclick="location.href='{getUrl('mo', $mo, 'act', $module_info->admin_index_act)}'">{$selected_module_info->title}</a> (ver {$selected_module_info->version})
|
<a href="#" onclick="location.href='{getUrl('mo', $mo, 'act', $selected_module_info->admin_index_act)}'">{$selected_module_info->title}</a> (ver {$selected_module_info->version})
|
||||||
</div>
|
</div>
|
||||||
<!--@end-->
|
<!--@end-->
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,10 @@
|
||||||
<!--%import("filter/insert_board.xml")-->
|
<!--%import("filter/insert_board.xml")-->
|
||||||
<!--%import("js/admin.js")-->
|
<!--%import("js/admin.js")-->
|
||||||
|
|
||||||
|
<!--@if($module_srl)-->
|
||||||
|
<!--#include("header.html")-->
|
||||||
|
<!--@end-->
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<!--@if(!$module_srl)-->
|
<!--@if(!$module_srl)-->
|
||||||
{$lang->msg_new_module}
|
{$lang->msg_new_module}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue