mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 06:13:32 +09:00
Add option to change layout of entire menu #1186
This commit is contained in:
parent
0e9c234bc5
commit
830b77bb64
7 changed files with 119 additions and 6 deletions
|
|
@ -85,6 +85,13 @@ class menuAdminView extends menu
|
|||
}
|
||||
}
|
||||
Context::set('group_list', $groupList);
|
||||
|
||||
// Get layout instance list
|
||||
$oLayoutModel = getModel('layout');
|
||||
$layouts_P = $oLayoutModel->getLayoutList(0, 'P') ?: [];
|
||||
$layouts_M = $oLayoutModel->getLayoutList(0, 'M') ?: [];
|
||||
Context::set('layouts_P', $layouts_P);
|
||||
Context::set('layouts_M', $layouts_M);
|
||||
|
||||
$this->setTemplateFile('sitemap');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue