From 87c20f4f3b29692d4edf9e2cecbdf4ffb7132f4b Mon Sep 17 00:00:00 2001 From: "chencongzhi520@gmail.com" Date: Tue, 19 Jun 2012 01:27:05 +0000 Subject: [PATCH] * Adjust the title. --- module/task/control.php | 4 ++-- module/task/view/view.html.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/module/task/control.php b/module/task/control.php index 3199210c22..69550a08c8 100644 --- a/module/task/control.php +++ b/module/task/control.php @@ -343,9 +343,9 @@ class task extends control $project = $this->project->getById($task->project); $this->project->setMenu($this->project->getPairs(), $project->id); - $header['title'] = $project->name . $this->lang->colon . $this->lang->task->view; + $header['title'] = "TASK#$task->id $task->name / $project->name"; $position[] = html::a($this->createLink('project', 'browse', "projectID=$task->project"), $project->name); - $position[] = $this->lang->task->view; + $position[] = $task->name; $this->view->header = $header; $this->view->position = $position; diff --git a/module/task/view/view.html.php b/module/task/view/view.html.php index ef688a6e3c..150874b141 100644 --- a/module/task/view/view.html.php +++ b/module/task/view/view.html.php @@ -13,9 +13,9 @@
fromBug == 0):?> -
'>TASK #id . $lang->colon . $task->name;?>
+
'>TASK #id . ' ' . $task->name;?>
-
'>TASK #id . $lang->colon . $task->name . '('. $lang->task->fromBug . $lang->colon . $task->fromBug . ')';?>
+
'>TASK #id . ' ' . $task->name . '('. $lang->task->fromBug . $lang->colon . $task->fromBug . ')';?>