* Add product program project menu group.

This commit is contained in:
Yagami
2021-01-01 16:03:51 +08:00
parent a624a499f2
commit f2a39a0dbc
23 changed files with 189 additions and 117 deletions
+4 -1
View File
@@ -68,7 +68,10 @@ class tree extends control
/* Set menu.*/
$moduleIndex = array_search('tree', $this->lang->noMenuModule);
if($moduleIndex !== false) unset($this->lang->noMenuModule[$moduleIndex]);
$this->lang->product->switcherMenu = $this->loadModel('product')->getSwitcher($rootID, 'story');
$this->lang->product->menu = $this->lang->product->viewMenu;
$this->lang->noMenuModule[] = 'tree';
$this->lang->product->switcherMenu = $this->loadModel('product')->getSwitcher($rootID, 'story');
$this->lang->product->mainMenuAction = $this->product->getProductMainAction();
$products = $this->product->getPairs();