mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 20:12:14 +09:00
Issue 2208:SiteMap > support to grant is_admin
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12171 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
0a34b5fb88
commit
2437096575
1 changed files with 3 additions and 4 deletions
|
|
@ -522,7 +522,7 @@
|
||||||
$args->open_window = $request->menu_open_window;
|
$args->open_window = $request->menu_open_window;
|
||||||
$args->expand = $request->menu_expand;
|
$args->expand = $request->menu_expand;
|
||||||
$output = executeQuery('menu.updateMenuItem', $args);
|
$output = executeQuery('menu.updateMenuItem', $args);
|
||||||
|
|
||||||
$this->makeXmlFile($args->menu_srl);
|
$this->makeXmlFile($args->menu_srl);
|
||||||
|
|
||||||
$this->add('menu_item_srl', $args->menu_item_srl);
|
$this->add('menu_item_srl', $args->menu_item_srl);
|
||||||
|
|
@ -1387,9 +1387,9 @@
|
||||||
{
|
{
|
||||||
$args->group_srls = implode(',', $exposure);
|
$args->group_srls = implode(',', $exposure);
|
||||||
}
|
}
|
||||||
else if($exposure && !is_array($exposure))
|
else if($exposure && in_array($exposure,array('-1','-3')))
|
||||||
{
|
{
|
||||||
$args->group_srls = -1;
|
$args->group_srls = $exposure;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1434,7 +1434,6 @@
|
||||||
}
|
}
|
||||||
$grant->{$group_srls} = array();
|
$grant->{$group_srls} = array();
|
||||||
}
|
}
|
||||||
|
|
||||||
if(count($grant))
|
if(count($grant))
|
||||||
{
|
{
|
||||||
$oModuleController = getController('module');
|
$oModuleController = getController('module');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue