mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-16 09:49:54 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1178 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
dbef8482f5
commit
8e669f0a79
4 changed files with 28 additions and 3 deletions
|
|
@ -29,6 +29,20 @@
|
|||
$this->setMessage('success_registed');
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 메뉴 제목 변경
|
||||
**/
|
||||
function procMenuAdminUpdate() {
|
||||
// 입력할 변수 정리
|
||||
$args->title = Context::get('title');
|
||||
$args->menu_srl = Context::get('menu_srl');
|
||||
|
||||
$output = executeQuery('menu.updateMenu', $args);
|
||||
if(!$output->toBool()) return $output;
|
||||
|
||||
$this->setMessage('success_registed');
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 메뉴 삭제
|
||||
* menu_item과 xml 캐시 파일 모두 삭제
|
||||
|
|
@ -109,6 +123,10 @@
|
|||
// XML 파일을 갱신하고 위치을 넘겨 받음
|
||||
$xml_file = $this->makeXmlFile($args->menu_srl);
|
||||
|
||||
// url에 mid=? 또는 module=? 가 있을 경우 기록 남김
|
||||
if(eregi("^(mid|module)", $args->url)) {
|
||||
}
|
||||
|
||||
$this->add('xml_file', $xml_file);
|
||||
$this->add('menu_srl', $args->menu_srl);
|
||||
$this->add('menu_item_srl', $args->menu_item_srl);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue