mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
issue 160 when menu add or modify in sitemap.
page type can selectable git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9255 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a67c1740b0
commit
ad6463e9ae
6 changed files with 28 additions and 14 deletions
|
|
@ -149,8 +149,19 @@
|
|||
$cmArgs->site_srl = (int)$site_module_info->site_srl;
|
||||
$cmArgs->mid = $source_args->create_menu_url;
|
||||
$cmArgs->browser_title = $source_args->menu_name;
|
||||
//$cmArgs->layout_srl = $this->selected_layout->layout_srl;
|
||||
$cmArgs->module = $source_args->module_type;
|
||||
|
||||
switch ($source_args->module_type){
|
||||
case 'WIDGET' :
|
||||
case 'ARTICLE' :
|
||||
case 'OUTSIDE' :
|
||||
$cmArgs->module = 'page';
|
||||
$cmArgs->page_type = $source_args->module_type;
|
||||
break;
|
||||
default:
|
||||
$cmArgs->module = $source_args->module_type;
|
||||
unset($cmArgs->page_type);
|
||||
}
|
||||
|
||||
$cmArgs->menu_srl = $source_args->menu_srl;
|
||||
$oModuleController = &getController('module');
|
||||
$output = $oModuleController->insertModule($cmArgs);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue