mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-29 07:12:15 +09:00
issue 70 site map admin developement.
but not yet completed. should be javascript drwaing menu git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9027 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
0c48f083d2
commit
3a7b0a4b64
3 changed files with 69 additions and 54 deletions
|
|
@ -103,6 +103,8 @@
|
|||
{
|
||||
$oMenuAdminModel = &getAdminModel('menu');
|
||||
$output = $oMenuAdminModel->getMenus();
|
||||
|
||||
$menuList = array();
|
||||
if(is_array($output))
|
||||
{
|
||||
$columnList = array('menu_item_srl', 'parent_srl', 'menu_srl', 'name');
|
||||
|
|
@ -111,12 +113,16 @@
|
|||
if($value->title == '__XE_ADMIN__') unset($output[$key]);
|
||||
else
|
||||
{
|
||||
$menuItems = $oMenuAdminModel->getMenuItems($value->menu_srl, null, $columnList);
|
||||
$value->menuItems = $this->_arrangeMenuItem($menuItems->data);
|
||||
unset($menu);
|
||||
$value->xml_file = sprintf('./files/cache/menu/%s.xml.php',$value->menu_srl);
|
||||
//$value->php_file = sprintf('./files/cache/menu/%s.php',$value->menu_srl);
|
||||
//if(file_exists($value->php_file)) @include($value->php_file);
|
||||
|
||||
array_push($menuList, $value->xml_file);
|
||||
}
|
||||
}
|
||||
}
|
||||
Context::set('menu_list', $output);
|
||||
Context::set('menu_url_list', $menuList);
|
||||
|
||||
// get installed module list
|
||||
$oModuleModel = &getModel('module');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue