diff --git a/module/my/lang/de.php b/module/my/lang/de.php
index b2f6ece0d3..a20327ed31 100644
--- a/module/my/lang/de.php
+++ b/module/my/lang/de.php
@@ -100,7 +100,7 @@ $lang->my->executionLink = 'Execution Default Page';
$lang->my->programLinkList = array();
$lang->my->programLinkList['program-browse'] = 'By default, you go to the program list, where you can view all of the programs';
$lang->my->programLinkList['program-project'] = 'By default, you go to the list of items in the most recent program, and you can view all items under the current program';
-if($config->systemMode == 'new') $lang->my->programLinkList['program-kanban'] = 'Enter the Program Kanban by default, and check the progress of all Programs';
+$lang->my->programLinkList['program-kanban'] = 'Enter the Program Kanban by default, and check the progress of all Programs';
$lang->my->productLinkList = array();
$lang->my->productLinkList['product-index'] = 'The default access to the product home page, you can understand the company’s overall product status';
@@ -109,21 +109,16 @@ $lang->my->productLinkList['product-dashboard'] = 'By default, go to the latest
$lang->my->productLinkList['product-browse'] = 'By default, go to the list of requirements for the most recent product and see the requirements under the current product';
$lang->my->productLinkList['product-kanban'] = 'Enter the Product Kanban by default, and check the progress of all Products';
-global $config;
$lang->my->projectLinkList = array();
$lang->my->projectLinkList['project-browse'] = 'By default, you go to the project list, where you can view all the projects';
$lang->my->projectLinkList['project-execution'] = 'Go to Project-Exection by default. You can check all information in Execution';
$lang->my->projectLinkList['project-index'] = 'By default, go to the most recent project dashboard to see the current project overview';
-if($config->systemMode == 'new') $lang->my->projectLinkList['project-kanban'] = 'Enter the Project Kanban by default, and check the progress of all Projects';
+$lang->my->projectLinkList['project-kanban'] = 'Enter the Project Kanban by default, and check the progress of all Projects';
$lang->my->executionLinkList = array();
-if($config->systemMode == 'new')
-{
- $lang->my->executionLinkList['execution-all'] = 'Enter the execution list by default, you can view all executions';
- $lang->my->executionLinkList['execution-task'] = 'By default, enter the list of the most recently executed task, and you can view the task information under the current iteration';
- $lang->my->executionLinkList['execution-executionkanban'] = 'By default, you can enter the execution Kanban to view the execution status of projects in progress';
-}
-if($config->systemMode == 'lean') $lang->my->executionLinkList['execution-task'] = 'By default, enter the list of the most recently executed task, and you can view the task information under the current iteration';
+$lang->my->executionLinkList['execution-all'] = 'Enter the execution list by default, you can view all executions';
+$lang->my->executionLinkList['execution-task'] = 'By default, enter the list of the most recently executed task, and you can view the task information under the current iteration';
+$lang->my->executionLinkList['execution-executionkanban'] = 'By default, you can enter the execution Kanban to view the execution status of projects in progress';
$lang->my->guideChangeTheme = <<"Young Blue" theme is available now!
diff --git a/module/my/lang/en.php b/module/my/lang/en.php
index 7e97146c16..185ad56a1a 100644
--- a/module/my/lang/en.php
+++ b/module/my/lang/en.php
@@ -100,7 +100,7 @@ $lang->my->executionLink = 'Execution Default Page';
$lang->my->programLinkList = array();
$lang->my->programLinkList['program-browse'] = 'By default, you go to the program list, where you can view all of the programs';
$lang->my->programLinkList['program-project'] = 'By default, you go to the list of items in the most recent program, and you can view all items under the current program';
-if($config->systemMode == 'new') $lang->my->programLinkList['program-kanban'] = 'Enter the Program Kanban by default, and check the progress of all Programs';
+$lang->my->programLinkList['program-kanban'] = 'Enter the Program Kanban by default, and check the progress of all Programs';
$lang->my->productLinkList = array();
$lang->my->productLinkList['product-index'] = 'The default access to the product home page, you can understand the company’s overall product status';
@@ -109,21 +109,16 @@ $lang->my->productLinkList['product-dashboard'] = 'By default, go to the latest
$lang->my->productLinkList['product-browse'] = 'By default, go to the list of requirements for the most recent product and see the requirements under the current product';
$lang->my->productLinkList['product-kanban'] = 'Enter the Product Kanban by default, and check the progress of all Products';
-global $config;
$lang->my->projectLinkList = array();
$lang->my->projectLinkList['project-browse'] = 'By default, you go to the project list, where you can view all the projects';
$lang->my->projectLinkList['project-execution'] = 'Go to Project-Exection by default. You can check all information in Execution';
$lang->my->projectLinkList['project-index'] = 'By default, go to the most recent project dashboard to see the current project overview';
-if($config->systemMode == 'new') $lang->my->projectLinkList['project-kanban'] = 'Enter the Project Kanban by default, and check the progress of all Projects';
+$lang->my->projectLinkList['project-kanban'] = 'Enter the Project Kanban by default, and check the progress of all Projects';
$lang->my->executionLinkList = array();
-if($config->systemMode == 'new')
-{
- $lang->my->executionLinkList['execution-all'] = 'Enter the execution list by default, you can view all executions';
- $lang->my->executionLinkList['execution-task'] = 'By default, enter the list of the most recently executed task, and you can view the task information under the current iteration';
- $lang->my->executionLinkList['execution-executionkanban'] = 'By default, you can enter the execution Kanban to view the execution status of projects in progress';
-}
-if($config->systemMode == 'lean') $lang->my->executionLinkList['execution-task'] = "By default, enter the list of the most recently {$lang->executionCommon} task, and you can view the task information under the current {$lang->executionCommon}";
+$lang->my->executionLinkList['execution-all'] = 'Enter the execution list by default, you can view all executions';
+$lang->my->executionLinkList['execution-task'] = 'By default, enter the list of the most recently executed task, and you can view the task information under the current iteration';
+$lang->my->executionLinkList['execution-executionkanban'] = 'By default, you can enter the execution Kanban to view the execution status of projects in progress';
$lang->my->guideChangeTheme = <<"Young Blue" theme is available now!
diff --git a/module/my/lang/fr.php b/module/my/lang/fr.php
index b2f6ece0d3..a20327ed31 100644
--- a/module/my/lang/fr.php
+++ b/module/my/lang/fr.php
@@ -100,7 +100,7 @@ $lang->my->executionLink = 'Execution Default Page';
$lang->my->programLinkList = array();
$lang->my->programLinkList['program-browse'] = 'By default, you go to the program list, where you can view all of the programs';
$lang->my->programLinkList['program-project'] = 'By default, you go to the list of items in the most recent program, and you can view all items under the current program';
-if($config->systemMode == 'new') $lang->my->programLinkList['program-kanban'] = 'Enter the Program Kanban by default, and check the progress of all Programs';
+$lang->my->programLinkList['program-kanban'] = 'Enter the Program Kanban by default, and check the progress of all Programs';
$lang->my->productLinkList = array();
$lang->my->productLinkList['product-index'] = 'The default access to the product home page, you can understand the company’s overall product status';
@@ -109,21 +109,16 @@ $lang->my->productLinkList['product-dashboard'] = 'By default, go to the latest
$lang->my->productLinkList['product-browse'] = 'By default, go to the list of requirements for the most recent product and see the requirements under the current product';
$lang->my->productLinkList['product-kanban'] = 'Enter the Product Kanban by default, and check the progress of all Products';
-global $config;
$lang->my->projectLinkList = array();
$lang->my->projectLinkList['project-browse'] = 'By default, you go to the project list, where you can view all the projects';
$lang->my->projectLinkList['project-execution'] = 'Go to Project-Exection by default. You can check all information in Execution';
$lang->my->projectLinkList['project-index'] = 'By default, go to the most recent project dashboard to see the current project overview';
-if($config->systemMode == 'new') $lang->my->projectLinkList['project-kanban'] = 'Enter the Project Kanban by default, and check the progress of all Projects';
+$lang->my->projectLinkList['project-kanban'] = 'Enter the Project Kanban by default, and check the progress of all Projects';
$lang->my->executionLinkList = array();
-if($config->systemMode == 'new')
-{
- $lang->my->executionLinkList['execution-all'] = 'Enter the execution list by default, you can view all executions';
- $lang->my->executionLinkList['execution-task'] = 'By default, enter the list of the most recently executed task, and you can view the task information under the current iteration';
- $lang->my->executionLinkList['execution-executionkanban'] = 'By default, you can enter the execution Kanban to view the execution status of projects in progress';
-}
-if($config->systemMode == 'lean') $lang->my->executionLinkList['execution-task'] = 'By default, enter the list of the most recently executed task, and you can view the task information under the current iteration';
+$lang->my->executionLinkList['execution-all'] = 'Enter the execution list by default, you can view all executions';
+$lang->my->executionLinkList['execution-task'] = 'By default, enter the list of the most recently executed task, and you can view the task information under the current iteration';
+$lang->my->executionLinkList['execution-executionkanban'] = 'By default, you can enter the execution Kanban to view the execution status of projects in progress';
$lang->my->guideChangeTheme = <<"Young Blue" theme is available now!
diff --git a/module/my/lang/vi.php b/module/my/lang/vi.php
index b558580030..62f85039bc 100644
--- a/module/my/lang/vi.php
+++ b/module/my/lang/vi.php
@@ -80,13 +80,12 @@ $lang->my->form->lblAccount = 'Account Info';
$lang->my->programLink = 'Program Default Page';
$lang->my->productLink = 'Product Default Page';
$lang->my->projectLink = 'Project Default Page';
-if($config->systemMode == 'classic') $lang->my->executionLink = $lang->executionCommon . ' Default Page';
-if($config->systemMode == 'new') $lang->my->executionLink = 'Execution Default Page';
+$lang->my->executionLink = 'Execution Default Page';
$lang->my->programLinkList = array();
$lang->my->programLinkList['program-browse'] = 'By default, you go to the program list, where you can view all of the programs';
$lang->my->programLinkList['program-project'] = 'By default, you go to the list of items in the most recent program, and you can view all items under the current program';
-if($config->systemMode == 'new') $lang->my->programLinkList['program-kanban'] = 'Enter the Program Kanban by default, and check the progress of all Programs';
+$lang->my->programLinkList['program-kanban'] = 'Enter the Program Kanban by default, and check the progress of all Programs';
$lang->my->productLinkList = array();
$lang->my->productLinkList['product-index'] = 'The default access to the product home page, you can understand the company’s overall product status';
@@ -95,21 +94,16 @@ $lang->my->productLinkList['product-dashboard'] = 'By default, go to the latest
$lang->my->productLinkList['product-browse'] = 'By default, go to the list of requirements for the most recent product and see the requirements under the current product';
$lang->my->productLinkList['product-kanban'] = 'Enter the Product Kanban by default, and check the progress of all Products';
-global $config;
$lang->my->projectLinkList = array();
$lang->my->projectLinkList['project-browse'] = 'By default, you go to the project list, where you can view all the projects';
$lang->my->projectLinkList['project-execution'] = 'Go to Project-Exection by default. You can check all information in Execution';
$lang->my->projectLinkList['project-index'] = 'By default, go to the most recent project dashboard to see the current project overview';
-if($config->systemMode == 'new') $lang->my->projectLinkList['project-kanban'] = 'Enter the Project Kanban by default, and check the progress of all Projects';
+$lang->my->projectLinkList['project-kanban'] = 'Enter the Project Kanban by default, and check the progress of all Projects';
$lang->my->executionLinkList = array();
-if($config->systemMode == 'new')
-{
- $lang->my->executionLinkList['execution-all'] = 'Enter the execution list by default, you can view all executions';
- $lang->my->executionLinkList['execution-task'] = 'By default, enter the list of the most recently executed task, and you can view the task information under the current iteration';
- $lang->my->executionLinkList['execution-executionkanban'] = 'By default, you can enter the execution Kanban to view the execution status of projects in progress';
-}
-if($config->systemMode == 'classic') $lang->my->executionLinkList['execution-task'] = "By default, enter the list of the most recently {$lang->executionCommon} task, and you can view the task information under the current {$lang->executionCommon}";
+$lang->my->executionLinkList['execution-all'] = 'Enter the execution list by default, you can view all executions';
+$lang->my->executionLinkList['execution-task'] = 'By default, enter the list of the most recently executed task, and you can view the task information under the current iteration';
+$lang->my->executionLinkList['execution-executionkanban'] = 'By default, you can enter the execution Kanban to view the execution status of projects in progress';
$lang->my->guideChangeTheme = <<"Young Blue" theme is available now!
diff --git a/module/my/lang/zh-cn.php b/module/my/lang/zh-cn.php
index d8e0bec065..0a9daea551 100644
--- a/module/my/lang/zh-cn.php
+++ b/module/my/lang/zh-cn.php
@@ -100,7 +100,7 @@ $lang->my->executionLink = '执行默认着陆页';
$lang->my->programLinkList = array();
$lang->my->programLinkList['program-browse'] = '默认进入项目集列表,可以查看所有的项目集';
$lang->my->programLinkList['program-project'] = '默认进入最近一个项目集的项目列表,可以查看当前项目集下所有项目';
-if($config->systemMode == 'new') $lang->my->programLinkList['program-kanban'] = '默认进入项目集看板,可以可视化的查看到所有项目集的进展情况';
+$lang->my->programLinkList['program-kanban'] = '默认进入项目集看板,可以可视化的查看到所有项目集的进展情况';
$lang->my->productLinkList = array();
$lang->my->productLinkList['product-index'] = '默认进入产品主页,可以了解公司整体的产品状况';
@@ -109,21 +109,16 @@ $lang->my->productLinkList['product-dashboard'] = '默认进入最近一个产
$lang->my->productLinkList['product-browse'] = '默认进入最近一个产品的需求列表,可以查看当前产品下的需求信息';
$lang->my->productLinkList['product-kanban'] = '默认进入产品看板,可以可视化的查看到所有产品的进展情况';
-global $config;
$lang->my->projectLinkList = array();
$lang->my->projectLinkList['project-browse'] = '默认进入项目列表,可以查看所有的项目';
$lang->my->projectLinkList['project-execution'] = '默认进入项目下所有执行列表,查看所有执行信息';
$lang->my->projectLinkList['project-index'] = '默认进入最近一个项目仪表盘,可以查看当前项目概况';
-if($config->systemMode == 'new') $lang->my->projectLinkList['project-kanban'] = '默认进入项目看板,可以可视化的查看到所有项目的进展情况';
+$lang->my->projectLinkList['project-kanban'] = '默认进入项目看板,可以可视化的查看到所有项目的进展情况';
$lang->my->executionLinkList = array();
-if($config->systemMode == 'new')
-{
- $lang->my->executionLinkList['execution-all'] = '默认进入执行列表,可以查看所有的执行';
- $lang->my->executionLinkList['execution-task'] = '默认进入最近一个执行的任务列表,可以查看当前迭代下的任务信息';
- $lang->my->executionLinkList['execution-executionkanban'] = '默认进入执行看板,可以查看进行中项目的执行情况';
-}
-if($config->systemMode == 'lean') $lang->my->executionLinkList['execution-task'] = "默认进入最近一个{$lang->executionCommon}的任务列表,可以查看当前{$lang->executionCommon}下的任务信息";
+$lang->my->executionLinkList['execution-all'] = '默认进入执行列表,可以查看所有的执行';
+$lang->my->executionLinkList['execution-task'] = '默认进入最近一个执行的任务列表,可以查看当前迭代下的任务信息';
+$lang->my->executionLinkList['execution-executionkanban'] = '默认进入执行看板,可以查看进行中项目的执行情况';
$lang->my->guideChangeTheme = <<全新“青春蓝”主题上线了!
diff --git a/module/my/lang/zh-tw.php b/module/my/lang/zh-tw.php
index dc42ee55d2..97bda1a4d2 100644
--- a/module/my/lang/zh-tw.php
+++ b/module/my/lang/zh-tw.php
@@ -89,13 +89,12 @@ $lang->my->form->lblAccount = '帳號信息';
$lang->my->programLink = '項目集預設着陸頁';
$lang->my->productLink = '產品預設着陸頁';
$lang->my->projectLink = '項目預設着陸頁';
-if($config->systemMode == 'classic') $lang->my->executionLink = $lang->executionCommon . '預設着陸頁';
-if($config->systemMode == 'new') $lang->my->executionLink = '執行預設着陸頁';
+$lang->my->executionLink = '執行預設着陸頁';
$lang->my->programLinkList = array();
$lang->my->programLinkList['program-browse'] = '預設進入項目集列表,可以查看所有的項目集';
$lang->my->programLinkList['program-project'] = '預設進入最近一個項目集的項目列表,可以查看當前項目集下所有項目';
-if($config->systemMode == 'new') $lang->my->programLinkList['program-kanban'] = '預設進入項目集看板,可以可視化的查看到所有項目集的進展情況';
+$lang->my->programLinkList['program-kanban'] = '預設進入項目集看板,可以可視化的查看到所有項目集的進展情況';
$lang->my->productLinkList = array();
$lang->my->productLinkList['product-index'] = '預設進入產品主頁,可以瞭解公司整體的產品狀況';
@@ -109,16 +108,12 @@ $lang->my->projectLinkList = array();
$lang->my->projectLinkList['project-browse'] = '預設進入項目列表,可以查看所有的項目';
$lang->my->projectLinkList['project-execution'] = '預設進入項目下所有執行列表,查看所有執行信息';
$lang->my->projectLinkList['project-index'] = '預設進入最近一個項目儀表盤,可以查看當前項目概況';
-if($config->systemMode == 'new') $lang->my->projectLinkList['project-kanban'] = '預設進入項目看板,可以可視化的查看到所有項目的進展情況';
+$lang->my->projectLinkList['project-kanban'] = '預設進入項目看板,可以可視化的查看到所有項目的進展情況';
$lang->my->executionLinkList = array();
-if($config->systemMode == 'new')
-{
- $lang->my->executionLinkList['execution-all'] = '預設進入執行列表,可以查看所有的執行';
- $lang->my->executionLinkList['execution-task'] = '預設進入最近一個執行的任務列表,可以查看當前迭代下的任務信息';
- $lang->my->executionLinkList['execution-executionkanban'] = '預設進入執行看板,可以查看進行中項目的執行情況';
-}
-if($config->systemMode == 'classic') $lang->my->executionLinkList['execution-task'] = "預設進入最近一個{$lang->executionCommon}的任務列表,可以查看當前{$lang->executionCommon}下的任務信息";
+$lang->my->executionLinkList['execution-all'] = '預設進入執行列表,可以查看所有的執行';
+$lang->my->executionLinkList['execution-task'] = '預設進入最近一個執行的任務列表,可以查看當前迭代下的任務信息';
+$lang->my->executionLinkList['execution-executionkanban'] = '預設進入執行看板,可以查看進行中項目的執行情況';
$lang->my->guideChangeTheme = <<全新“青春藍”主題上線了!
diff --git a/module/my/model.php b/module/my/model.php
index 14bc238ccf..97473e12e5 100644
--- a/module/my/model.php
+++ b/module/my/model.php
@@ -648,7 +648,7 @@ class myModel extends model
unset($this->config->bug->search['fields']['closedBy']);
}
- if($this->config->systemMode == 'new') $this->config->bug->search['params']['project']['values'] = $this->loadModel('project')->getPairsByProgram() + array('all' => $this->lang->bug->allProject) + array('' => '');
+ $this->config->bug->search['params']['project']['values'] = $this->loadModel('project')->getPairsByProgram() + array('all' => $this->lang->bug->allProject) + array('' => '');
$this->config->bug->search['params']['execution']['values'] = $this->loadModel('execution')->getPairs();
$this->config->bug->search['params']['product']['values'] = $products + array('' => '');
$this->config->bug->search['params']['plan']['values'] = $this->loadModel('productplan')->getPairs();
@@ -682,13 +682,12 @@ class myModel extends model
$queryName = $type == 'contribute' ? 'contributeRisk' : 'workRisk';
$this->app->loadConfig('risk');
- $this->config->risk->search['module'] = $queryName;
- $this->config->risk->search['actionURL'] = $actionURL;
- $this->config->risk->search['queryID'] = $queryID;
+ $this->config->risk->search['module'] = $queryName;
+ $this->config->risk->search['actionURL'] = $actionURL;
+ $this->config->risk->search['queryID'] = $queryID;
$this->config->risk->search['params']['project']['values'] = array('') + $projects;
- if($this->config->systemMode == 'classic') unset($this->config->risk->search['fields']['project']);
unset($this->config->risk->search['fields']['module']);
$this->loadModel('search')->setSearchParams($this->config->risk->search);
diff --git a/module/my/view/selectproject.html.php b/module/my/view/selectproject.html.php
index 526bedf958..552e240097 100644
--- a/module/my/view/selectproject.html.php
+++ b/module/my/view/selectproject.html.php
@@ -7,7 +7,6 @@