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:
ovclas 2011-09-21 09:19:29 +00:00
parent a67c1740b0
commit ad6463e9ae
6 changed files with 28 additions and 14 deletions

View file

@ -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');