+ complete task #343:optimize group users.
This commit is contained in:
@@ -122,8 +122,8 @@ class group extends control
|
||||
}
|
||||
$group = $this->group->getById($groupID);
|
||||
$groupUsers = $this->group->getUserPairs($groupID);
|
||||
$groupUsers = join(',', array_keys($groupUsers));
|
||||
$allUsers = $this->user->getPairs('noclosed|noempty|noletter');
|
||||
$otherUsers = array_diff_assoc($allUsers, $groupUsers);
|
||||
|
||||
$header['title'] = $this->lang->company->common . $this->lang->colon . $group->name . $this->lang->colon . $this->lang->group->manageMember;
|
||||
$position[] = $group->name . $this->lang->colon . $this->lang->group->manageMember;
|
||||
@@ -132,7 +132,7 @@ class group extends control
|
||||
$this->view->position = $position;
|
||||
$this->view->group = $group;
|
||||
$this->view->groupUsers = $groupUsers;
|
||||
$this->view->allUsers = $allUsers;
|
||||
$this->view->otherUsers = $otherUsers;
|
||||
|
||||
$this->display();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user