mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-20 19:02:14 +09:00
issue 160 site map delete function add
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9132 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
6f0d7f9615
commit
55f502c55d
3 changed files with 18 additions and 3 deletions
|
|
@ -66,7 +66,14 @@
|
|||
**/
|
||||
function procMenuAdminDelete() {
|
||||
$menu_srl = Context::get('menu_srl');
|
||||
return $this->deleteMenu($menu_srl);
|
||||
$this->deleteMenu($menu_srl);
|
||||
|
||||
$this->setMessage('success_deleted', 'info');
|
||||
if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) {
|
||||
$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'module', 'admin', 'act', 'dispMenuAdminSiteMap');
|
||||
$this->setRedirectUrl($returnUrl);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
function deleteMenu($menu_srl) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue