* Change add btn link.
This commit is contained in:
@@ -20,8 +20,8 @@ featureBar
|
||||
$canManagePriv = hasPriv('group', 'managePriv');
|
||||
$canCreateGroup = hasPriv('group', 'create');
|
||||
|
||||
if($canManagePriv) $managePrivItem = array('class' => 'btn ghost', 'text' => $lang->group->managePrivByModule, 'url' => $this->createLink('group', 'managePriv', 'type=byModule'), 'data-toggle' => 'modal');
|
||||
if($canCreateGroup) $createItem = array('icon' => 'plus', 'class' => 'primary', 'text' => $lang->group->create, 'url' => $this->createLink('group', 'create'), 'data-toggle' => 'modal');
|
||||
if($canManagePriv) $managePrivItem = array('class' => 'btn ghost', 'text' => $lang->group->managePrivByModule, 'url' => inLink('managePriv', 'type=byModule'), 'data-toggle' => 'modal');
|
||||
if($canCreateGroup) $createItem = array('icon' => 'plus', 'class' => 'primary', 'text' => $lang->group->create, 'url' => inLink('create', '', '', true), 'data-toggle' => 'modal');
|
||||
toolbar
|
||||
(
|
||||
$canManagePriv ? item(set($managePrivItem)) : null,
|
||||
|
||||
Reference in New Issue
Block a user