mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-04 01:23:32 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@311 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
42bc6d7daa
commit
94561be97f
5 changed files with 60 additions and 26 deletions
|
|
@ -177,9 +177,14 @@
|
|||
|
||||
// parent_srl이 있고 menu_srl이 없으면 하부 메뉴 추가임
|
||||
if(!$menu_srl && $parent_srl) {
|
||||
// 상위 메뉴의 정보를 가져옴
|
||||
$parent_info = $this->getLayoutMenuInfo($parent_srl);
|
||||
|
||||
// 추가하려는 메뉴의 기본 변수 설정
|
||||
$oDB = &DB::getInstance();
|
||||
$menu_info->menu_srl = $oDB->getNextSequence();
|
||||
$menu_info->parent_srl = $parent_srl;
|
||||
$menu_info->parent_menu_name = $parent_info->name;
|
||||
} else {
|
||||
// menu_srl 이 있으면 해당 메뉴의 정보를 가져온다
|
||||
if($menu_srl) $menu_info = $this->getLayoutMenuInfo($menu_srl);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue