diff --git a/module/action/lang/de.php b/module/action/lang/de.php
index b416dafb40..d9ae130817 100644
--- a/module/action/lang/de.php
+++ b/module/action/lang/de.php
@@ -681,14 +681,7 @@ $lang->action->label->release = 'Release|release|view|productID=%s';
$lang->action->label->story = 'Story|story|view|storyID=%s';
$lang->action->label->program = "Program|program|pgmproduct|programID=%s";
$lang->action->label->project = "Project|project|index|projectID=%s";
-if($config->systemMode == 'new')
-{
- $lang->action->label->execution = "Execution|execution|task|executionID=%s";
-}
-else
-{
- $lang->action->label->execution = "Execution|execution|task|executionID=%s";
-}
+$lang->action->label->execution = "Execution|execution|task|executionID=%s";
$lang->action->label->task = 'Aufgaben|task|view|taskID=%s';
$lang->action->label->build = 'Builds|build|view|buildID=%s';
diff --git a/module/action/lang/en.php b/module/action/lang/en.php
index 2afc2554f6..2f9aecbe2a 100755
--- a/module/action/lang/en.php
+++ b/module/action/lang/en.php
@@ -681,14 +681,7 @@ $lang->action->label->release = 'Release|release|view|productID=%s';
$lang->action->label->story = 'Story|story|view|storyID=%s';
$lang->action->label->program = "Program|program|product|programID=%s";
$lang->action->label->project = "Project|project|index|projectID=%s";
-if($config->systemMode == 'new')
-{
- $lang->action->label->execution = "Execution|execution|task|executionID=%s";
-}
-else
-{
- $lang->action->label->execution = "$lang->executionCommon|execution|task|executionID=%s";
-}
+$lang->action->label->execution = "Execution|execution|task|executionID=%s";
$lang->action->label->task = 'Task|task|view|taskID=%s';
$lang->action->label->build = 'Build|build|view|buildID=%s';
diff --git a/module/action/lang/fr.php b/module/action/lang/fr.php
index 04bcf949a4..1115ad45fc 100644
--- a/module/action/lang/fr.php
+++ b/module/action/lang/fr.php
@@ -681,14 +681,7 @@ $lang->action->label->release = 'Release|release|view|productID=%s';
$lang->action->label->story = 'Story|story|view|storyID=%s';
$lang->action->label->program = "Program|program|pgmproduct|programID=%s";
$lang->action->label->project = "Project|program|index|projectID=%s";
-if($config->systemMode == 'new')
-{
- $lang->action->label->execution = "Execution|execution|task|executionID=%s";
-}
-else
-{
- $lang->action->label->execution = "Execution|execution|task|executionID=%s";
-}
+$lang->action->label->execution = "Execution|execution|task|executionID=%s";
$lang->action->label->task = 'Tâche|task|view|taskID=%s';
$lang->action->label->build = 'Build|build|view|buildID=%s';
diff --git a/module/action/lang/vi.php b/module/action/lang/vi.php
index 93814e6516..cc7eb8e729 100644
--- a/module/action/lang/vi.php
+++ b/module/action/lang/vi.php
@@ -536,14 +536,7 @@ $lang->action->label->release = 'Phát hành|release|view|productID=%s';
$lang->action->label->story = 'Câu chuyện|story|view|storyID=%s';
$lang->action->label->program = "Program|program|pgmproduct|programID=%s";
$lang->action->label->project = "Project|program|index|projectID=%s";
-if($config->systemMode == 'new')
-{
- $lang->action->label->execution = "Execution|execution|task|executionID=%s";
-}
-else
-{
- $lang->action->label->execution = "$lang->executionCommon|execution|task|executionID=%s";
-}
+$lang->action->label->execution = "Execution|execution|task|executionID=%s";
$lang->action->label->task = 'Nhiệm vụ|task|view|taskID=%s';
$lang->action->label->build = 'Bản dựng|build|view|buildID=%s';
$lang->action->label->bug = 'Bug|bug|view|bugID=%s';
diff --git a/module/action/lang/zh-cn.php b/module/action/lang/zh-cn.php
index 74a9785ca4..4cfa4abfe3 100755
--- a/module/action/lang/zh-cn.php
+++ b/module/action/lang/zh-cn.php
@@ -99,7 +99,7 @@ $lang->action->objectTypes['productplan'] = '计划';
$lang->action->objectTypes['release'] = '发布';
$lang->action->objectTypes['program'] = '项目集';
$lang->action->objectTypes['project'] = '项目';
-$lang->action->objectTypes['execution'] = $config->systemMode == 'new' ? '执行' : $lang->executionCommon;
+$lang->action->objectTypes['execution'] = '执行';
$lang->action->objectTypes['task'] = '任务';
$lang->action->objectTypes['build'] = '版本';
$lang->action->objectTypes['job'] = '构建';
@@ -681,14 +681,7 @@ $lang->action->label->release = '发布|release|view|productID=%s';
$lang->action->label->story = "{$lang->SRCommon}|story|view|storyID=%s";
$lang->action->label->program = "项目集|program|product|programID=%s";
$lang->action->label->project = "项目|project|index|projectID=%s";
-if($config->systemMode == 'new')
-{
- $lang->action->label->execution = "执行|execution|task|executionID=%s";
-}
-else
-{
- $lang->action->label->execution = "$lang->executionCommon|execution|task|executionID=%s";
-}
+$lang->action->label->execution = "执行|execution|task|executionID=%s";
$lang->action->label->task = '任务|task|view|taskID=%s';
$lang->action->label->build = '版本|build|view|buildID=%s';
diff --git a/module/action/lang/zh-tw.php b/module/action/lang/zh-tw.php
index dbdac896d3..f9785a8b16 100755
--- a/module/action/lang/zh-tw.php
+++ b/module/action/lang/zh-tw.php
@@ -90,7 +90,7 @@ $lang->action->objectTypes['productplan'] = '計劃';
$lang->action->objectTypes['release'] = '發佈';
$lang->action->objectTypes['program'] = '項目集';
$lang->action->objectTypes['project'] = '項目';
-$lang->action->objectTypes['execution'] = $config->systemMode == 'new' ? '執行' : $lang->executionCommon;
+$lang->action->objectTypes['execution'] = '執行';
$lang->action->objectTypes['task'] = '任務';
$lang->action->objectTypes['build'] = '版本';
$lang->action->objectTypes['job'] = '構建';
@@ -560,20 +560,13 @@ $lang->action->dynamicAction->entry['created'] = '添加應用';
$lang->action->dynamicAction->entry['edited'] = '編輯應用';
/* 用來生成相應對象的連結。*/
-$lang->action->label->product = $lang->productCommon . '|product|view|productID=%s';
-$lang->action->label->productplan = "計劃|productplan|view|productID=%s";
-$lang->action->label->release = '發佈|release|view|productID=%s';
-$lang->action->label->story = "{$lang->SRCommon}|story|view|storyID=%s";
-$lang->action->label->program = "項目集|program|product|programID=%s";
-$lang->action->label->project = "項目|project|index|projectID=%s";
-if($config->systemMode == 'new')
-{
- $lang->action->label->execution = "執行|execution|task|executionID=%s";
-}
-else
-{
- $lang->action->label->execution = "$lang->executionCommon|execution|task|executionID=%s";
-}
+$lang->action->label->product = $lang->productCommon . '|product|view|productID=%s';
+$lang->action->label->productplan = "計劃|productplan|view|productID=%s";
+$lang->action->label->release = '發佈|release|view|productID=%s';
+$lang->action->label->story = "{$lang->SRCommon}|story|view|storyID=%s";
+$lang->action->label->program = "項目集|program|product|programID=%s";
+$lang->action->label->project = "項目|project|index|projectID=%s";
+$lang->action->label->execution = "執行|execution|task|executionID=%s";
$lang->action->label->task = '任務|task|view|taskID=%s';
$lang->action->label->build = '版本|build|view|buildID=%s';
$lang->action->label->bug = 'Bug|bug|view|bugID=%s';
diff --git a/module/action/model.php b/module/action/model.php
index fc818fe750..539ea41091 100755
--- a/module/action/model.php
+++ b/module/action/model.php
@@ -1761,7 +1761,7 @@ class actionModel extends model
$action = $this->getById($actionID);
if($action->action != 'deleted') return;
- if($this->config->systemMode == 'new' and $action->objectType == 'execution')
+ if($action->objectType == 'execution')
{
$execution = $this->dao->select('*')->from(TABLE_EXECUTION)->where('id')->eq($action->objectID)->fetch();
if($execution->deleted and empty($execution->project)) return print(js::error($this->lang->action->undeletedTips));
diff --git a/module/action/view/trash.html.php b/module/action/view/trash.html.php
index 5ac3abe485..cb861e81e6 100755
--- a/module/action/view/trash.html.php
+++ b/module/action/view/trash.html.php
@@ -82,7 +82,7 @@
action->objectType);?> |
idAB);?> |
action->objectName;?> |
- systemMode == 'new' and $currentObjectType == 'execution'):?>
+
lang->project->project;?> |
@@ -146,7 +146,7 @@
}
?>
- systemMode == 'new' and $currentObjectType == 'execution'):?>
+
project]->name;?>
project]->deleted):?>
diff --git a/module/block/control.php b/module/block/control.php
index 7f2910708f..d0b12a83bf 100755
--- a/module/block/control.php
+++ b/module/block/control.php
@@ -1737,10 +1737,8 @@ class block extends control
$this->app->loadClass('pager', true);
$pager = pager::init(0, $count, 1);
- $projectPairs = array();
- if($this->config->systemMode == 'new') $projectPairs = $this->dao->select('id,name')->from(TABLE_PROJECT)->where('type')->eq('project')->fetchPairs('id', 'name');
-
- $projectID = $this->view->block->module == 'my' ? 0 : (int)$this->session->project;
+ $projectPairs = $this->dao->select('id,name')->from(TABLE_PROJECT)->where('type')->eq('project')->fetchPairs('id', 'name');
+ $projectID = $this->view->block->module == 'my' ? 0 : (int)$this->session->project;
$this->view->executionStats = $this->execution->getStatData($projectID, $status, 0, 0, false, 'skipParent', 'id_asc', $pager);
}
diff --git a/module/block/lang/vi.php b/module/block/lang/vi.php
index 84f7d1f3b3..aac102a0cb 100644
--- a/module/block/lang/vi.php
+++ b/module/block/lang/vi.php
@@ -252,14 +252,11 @@ $lang->block->default['full']['my']['3']['grid'] = 4;
$lang->block->default['full']['my']['3']['source'] = 'todo';
$lang->block->default['full']['my']['3']['params']['count'] = '20';
-if($config->systemMode == 'new')
-{
- $lang->block->default['full']['my']['4']['title'] = 'Project Statistic';
- $lang->block->default['full']['my']['4']['block'] = 'statistic';
- $lang->block->default['full']['my']['4']['source'] = 'project';
- $lang->block->default['full']['my']['4']['grid'] = 8;
- $lang->block->default['full']['my']['4']['params']['count'] = '20';
-}
+$lang->block->default['full']['my']['4']['title'] = 'Project Statistic';
+$lang->block->default['full']['my']['4']['block'] = 'statistic';
+$lang->block->default['full']['my']['4']['source'] = 'project';
+$lang->block->default['full']['my']['4']['grid'] = 8;
+$lang->block->default['full']['my']['4']['params']['count'] = '20';
$lang->block->default['full']['my']['5']['title'] = 'Personal Contribution';
$lang->block->default['full']['my']['5']['block'] = 'contribute';
@@ -284,13 +281,10 @@ $lang->block->default['full']['my']['7']['params']['issueCount'] = '20';
$lang->block->default['full']['my']['7']['params']['storyCount'] = '20';
$lang->block->default['full']['my']['7']['params']['meetingCount'] = '20';
-if($config->systemMode == 'new')
-{
- $lang->block->default['full']['my']['8']['title'] = 'Human Input';
- $lang->block->default['full']['my']['8']['block'] = 'projectteam';
- $lang->block->default['full']['my']['8']['source'] = 'project';
- $lang->block->default['full']['my']['8']['grid'] = 8;
-}
+$lang->block->default['full']['my']['8']['title'] = 'Human Input';
+$lang->block->default['full']['my']['8']['block'] = 'projectteam';
+$lang->block->default['full']['my']['8']['source'] = 'project';
+$lang->block->default['full']['my']['8']['grid'] = 8;
$lang->block->default['full']['my']['9']['title'] = 'Project List';
$lang->block->default['full']['my']['9']['block'] = 'project';
@@ -321,7 +315,7 @@ $lang->block->availableBlocks->issue = 'My Issues';
$lang->block->availableBlocks->meeting = 'My Meetings';
$lang->block->availableBlocks->feedback = 'My Feedbacks';
-if($config->systemMode == 'new') $lang->block->moduleList['project'] = 'Project';
+$lang->block->moduleList['project'] = 'Project';
$lang->block->moduleList['product'] = $lang->productCommon;
$lang->block->moduleList['execution'] = $lang->execution->common;
$lang->block->moduleList['qa'] = 'QA';
@@ -332,7 +326,7 @@ $lang->block->modules['project']->availableBlocks = new stdclass();
$lang->block->modules['project']->availableBlocks->project = 'Project List';
$lang->block->modules['project']->availableBlocks->recentproject = 'Recent Projects';
$lang->block->modules['project']->availableBlocks->statistic = 'Project Statistic';
-if($config->systemMode == 'new') $lang->block->modules['project']->availableBlocks->projectteam = 'ProjectHuman Input';
+$lang->block->modules['project']->availableBlocks->projectteam = 'ProjectHuman Input';
$lang->block->modules['scrum']['index'] = new stdclass();
$lang->block->modules['scrum']['index']->availableBlocks = new stdclass();
diff --git a/module/block/lang/zh-tw.php b/module/block/lang/zh-tw.php
index 030dff1817..96818c2410 100644
--- a/module/block/lang/zh-tw.php
+++ b/module/block/lang/zh-tw.php
@@ -536,8 +536,7 @@ $lang->block->flowchart = array();
$lang->block->flowchart['admin'] = array('管理員', '維護公司', '添加用戶', '維護權限');
if($config->systemMode == 'new') $lang->block->flowchart['program'] = array('項目集負責人', '創建項目集', '關聯產品', "創建項目", "制定預算和規劃", '添加干係人');
$lang->block->flowchart['product'] = array($lang->productCommon . '經理', '創建' . $lang->productCommon, '維護模組', "維護計劃", "維護需求", '創建發佈');
-$lang->block->flowchart['project'] = array('項目經理', '創建' . $lang->executionCommon, '維護團隊', "關聯需求", '分解任務', '跟蹤進度');
-if($config->systemMode == 'new') $lang->block->flowchart['project'] = array('項目經理', '創建項目、' . $lang->executionCommon, '維護團隊', "關聯需求", '分解任務', '跟蹤進度');
+$lang->block->flowchart['project'] = array('項目經理', '創建項目、' . $lang->executionCommon, '維護團隊', "關聯需求", '分解任務', '跟蹤進度');
$lang->block->flowchart['dev'] = array('研發人員', '領取任務和Bug', '設計實現方案', '更新狀態', '完成任務和Bug', '提交代碼');
$lang->block->flowchart['tester'] = array('測試人員', '撰寫用例', '執行用例', '提交Bug', '驗證Bug', '關閉Bug');
diff --git a/module/block/view/recentprojectblock.html.php b/module/block/view/recentprojectblock.html.php
index 8d865d4184..da19da4548 100644
--- a/module/block/view/recentprojectblock.html.php
+++ b/module/block/view/recentprojectblock.html.php
@@ -45,10 +45,8 @@
- systemMode == 'new'):?>
model == 'waterfall' ? 'label-warning' : 'label-info';?>
project->{$project->model};?>
-
name);?>
|