- Remove viewMenu of product.
This commit is contained in:
@@ -69,7 +69,6 @@ class tree extends control
|
||||
/* Set menu.*/
|
||||
$moduleIndex = array_search('tree', $this->lang->noMenuModule);
|
||||
if($moduleIndex !== false) unset($this->lang->noMenuModule[$moduleIndex]);
|
||||
$this->lang->product->menu = $this->lang->product->viewMenu;
|
||||
$this->lang->product->switcherMenu = $this->loadModel('product')->getSwitcher($rootID, 'story');
|
||||
$this->lang->product->mainMenuAction = $this->product->getProductMainAction();
|
||||
|
||||
@@ -193,9 +192,8 @@ class tree extends control
|
||||
{
|
||||
$productID = $lib->product;
|
||||
$this->lang->noMenuModule[] = 'tree';
|
||||
unset($this->lang->product->viewMenu->set['subModule']);
|
||||
unset($this->lang->product->menu->set['subModule']);
|
||||
$this->lang->navGroup->tree = 'product';
|
||||
$this->lang->product->menu = $this->lang->product->viewMenu;
|
||||
$this->lang->product->switcherMenu = $this->loadModel('product')->getSwitcher($productID, 'story');
|
||||
$this->lang->product->mainMenuAction = $this->product->getProductMainAction();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user