From f02fec4cc26962fcc2417d3b6c775d9df8f3fd52 Mon Sep 17 00:00:00 2001 From: azhi Date: Mon, 22 Jul 2013 15:29:34 +0800 Subject: [PATCH] * finish task#1612. --- module/testtask/control.php | 4 ++-- module/testtask/view/browse.html.php | 19 ++++++++++--------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/module/testtask/control.php b/module/testtask/control.php index e111a3c902..d10b58099b 100644 --- a/module/testtask/control.php +++ b/module/testtask/control.php @@ -66,10 +66,10 @@ class testtask extends control $this->view->position[] = $this->lang->testtask->common; $this->view->productID = $productID; $this->view->productName = $this->products[$productID]; - $this->view->pager = $pager; $this->view->orderBy = $orderBy; - $this->view->tasks = $this->testtask->getProductTasks($productID); + $this->view->tasks = $this->testtask->getProductTasks($productID, $orderBy, $pager); $this->view->users = $this->loadModel('user')->getPairs('noclosed|noletter'); + $this->view->pager = $pager; $this->display(); } diff --git a/module/testtask/view/browse.html.php b/module/testtask/view/browse.html.php index 0db074797c..79d18adc08 100644 --- a/module/testtask/view/browse.html.php +++ b/module/testtask/view/browse.html.php @@ -11,22 +11,22 @@ */ ?> - + recTotal}&recPerPage={$pager->recPerPage}"; ?> - - - - - - - - + + + + + + + + @@ -52,5 +52,6 @@ +
testtask->browse;?>
idAB;?>testtask->name;?>testtask->project;?>testtask->build;?>testtask->owner;?>testtask->begin;?>testtask->end;?>statusAB;?> idAB);?> testtask->name);?> testtask->project);?> testtask->build);?>testtask->owner);?>testtask->begin);?>testtask->end);?>statusAB);?> actions;?>
show();?>