* remove the index module.

This commit is contained in:
wangchunsheng
2011-06-29 15:35:39 +00:00
parent aa91bfdf27
commit d2349df1c5
3 changed files with 2 additions and 6 deletions
+1 -2
View File
@@ -320,8 +320,7 @@ class commonModel extends model
global $lang;
$mainMenu = $moduleName;
if(isset($lang->menugroup->$moduleName)) $mainMenu = $lang->menugroup->$moduleName;
list($menuLabel, $module, $method) = explode('|', $lang->menu->index);
echo html::a(helper::createLink($module, $method), $lang->ZenTaoPMS) . $lang->arrow;
echo html::a(helper::createLink('my', 'index'), $lang->ZenTaoPMS) . $lang->arrow;
if($moduleName != 'index')
{
list($menuLabel, $module, $method) = explode('|', $lang->menu->$mainMenu);