* Fix product menu.

This commit is contained in:
Yagami
2020-09-22 09:29:29 +08:00
parent 1bd79085aa
commit 8dbfbdd6db
8 changed files with 17 additions and 13 deletions
+2 -2
View File
@@ -20,8 +20,8 @@ class program extends control
$this->lang->navGroup->program = 'program';
$this->lang->program->switcherMenu = $this->program->getPGMCommonAction();
$this->view->title = $this->lang->program->PGMHome;
$this->view->position[] = $this->lang->program->PGMHome;
$this->view->title = $this->lang->program->PGMIndex;
$this->view->position[] = $this->lang->program->PGMIndex;
$this->display();
}
+1 -1
View File
@@ -158,7 +158,7 @@ $lang->program->PRJChildLongTime = "子项目中有长期项目,父项目
/* Actions. */
$lang->program->PGMCommon = '项目集';
$lang->program->PGMHome = '项目集主页';
$lang->program->PGMIndex = '项目集主页';
$lang->program->PGMCreate = '添加项目集';
$lang->program->PGMCreateGuide = '选择项目模板';
$lang->program->PGMEdit = '编辑项目集';
+1 -1
View File
@@ -665,7 +665,7 @@ class programModel extends model
{
$output = "<div class='btn-group' id='pgmCommonAction'><button data-toggle='dropdown' type='button' class='btn btn-limit' id='currentItem' title='{$this->lang->program->PGMCommon}'>{$this->lang->program->PGMCommon} <i class='icon icon-sort-down'></i></button>";
$output .= '<ul class="dropdown-menu">';
$output .= '<li>' . html::a(helper::createLink('program', 'pgmindex'), "<i class='icon icon-home'></i> " . $this->lang->program->PGMHome) . '</li>';
$output .= '<li>' . html::a(helper::createLink('program', 'pgmindex'), "<i class='icon icon-home'></i> " . $this->lang->program->PGMIndex) . '</li>';
$output .= '<li>' . html::a(helper::createLink('program', 'pgmbrowse'), "<i class='icon icon-cards-view'></i> " . $this->lang->program->PGMBrowse) . '</li>';
$output .= '<li>' . html::a(helper::createLink('program', 'pgmcreate'), "<i class='icon icon-plus'></i> " . $this->lang->program->PGMCreate) . '</li>';
$output .= '</ul>';