From 3a00cef5df824f40bba8306fb0fac588c3ca44b4 Mon Sep 17 00:00:00 2001 From: wumo Date: Sun, 8 Apr 2018 09:11:19 +0800 Subject: [PATCH] * Add the prompt of product management --- module/tree/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/tree/control.php b/module/tree/control.php index 08ebb17a3d..a9d3bacc0c 100644 --- a/module/tree/control.php +++ b/module/tree/control.php @@ -357,7 +357,7 @@ class tree extends control if(count($optionMenu) == 1 and $needManage) { $output .= ""; - $output .= html::a($this->createLink('tree', 'browse', "rootID=$rootID&view=$viewType¤tModuleID=0&branch=$branch"), $this->lang->tree->manage, '_blank'); + $output .= html::a($this->createLink('tree', 'browse', "rootID=$rootID&view=$viewType¤tModuleID=0&branch=$branch"), $viewType == 'line' ? $this->lang->tree->manageLine : $this->lang->tree->manage, '_blank'); $output .= '  '; $output .= $viewType == 'line' ? html::a("javascript:loadProductLines($rootID)", $this->lang->refresh) : html::a("javascript:loadProductModules($rootID)", $this->lang->refresh); $output .= '';