diff --git a/module/product/control.php b/module/product/control.php index 57486e8edf..454e3363cd 100644 --- a/module/product/control.php +++ b/module/product/control.php @@ -50,6 +50,11 @@ class product extends control public function index($locate = 'yes', $productID = 0, $status = 'noclosed', $orderBy = 'order_desc', $recTotal = 0, $recPerPage = 10, $pageID = 1) { if($locate == 'yes') $this->locate($this->createLink($this->moduleName, 'browse')); + + $this->product->setMenu($this->products, $productID); + $this->view->title = $this->lang->product->index; + $this->view->position[] = $this->lang->product->index; + $this->display(); } /** diff --git a/module/product/view/index.html.php b/module/product/view/index.html.php new file mode 100644 index 0000000000..3d66b57c68 --- /dev/null +++ b/module/product/view/index.html.php @@ -0,0 +1,15 @@ + + * @package product + * @version $Id$ + * @link http://www.zentao.net + */ +?> + + +