* adjust code.

This commit is contained in:
wangyidong
2023-03-13 08:58:35 +08:00
parent 108fae7cb5
commit b381efdff8
3 changed files with 5 additions and 4 deletions
+1
View File
@@ -447,6 +447,7 @@ class group extends control
$this->view->packages = $this->group->getPrivPackagesByView($view);
$this->view->moduleLang = $moduleLang;
$this->view->modulePackages = $this->group->getModuleAndPackageTree('package');
$this->view->view = $view;
$this->display();
}
+1 -1
View File
@@ -14,7 +14,7 @@
<div id="mainMenu" class='flex-space-center'>
<div class="btn-toolbar">
<?php echo html::a($this->createLink('group', 'browse', ''), '<i class="icon icon-angle-left"></i>' . $lang->goback, '', 'class="btn btn-back"');?>
<a href="#" class="btn btn-link btn-active-text"><?php echo $lang->group->all?></a>
<?php echo html::a(inlink('editManagePriv', "browseType={$browseType}&view="), $lang->group->all, '', "class='btn btn-link btn-active-text'");?>
<?php if($browseType != 'bycard'):?>
<a class="btn btn-link querybox-toggle" id='bysearchTab'><i class="icon icon-search muted"></i> <?php echo $lang->searchAB;?></a>
<?php endif;?>
@@ -15,9 +15,9 @@
<table class='table table-hover table-striped table-bordered' id='privList'>
<thead>
<tr class="text-center permission-head">
<th class="flex-sm">模块</th>
<th class="flex-sm">权限包</th>
<th class="flex-content">权限</th>
<th class="flex-sm"><?php echo $lang->group->module?></th>
<th class="flex-sm"><?php echo $lang->privpackage->common?></th>
<th class="flex-content"><?php echo $lang->group->acl?></th>
</tr>
</thead>
<tbody>