* adjust the user->getPairs().
* adjust the note of group. * adjust the UI of group priv manage and member manage.
This commit is contained in:
@@ -95,17 +95,16 @@ class group extends control
|
||||
$this->group->updatePriv($groupID);
|
||||
die(js::alert($this->lang->group->successSaved));
|
||||
}
|
||||
|
||||
$group = $this->group->getById($groupID);
|
||||
$groupPrivs = $this->group->getPrivs($groupID);
|
||||
|
||||
$header['title'] = $this->lang->admin->common . $this->lang->colon . $group->name . $this->lang->colon . $this->lang->group->managePriv;
|
||||
$position[] = html::a($this->createLink('admin', 'browsegroup', "companyid={$this->app->company->id}"), $this->lang->admin->group);
|
||||
$position[] = $group->name . $this->lang->colon . $this->lang->group->managePriv;
|
||||
$this->view->header->title = $this->lang->company->common . $this->lang->colon . $group->name . $this->lang->colon . $this->lang->group->managePriv;
|
||||
$this->view->position[] = html::a($this->createLink('admin', 'browsegroup', "companyid={$this->app->company->id}"), $this->lang->admin->group);
|
||||
$this->view->position[] = $group->name . $this->lang->colon . $this->lang->group->managePriv;
|
||||
|
||||
$this->assign('header', $header);
|
||||
$this->assign('position', $position);
|
||||
$this->assign('group', $group);
|
||||
$this->assign('groupPrivs', $groupPrivs);
|
||||
$this->view->group = $group;
|
||||
$this->view->groupPrivs = $groupPrivs;
|
||||
|
||||
/* 加载每一个模块的语言文件。*/
|
||||
foreach($this->lang->resource as $moduleName => $action) $this->app->loadLang($moduleName);
|
||||
|
||||
Reference in New Issue
Block a user