mobileXE 개선 마무리

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5284 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2009-01-08 06:21:42 +00:00
parent 01839ccf3b
commit 4f949101e3
2 changed files with 5 additions and 5 deletions

View file

@ -124,11 +124,11 @@
$cur_menu_item = $listed_items[$node_list[$this->module_info->mid]];
if($cur_menu_item['parent_srl']) {
$parent_srl = $cur_menu_item['parent_srl'];
if($parent_srl && $node_list[$parent_srl]) {
$parent_item = $listed_items[$node_list[$parent_srl]];
if($parent_item) $this->setUpperUrl(getUrl('',$parent_item['mid']), Context::getLang('cmd_go_upper'));
if($parent_srl && $listed_items[$parent_srl]) {
$parent_item = $listed_items[$parent_srl];
if($parent_item) $this->setUpperUrl(getUrl('','mid',$parent_item['mid']), Context::getLang('cmd_go_upper'));
}
} else {
} elseif (!$this->isNavigationMode()) {
$this->setUpperUrl(getUrl('','mid',$this->index_mid,'nm','1','cmid',0), Context::getLang('cmd_view_sitemap'));
}
}

View file

@ -92,7 +92,7 @@
$title = $val->getTitleText();
if($val->getCommentCount()) $title .= ' ['.$val->getCommentCount().']';
$obj['link'] = $obj['text'] = $title;
$obj['link'] = $obj['text'] = '['.$val->getNickName().'] '.$title;
$childs[] = $obj;
}
$oMobile->setChilds($childs);