* add index page.

This commit is contained in:
wangyidong
2016-04-08 11:40:37 +08:00
parent ea7aabdd3e
commit 4d38fbdad1
2 changed files with 20 additions and 0 deletions
+5
View File
@@ -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();
}
/**
+15
View File
@@ -0,0 +1,15 @@
<?php
/**
* The index view file of product module of ZenTaoPMS.
*
* @copyright Copyright 2009-2015 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
* @license ZPL (http://zpl.pub/page/zplv12.html)
* @author Yidong Wang <yidong@cnezsoft.com>
* @package product
* @version $Id$
* @link http://www.zentao.net
*/
?>
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/footer.html.php';?>