mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1261 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
45f679a9ad
commit
e5db303dea
11 changed files with 132 additions and 56 deletions
|
|
@ -247,6 +247,25 @@
|
|||
}
|
||||
}
|
||||
|
||||
// 메뉴 종류 (레이아웃을 위한 설정)
|
||||
if($xml_obj->menus->menu) {
|
||||
$menus = $xml_obj->menus->menu;
|
||||
if(!is_array($menus)) $menus = array($menus);
|
||||
|
||||
$menu_count = count($menus);
|
||||
$skin_info->menu_count = $menu_count;
|
||||
for($i=0;$i<$menu_count;$i++) {
|
||||
unset($obj);
|
||||
|
||||
$obj->name = $menus[$i]->attrs->name;
|
||||
if($menus[$i]->attrs->default == "true") $obj->default = true;
|
||||
$obj->title = $menus[$i]->title->body;
|
||||
$obj->maxdepth = $menus[$i]->maxdepth->body;
|
||||
|
||||
$skin_info->menu->{$obj->name} = $obj;
|
||||
}
|
||||
}
|
||||
|
||||
return $skin_info;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue