* use product self lang setting.
This commit is contained in:
@@ -61,7 +61,6 @@ class product extends control
|
||||
*/
|
||||
public function browse($productID = 0, $browseType = 'byModule', $param = 0, $orderBy = 'id_desc', $recTotal = 0, $recPerPage = 20, $pageID = 1)
|
||||
{
|
||||
$this->loadModel('bug');
|
||||
/* Lower browse type. */
|
||||
$browseType = strtolower($browseType);
|
||||
|
||||
@@ -145,7 +144,7 @@ class product extends control
|
||||
$this->config->product->search['actionURL'] = $this->createLink('product', 'browse', "productID=$productID&browseType=bySearch&queryID=myQueryID");
|
||||
$this->config->product->search['queryID'] = $queryID;
|
||||
$this->config->product->search['params']['plan']['values'] = $this->loadModel('productplan')->getPairs($productID);
|
||||
$this->config->product->search['params']['product']['values'] = array($productID => $this->products[$productID], 'all' => $this->lang->bug->allProduct);
|
||||
$this->config->product->search['params']['product']['values'] = array($productID => $this->products[$productID], 'all' => $this->lang->product->allProduct);
|
||||
$this->view->searchForm = $this->fetch('search', 'buildForm', $this->config->product->search);
|
||||
|
||||
$this->view->productID = $productID;
|
||||
|
||||
@@ -49,6 +49,7 @@ $lang->product->whitelist = 'Whitelist';
|
||||
$lang->product->moduleStory = 'By module';
|
||||
$lang->product->searchStory = 'By search';
|
||||
$lang->product->allStory = 'All story';
|
||||
$lang->product->allProduct = 'All products';
|
||||
|
||||
$lang->product->statusList[''] = '';
|
||||
$lang->product->statusList['normal'] = 'Normal';
|
||||
|
||||
@@ -49,6 +49,7 @@ $lang->product->whitelist = '分组白名单';
|
||||
$lang->product->moduleStory = '按模块浏览';
|
||||
$lang->product->searchStory = '搜索';
|
||||
$lang->product->allStory = '全部需求';
|
||||
$lang->product->allProduct = '全部产品';
|
||||
|
||||
$lang->product->statusList[''] = '';
|
||||
$lang->product->statusList['normal'] = '正常';
|
||||
|
||||
Reference in New Issue
Block a user