* adjust the company view.

This commit is contained in:
wangchunsheng
2010-04-14 07:30:56 +00:00
parent 1344a735f3
commit 00c653068a
12 changed files with 52 additions and 59 deletions

View File

@@ -26,16 +26,6 @@ class admin extends control
/* 首页。*/
public function index($tab = 'index')
{
$this->locate(inlink('browseCompany'));
}
/* 公司列表。*/
public function browseCompany()
{
$this->view->header->title = $this->lang->admin->common . $this->lang->colon . $this->lang->company->browse;
$this->view->position[] = $this->lang->admin->company;
$this->view->position[] = $this->lang->company->browse;
$this->view->companies = $this->loadModel('company')->getList();
$this->display();
$this->locate($this->createLink('action', 'trash'));
}
}