diff --git a/application/controllers/ConfigController.php b/application/controllers/ConfigController.php index cb2c31855..30f46db50 100644 --- a/application/controllers/ConfigController.php +++ b/application/controllers/ConfigController.php @@ -32,12 +32,14 @@ class ConfigController extends Controller $tabs->add('general', array( 'title' => $this->translate('Adjust the general configuration of Icinga Web 2'), 'label' => $this->translate('General'), - 'url' => 'config/general' + 'url' => 'config/general', + 'baseTarget' => '_main' )); $tabs->add('resource', array( 'title' => $this->translate('Configure which resources are being utilized by Icinga Web 2'), 'label' => $this->translate('Resources'), - 'url' => 'config/resource' + 'url' => 'config/resource', + 'baseTarget' => '_main' )); return $tabs; } @@ -51,12 +53,14 @@ class ConfigController extends Controller $tabs->add('userbackend', array( 'title' => $this->translate('Configure how users authenticate with and log into Icinga Web 2'), 'label' => $this->translate('User Backends'), - 'url' => 'config/userbackend' + 'url' => 'config/userbackend', + 'baseTarget' => '_main' )); $tabs->add('usergroupbackend', array( 'title' => $this->translate('Configure how users are associated with groups by Icinga Web 2'), 'label' => $this->translate('User Group Backends'), - 'url' => 'usergroupbackend/list' + 'url' => 'usergroupbackend/list', + 'baseTarget' => '_main' )); return $tabs; } diff --git a/application/controllers/RoleController.php b/application/controllers/RoleController.php index bae4cad88..971a7efc9 100644 --- a/application/controllers/RoleController.php +++ b/application/controllers/RoleController.php @@ -166,7 +166,8 @@ class RoleController extends AuthBackendController 'Configure roles to permit or restrict users and groups accessing Icinga Web 2' ), 'label' => $this->translate('Roles'), - 'url' => 'role/list' + 'url' => 'role/list', + 'baseTarget' => '_main' ) ); diff --git a/application/views/scripts/config/resource.phtml b/application/views/scripts/config/resource.phtml index 36822b9f0..3e34c308d 100644 --- a/application/views/scripts/config/resource.phtml +++ b/application/views/scripts/config/resource.phtml @@ -1,4 +1,4 @@ -