+ add function of sort resource.

This commit is contained in:
zhujinyong
2012-07-01 08:09:54 +00:00
parent 563646b3d4
commit 0f2e699807
2 changed files with 52 additions and 2 deletions
+2 -1
View File
@@ -139,6 +139,7 @@ class group extends control
if($type == 'byGroup')
{
$this->group->sortResource();
$group = $this->group->getById($groupID);
$groupPrivs = $this->group->getPrivs($groupID);
@@ -148,10 +149,10 @@ class group extends control
$this->view->group = $group;
$this->view->changelogs = $this->lang->changelog;
$this->view->groupPrivs = $groupPrivs;
}
elseif($type == 'byModule')
{
$this->group->sortResource();
$this->view->header->title = $this->lang->company->common . $this->lang->colon . $this->lang->group->managePriv;
$this->view->position[] = $this->lang->group->managePriv;