mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-24 12:52:19 +09:00
Reorganize default admin menu
This commit is contained in:
parent
14d650d305
commit
08cc9009b5
6 changed files with 55 additions and 153 deletions
|
|
@ -129,14 +129,15 @@ class adminAdminView extends admin
|
|||
$currentAct = Context::get('act');
|
||||
$subMenuTitle = '';
|
||||
|
||||
foreach((array) $moduleActionInfo->menu as $key => $value)
|
||||
foreach((array)$moduleActionInfo->menu as $key => $value)
|
||||
{
|
||||
if(isset($value->acts) && is_array($value->acts) && in_array($currentAct, $value->acts))
|
||||
if(is_array($value->acts) && in_array($currentAct, $value->acts))
|
||||
{
|
||||
$subMenuTitle = $value->title;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// get current menu's srl(=parentSrl)
|
||||
$parentSrl = 0;
|
||||
$oMenuAdminConroller = getAdminController('menu');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue