From c203ffdd79f5231893423ce2e082a5e0c8fdcd28 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Mon, 22 Mar 2021 16:34:51 +0100 Subject: [PATCH] role|user|group: Open `Audit` tab always in `#col1` and close `#col2` --- application/controllers/GroupController.php | 7 ++++--- application/controllers/RoleController.php | 7 ++++--- application/controllers/UserController.php | 7 ++++--- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/application/controllers/GroupController.php b/application/controllers/GroupController.php index 059f98739..d18397cf4 100644 --- a/application/controllers/GroupController.php +++ b/application/controllers/GroupController.php @@ -385,9 +385,10 @@ class GroupController extends AuthBackendController $tabs->add( 'role/audit', [ - 'title' => $this->translate('Audit a user\'s or group\'s privileges'), - 'label' => $this->translate('Audit'), - 'url' => 'role/audit' + 'title' => $this->translate('Audit a user\'s or group\'s privileges'), + 'label' => $this->translate('Audit'), + 'url' => 'role/audit', + 'baseTarget' => '_main', ] ); } diff --git a/application/controllers/RoleController.php b/application/controllers/RoleController.php index 000017f0d..c0df218ab 100644 --- a/application/controllers/RoleController.php +++ b/application/controllers/RoleController.php @@ -261,9 +261,10 @@ class RoleController extends AuthBackendController $tabs->add( 'role/audit', [ - 'title' => $this->translate('Audit a user\'s or group\'s privileges'), - 'label' => $this->translate('Audit'), - 'url' => 'role/audit' + 'title' => $this->translate('Audit a user\'s or group\'s privileges'), + 'label' => $this->translate('Audit'), + 'url' => 'role/audit', + 'baseTarget' => '_main' ] ); diff --git a/application/controllers/UserController.php b/application/controllers/UserController.php index 1f91a55bf..b011cdfb4 100644 --- a/application/controllers/UserController.php +++ b/application/controllers/UserController.php @@ -342,9 +342,10 @@ class UserController extends AuthBackendController $tabs->add( 'role/audit', [ - 'title' => $this->translate('Audit a user\'s or group\'s privileges'), - 'label' => $this->translate('Audit'), - 'url' => 'role/audit' + 'title' => $this->translate('Audit a user\'s or group\'s privileges'), + 'label' => $this->translate('Audit'), + 'url' => 'role/audit', + 'baseTarget' => '_main' ] ); }