* adjust code.

This commit is contained in:
shiyangyangwork@yahoo.cn
2011-10-25 09:06:53 +00:00
parent 49cf4a6287
commit 45ed4750a9
8 changed files with 33 additions and 12 deletions
+3 -2
View File
@@ -916,8 +916,9 @@ class project extends control
$period = $type == 'account' ? 'all' : $type;
/* The header and position. */
$this->view->header->title = $this->lang->company->common . $this->lang->colon . $this->lang->company->dynamic;
$this->view->position[] = $this->lang->company->dynamic;
$project = $this->project->getByID($projectID);
$this->view->header->title = $project->name . $this->lang->colon . $this->lang->project->dynamic;
$this->view->position[] = $this->lang->project->dynamic;
/* Assign. */
$this->view->projectID = $projectID;