* change the title assign method.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user