diff --git a/module/bug/view/m.browse.html.php b/module/bug/view/m.browse.html.php index df4ba1ca23..e29d235181 100755 --- a/module/bug/view/m.browse.html.php +++ b/module/bug/view/m.browse.html.php @@ -12,10 +12,12 @@ ?> +session->set('bugType', '');?> status == 'closed') continue;?>
-
+
+ session->bugID == $bug->id) echo "";?>

title;?>

steps;?>
steps;?>
diff --git a/module/bug/view/m.view.html.php b/module/bug/view/m.view.html.php index bb41973900..86abea40b0 100755 --- a/module/bug/view/m.view.html.php +++ b/module/bug/view/m.view.html.php @@ -1 +1,5 @@ -createLink('my', 'bug', "type={$this->session->bugType}"), 'parent'));?> +session->set('bugID', $bug->id); +if($this->session->bugType) die(js::locate($this->createLink('my', 'bug', "type={$this->session->bugType}"), 'parent')); +die(js::locate($this->createLink('bug', 'browse', "productID=$productID"), 'parent')); +?> diff --git a/module/my/view/m.bug.html.php b/module/my/view/m.bug.html.php index 09e6bbc9ee..7e7c6d3d01 100755 --- a/module/my/view/m.bug.html.php +++ b/module/my/view/m.bug.html.php @@ -16,7 +16,8 @@ session->set('bugType', $type);?>
-
+
+ session->bugID == $bug->id) echo "";?>

title;?>

steps;?>
diff --git a/module/my/view/m.task.html.php b/module/my/view/m.task.html.php index 501f4fcfd9..7499b6ee4c 100755 --- a/module/my/view/m.task.html.php +++ b/module/my/view/m.task.html.php @@ -23,7 +23,8 @@ session->set('taskType', $type);?>
-
+
+ session->taskID == $task->id) echo "";?>

name;?>

desc;?>
desc;?>
diff --git a/module/product/view/m.browse.html.php b/module/product/view/m.browse.html.php index c0ade7db0a..0b7a8f2cf0 100755 --- a/module/product/view/m.browse.html.php +++ b/module/product/view/m.browse.html.php @@ -1,21 +1,10 @@ - - * @package product - * @version $Id: browse.html.php 4660 2013-04-17 08:22:02Z chencongzhi520@gmail.com $ - * @link http://www.zentao.net - */ -?>
status == 'closed') continue;?>
-
+
+ session->storyID == $story->id) echo "";?>

title;?>

diff --git a/module/project/view/m.task.html.php b/module/project/view/m.task.html.php index 06092b1a37..38f967ba9a 100644 --- a/module/project/view/m.task.html.php +++ b/module/project/view/m.task.html.php @@ -1,21 +1,10 @@ - - * @package my - * @version $Id: task.html.php 4735 2013-05-03 08:30:02Z chencongzhi520@gmail.com $ - * @link http://www.zentao.net - */ -?>
-session->set('tastType', '');?> +session->set('taskType', '');?>
-
+
+ session->taskID == $task->id) echo "";?>

name;?>

desc?>
diff --git a/module/story/view/m.view.html.php b/module/story/view/m.view.html.php index 1faf934f41..f3b16e6e8e 100755 --- a/module/story/view/m.view.html.php +++ b/module/story/view/m.view.html.php @@ -1 +1,2 @@ +session->set('storyID', $story->id);?> createLink('product', 'browse', "productID=$product->id"), 'parent'));?> diff --git a/module/task/view/m.view.html.php b/module/task/view/m.view.html.php index eec4cc3eb4..a58ff4cd83 100644 --- a/module/task/view/m.view.html.php +++ b/module/task/view/m.view.html.php @@ -1,4 +1,5 @@ session->set('taskID', $task->id); if($this->session->taskType) die(js::locate($this->createLink('my', 'task', "type={$this->session->taskType}"), 'parent')); die(js::locate($this->createLink('project', 'task', "projectID=$project->id"), 'parent')); ?>