mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
issue 2498 new admin menu develop
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11318 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4b4fc419a8
commit
8aafc130ab
10 changed files with 196 additions and 52 deletions
|
|
@ -137,6 +137,8 @@
|
|||
else $site_srl = (int)$site_module_info->site_srl;
|
||||
}
|
||||
|
||||
$oAdmin = &getClass('admin');
|
||||
|
||||
$oMenuAdminModel = &getAdminModel('menu');
|
||||
$menuListFromDB = $oMenuAdminModel->getMenus();
|
||||
$output = $menuListFromDB;
|
||||
|
|
@ -147,7 +149,7 @@
|
|||
$menuItems = array();
|
||||
foreach($output AS $key=>$value)
|
||||
{
|
||||
if($value->title == '__XE_ADMIN__') unset($output[$key]);
|
||||
if($value->title == $oAdmin->getAdminMenuName()) unset($output[$key]);
|
||||
else
|
||||
{
|
||||
unset($menu);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue