mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-18 10:49:54 +09:00
삭제
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2327 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
commit
8326004cb2
2773 changed files with 91485 additions and 0 deletions
52
modules/module/tpl/js/module_admin.js
Normal file
52
modules/module/tpl/js/module_admin.js
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
/**
|
||||
* @file modules/module/js/module_admin.js
|
||||
* @author zero (zero@nzeo.com)
|
||||
* @brief module 모듈의 관리자용 javascript
|
||||
**/
|
||||
|
||||
/* 카테고리 관련 작업들 */
|
||||
function doUpdateCategory(module_category_srl, mode, message) {
|
||||
if(typeof(message)!='undefined'&&!confirm(message)) return;
|
||||
|
||||
var fo_obj = xGetElementById('fo_category_info');
|
||||
fo_obj.module_category_srl.value = module_category_srl;
|
||||
fo_obj.mode.value = mode;
|
||||
|
||||
procFilter(fo_obj, update_category);
|
||||
}
|
||||
|
||||
/* 카테고리 정보 수정 후 */
|
||||
function completeUpdateCategory(ret_obj) {
|
||||
var error = ret_obj['error'];
|
||||
var message = ret_obj['message'];
|
||||
|
||||
alert(message);
|
||||
|
||||
location.href = current_url.setQuery('module_category_srl','');
|
||||
}
|
||||
|
||||
/* 선택된 모듈을 관리자 메뉴의 바로가기에 등록 */
|
||||
function doAddShortCut(module) {
|
||||
var fo_obj = xGetElementById("fo_shortcut");
|
||||
fo_obj.selected_module.value = module;
|
||||
procFilter(fo_obj, insert_shortcut);
|
||||
}
|
||||
|
||||
/* 모듈 설치 */
|
||||
function doInstallModule(module) {
|
||||
var params = new Array();
|
||||
params['module_name'] = module;
|
||||
exec_xml('install','procInstallAdminInstall',params, completeInstallModule);
|
||||
}
|
||||
|
||||
function completeInstallModule(ret_obj) {
|
||||
alert(ret_obj['message']);
|
||||
location.reload();
|
||||
}
|
||||
|
||||
/* 모듈 업그레이드 */
|
||||
function doUpdateModule(module) {
|
||||
var params = new Array();
|
||||
params['module_name'] = module;
|
||||
exec_xml('install','procInstallAdminUpdate',params, completeInstallModule);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue