* adjust title.

This commit is contained in:
wangchunsheng
2012-09-02 07:31:12 +00:00
parent 917921ee76
commit 80023501b1
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -343,7 +343,7 @@ class bug extends control
$productName = $this->products[$productID];
/* Header and positon. */
$this->view->header->title = "BUG #$bug->id $bug->title/" . $this->products[$productID];
$this->view->header->title = "BUG #$bug->id $bug->title - " . $this->products[$productID];
$this->view->position[] = html::a($this->createLink('bug', 'browse', "productID=$productID"), $productName);
$this->view->position[] = $this->lang->bug->view;
+3 -2
View File
@@ -123,9 +123,10 @@ class build extends control
$this->loadModel('common')->saveQueryCondition($this->dao->get(), 'bug');
$this->loadModel('project')->setMenu($this->project->getPairs(), $build->project);
$projects = $this->project->getPairs();
/* Assign. */
$this->view->header->title = "BUILD #$build->id $build->name/" . $projects[$build->project];
$projects = $this->project->getPairs();
$this->view->header->title = "BUILD #$build->id $build->name - " . $projects[$build->project];
$this->view->position[] = $this->lang->build->view;
$this->view->products = $this->project->getProducts($build->project);
$this->view->users = $this->loadModel('user')->getPairs('noletter');
+1 -1
View File
@@ -14,7 +14,7 @@ $clientTheme = $this->app->getClientTheme();
<?php
$header = isset($header) ? (object)$header : new stdclass();
if(!isset($header->title)) $header->title = $lang->ZenTaoPMS;
echo html::title($header->title . ' / ' . $lang->ZenTaoPMS);
echo html::title($header->title . ' - ' . $lang->ZenTaoPMS);
js::exportConfigVars();
if($config->debug)