From ac46b95d9192d7c32d62864fa114e04efdd2e46c Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Tue, 5 Jan 2010 06:07:14 +0000 Subject: [PATCH] * when link story, add the link to story view page. --- module/project/control.php | 4 ++-- module/project/view/linkstory.html.php | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/module/project/control.php b/module/project/control.php index dfff30bc93..9c08440831 100644 --- a/module/project/control.php +++ b/module/project/control.php @@ -446,8 +446,8 @@ class project extends control $products = $this->project->getProducts($projectID); $browseLink = $this->createLink('project', 'story', "projectID=$projectID"); - /* 设置菜单。*/ - $this->project->setMenu($this->projects, $project->id); + $this->session->set('storyList', $this->app->getURI(true)); // 记录需求列表状态。 + $this->project->setMenu($this->projects, $project->id); // 设置菜单。 if(empty($products)) { diff --git a/module/project/view/linkstory.html.php b/module/project/view/linkstory.html.php index cd6a022944..f47ba834a8 100644 --- a/module/project/view/linkstory.html.php +++ b/module/project/view/linkstory.html.php @@ -29,12 +29,12 @@ - - - - - - + + + + + + @@ -44,7 +44,7 @@ - +
story->id;?>story->pri;?>story->product;?>story->title;?>story->plan;?>story->linkStory;?>story->id;?>story->pri;?>story->product;?>story->title;?>story->plan;?>story->linkStory;?>
id;?> pri;?> createLink('product', 'browse', "productID=$story->product"), $products[$story->product], '_blank');?>title;?>createLink('story', 'view', "story=$story->id"), $story->title);?> planTitle;?>