mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-31 00:59:58 +09:00
commit
e0eef37927
4 changed files with 11 additions and 7 deletions
|
|
@ -45,8 +45,12 @@ class ModuleHandler extends Handler
|
||||||
$oContext = Context::getInstance();
|
$oContext = Context::getInstance();
|
||||||
if($oContext->isSuccessInit == FALSE)
|
if($oContext->isSuccessInit == FALSE)
|
||||||
{
|
{
|
||||||
$this->error = 'msg_invalid_request';
|
$logged_info = Context::get('logged_info');
|
||||||
return;
|
if($logged_info->is_admin != "Y")
|
||||||
|
{
|
||||||
|
$this->error = 'msg_invalid_request';
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set variables from request arguments
|
// Set variables from request arguments
|
||||||
|
|
|
||||||
|
|
@ -59,9 +59,9 @@ if(jQuery) jQuery.noConflict();
|
||||||
if(typeof(options.wrap) == "string") options.wrap ='#'+options.wrap;
|
if(typeof(options.wrap) == "string") options.wrap ='#'+options.wrap;
|
||||||
|
|
||||||
if(options.wrap) {
|
if(options.wrap) {
|
||||||
obj = $(options.wrap).find('input[name='+itemName+']:checkbox');
|
obj = $(options.wrap).find('input[name="'+itemName+'"]:checkbox');
|
||||||
} else {
|
} else {
|
||||||
obj = $('input[name='+itemName+']:checkbox');
|
obj = $('input[name="'+itemName+'"]:checkbox');
|
||||||
}
|
}
|
||||||
|
|
||||||
if(options.checked == 'toggle') {
|
if(options.checked == 'toggle') {
|
||||||
|
|
|
||||||
|
|
@ -58,9 +58,9 @@ if(jQuery) jQuery.noConflict();
|
||||||
if(typeof(options.wrap) == "string") options.wrap ='#'+options.wrap;
|
if(typeof(options.wrap) == "string") options.wrap ='#'+options.wrap;
|
||||||
|
|
||||||
if(options.wrap) {
|
if(options.wrap) {
|
||||||
obj = $(options.wrap).find('input[name='+itemName+']:checkbox');
|
obj = $(options.wrap).find('input[name="'+itemName+'"]:checkbox');
|
||||||
} else {
|
} else {
|
||||||
obj = $('input[name='+itemName+']:checkbox');
|
obj = $('input[name="'+itemName+'"]:checkbox');
|
||||||
}
|
}
|
||||||
|
|
||||||
if(options.checked == 'toggle') {
|
if(options.checked == 'toggle') {
|
||||||
|
|
|
||||||
2
common/js/xe.min.js
vendored
2
common/js/xe.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue