From 8135f0b5b3f7ab6fdd60bbb5b519ec2e1bfa8052 Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Sun, 20 Jan 2013 09:15:24 +0000 Subject: [PATCH] * change the title assign method. --- module/productplan/control.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/module/productplan/control.php b/module/productplan/control.php index c53083afa3..4e9dd220f9 100644 --- a/module/productplan/control.php +++ b/module/productplan/control.php @@ -45,7 +45,7 @@ class productplan extends control $this->commonAction($product); - $this->view->header->title = $this->lang->productplan->create; + $this->view->title = $this->lang->productplan->create; $this->display(); } @@ -72,7 +72,7 @@ class productplan extends control $plan = $this->productplan->getByID($planID); $this->commonAction($plan->product); - $this->view->header->title = $this->lang->productplan->edit; + $this->view->title = $this->lang->productplan->edit; $this->view->position[] = $this->lang->productplan->edit; $this->view->plan = $plan; $this->display(); @@ -112,7 +112,7 @@ class productplan extends control $this->session->set('productPlanList', $this->app->getURI(true)); $this->commonAction($product); $products = $this->product->getPairs(); - $this->view->header->title = $products[$product] . $this->lang->colon . $this->lang->productplan->browse; + $this->view->title = $products[$product] . $this->lang->colon . $this->lang->productplan->browse; $this->view->position[] = $this->lang->productplan->browse; $this->view->plans = $this->productplan->getList($product); $this->display(); @@ -133,7 +133,7 @@ class productplan extends control if(!$plan) die(js::error($this->lang->notFound) . js::locate('back')); $this->commonAction($plan->product); $products = $this->product->getPairs(); - $this->view->header->title = "PLAN #$plan->id $plan->title/" . $products[$plan->product]; + $this->view->title = "PLAN #$plan->id $plan->title/" . $products[$plan->product]; $this->view->position[] = $this->lang->productplan->view; $this->view->planStories= $this->loadModel('story')->getPlanStories($planID); $this->view->products = $products; @@ -158,7 +158,7 @@ class productplan extends control $plan = $this->productplan->getByID($planID); $this->commonAction($plan->product); - $this->view->header->title = $this->lang->productplan->linkStory; + $this->view->title = $this->lang->productplan->linkStory; $this->view->position[] = $this->lang->productplan->linkStory; $this->view->allStories = $this->loadModel('story')->getProductStories($this->view->product->id, $moduleID = '0', $status = 'draft,active,changed'); $this->view->planStories= $this->story->getPlanStories($planID);