mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-24 05:39:58 +09:00
#18965844 : hide menus without permission
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7554 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
248373bc2c
commit
901a0e8d01
1 changed files with 1 additions and 1 deletions
|
|
@ -5,6 +5,7 @@ class menuMobile extends moduleObject {
|
|||
|
||||
function straightenMenu($menu_item, $depth)
|
||||
{
|
||||
if(!$menu_item['link']) return;
|
||||
$obj->href = $menu_item['href'];
|
||||
$obj->depth = $depth;
|
||||
$obj->link = $menu_item['link'];
|
||||
|
|
@ -21,7 +22,6 @@ class menuMobile extends moduleObject {
|
|||
$oAdminModel =& getAdminModel('menu');
|
||||
$menu_info = $oAdminModel->getMenu($menu_srl);
|
||||
if(file_exists($menu_info->php_file)) @include($menu_info->php_file);
|
||||
|
||||
foreach($menu->list as $menu_item)
|
||||
{
|
||||
$this->straightenMenu($menu_item, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue