mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +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
|
|
@ -125,16 +125,10 @@
|
|||
$moduleInfo = $oModuleModel->getModuleInfoByMid($menuItem->url);
|
||||
if($moduleInfo->mid == $menuItem->url) {
|
||||
$menuItem->moduleType = $moduleInfo->module;
|
||||
//$menuItem->module_id = $moduleInfo->mid;
|
||||
//$menuItem->browser_title = $moduleInfo->browser_title;
|
||||
//unset($menuItem->url);
|
||||
$menuItem->pageType = $moduleInfo->page_type;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$menuItem->moduleType = 'url';
|
||||
/*$menuItem->url = preg_replace('/^(http|https):\/\//i','',$menuItem->url);*/
|
||||
}
|
||||
else $menuItem->moduleType = 'url';
|
||||
|
||||
// get groups
|
||||
$oMemberModel = &getModel('member');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue