* adjust the UI.

This commit is contained in:
wangchunsheng
2009-12-18 09:02:35 +00:00
parent fb5ec89ec9
commit 2a6527a636
20 changed files with 153 additions and 170 deletions

View File

@@ -44,6 +44,8 @@ class company extends control
$this->lang->set('menugroup.company', 'company');
$childDeptIds = $this->dept->getAllChildID($deptID);
$this->company->setMenu($deptID);
$header['title'] = $this->lang->company->index . $this->lang->colon . $this->lang->dept->common;
$position[] = $this->lang->dept->common;
@@ -52,6 +54,7 @@ class company extends control
$this->assign('users', $this->dept->getUsers($childDeptIds));
$this->assign('deptTree', $this->dept->getTreeMenu($rooteDeptID = 0, array('deptModel', 'createMemberLink')));
$this->assign('parentDepts', $this->dept->getParents($deptID));
$this->assign('deptID', $deptID);
$this->display();
}
@@ -66,6 +69,8 @@ class company extends control
}
$this->lang->set('menugroup.company', 'admin');
$this->lang->company->menu = $this->lang->admin->menu;
$header['title'] = $this->lang->admin->common . $this->lang->colon . $this->lang->company->create;
$position[] = html::a($this->createLink('admin', 'browsecompany'), $this->lang->admin->company);
$position[] = $this->lang->company->create;
@@ -85,6 +90,8 @@ class company extends control
}
$this->lang->set('menugroup.company', 'admin');
$this->lang->company->menu = $this->lang->admin->menu;
$header['title'] = $this->lang->admin->common . $this->lang->colon . $this->lang->company->edit;
$position[] = html::a($this->createLink('admin', 'browsecompany'), $this->lang->admin->company);
$position[] = $this->lang->company->edit;