issue 1617 remove virtual site module in module list

so, if virtual site module, set external link setting in menu


git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10406 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2012-03-09 09:16:43 +00:00
parent 5410dc9e92
commit 89f224420c
4 changed files with 17 additions and 4 deletions

View file

@ -237,13 +237,13 @@
* @brief when menu add in sitemap, select module list
* this menu showing with trigger
**/
function getModuleListInSitemap()
function getModuleListInSitemap($site_srl = 0)
{
$oModuleModel = &getModel('module');
$columnList = array('module');
$moduleList = array('page');
$output = $oModuleModel->getModuleListByInstance($columnList);
$output = $oModuleModel->getModuleListByInstance($site_srl, $columnList);
if(is_array($output->data))
{
foreach($output->data AS $key=>$value)