This commit is contained in:
chenfei
2020-07-18 20:08:18 +08:00
parent 3cba60eb57
commit 5819bb69b8
2 changed files with 13 additions and 4 deletions
+12 -3
View File
@@ -164,9 +164,18 @@ class tree extends control
$position[] = $this->lang->tree->manageTrainskill;
}
elseif($viewType == 'trainpost')
{
$this->lang->set('menugroup.tree', 'train');
$this->lang->tree->menu = $this->lang->train->menu;
{
$postBrowseType = $this->session->postBrowseType ? $this->session->postBrowseType : 'train';
if($postBrowseType == 'train')
{
$this->lang->set('menugroup.tree', 'train');
$this->lang->tree->menu = $this->lang->train->menu;
}
else
{
$this->lang->set('menugroup.tree', 'company');
$this->lang->tree->menu = $this->lang->company->menu;
}
$title = $this->lang->tree->manageTrainpost;
$position[] = $this->lang->tree->manageTrainpost;