...
|
...
|
@@ -272,7 +272,7 @@ class Group extends Backend |
|
|
if (!$superadmin && !in_array($v['id'], $admin_rule_ids))
|
|
|
continue;
|
|
|
$state = array('selected' => in_array($v['id'], $current_rule_ids) && !in_array($v['id'], $hasChildrens));
|
|
|
$nodelist[] = array('id' => $v['id'], 'parent' => $v['pid'] ? $v['pid'] : '#', 'text' => $v['title'], 'type' => 'menu', 'state' => $state);
|
|
|
$nodelist[] = array('id' => $v['id'], 'parent' => $v['pid'] ? $v['pid'] : '#', 'text' => __($v['title']), 'type' => 'menu', 'state' => $state);
|
|
|
}
|
|
|
$this->success('', null, $nodelist);
|
|
|
}
|
...
|
...
|
|