mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
#18591512 관리자 모듈 스크립트 정리
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7118 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a0b4c0cf1c
commit
43a4e760c0
3 changed files with 13 additions and 26 deletions
|
|
@ -11,32 +11,22 @@ function doRecompileCacheFile() {
|
|||
|
||||
// 모듈 목록 오픈
|
||||
function toggleModuleMenu(category) {
|
||||
var obj = xGetElementById('module_'+category);
|
||||
if(obj.className == 'open') obj.className = '';
|
||||
else obj.className = 'open';
|
||||
jQuery('#module_'+category).toggleClass('open');
|
||||
}
|
||||
|
||||
// 메인 모듈/ 애드온 토글
|
||||
function toggleModuleAddon(target) {
|
||||
if(target == 'module') {
|
||||
xGetElementById('moduleOn').className = 'on';
|
||||
xGetElementById('xeModules').style.display = 'block';
|
||||
xGetElementById('addonOn').className = '';
|
||||
xGetElementById('xeAddons').style.display = 'none';
|
||||
} else {
|
||||
xGetElementById('addonOn').className = 'on';
|
||||
xGetElementById('xeAddons').style.display = 'block';
|
||||
xGetElementById('moduleOn').className = '';
|
||||
xGetElementById('xeModules').style.display = 'none';
|
||||
}
|
||||
var b = (target == 'module');
|
||||
|
||||
jQuery('#moduleOn').attr('class', b?'on':'');
|
||||
jQuery('#addonOn').attr('class', b?'':'on');
|
||||
jQuery('#xeModules')[b?'show':'hide']();
|
||||
jQuery('#xeAddons')[b?'hide':'show']();
|
||||
}
|
||||
|
||||
// toggle language list
|
||||
function toggleAdminLang() {
|
||||
var obj = xGetElementById("adminLang");
|
||||
if(!obj) return;
|
||||
if(obj.style.display == 'block') obj.style.display = 'none';
|
||||
else obj.style.display = 'block';
|
||||
jQuery('#adminLang').toggleClass('open');
|
||||
}
|
||||
|
||||
// string to regex(초성검색용)
|
||||
|
|
@ -151,9 +141,4 @@ jQuery(function($){
|
|||
return false;
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
// logout
|
||||
function doAdminLogout() {
|
||||
exec_xml('admin','procAdminLogout',new Array(), function() { location.reload(); });
|
||||
}
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue