parent
8eb5554ba2
commit
27e1611831
|
@ -55,13 +55,13 @@ class ConfigController extends Controller
|
|||
$tabs = $this->getTabs();
|
||||
$tabs->add('userbackend', array(
|
||||
'title' => $this->translate('Configure how users authenticate with and log into Icinga Web 2'),
|
||||
'label' => $this->translate('User Backends'),
|
||||
'label' => $this->translate('Authentication'),
|
||||
'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'),
|
||||
'label' => $this->translate('User Groups'),
|
||||
'url' => 'usergroupbackend/list',
|
||||
'baseTarget' => '_main'
|
||||
));
|
||||
|
@ -95,6 +95,7 @@ class ConfigController extends Controller
|
|||
|
||||
$this->view->form = $form;
|
||||
$this->createApplicationTabs()->activate('general');
|
||||
$this->createAuthenticationTabs();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -199,6 +200,7 @@ class ConfigController extends Controller
|
|||
$form->handleRequest();
|
||||
|
||||
$this->view->form = $form;
|
||||
$this->createApplicationTabs();
|
||||
$this->createAuthenticationTabs()->activate('userbackend');
|
||||
$this->render('userbackend/reorder');
|
||||
}
|
||||
|
@ -337,6 +339,7 @@ class ConfigController extends Controller
|
|||
$this->assertPermission('config/application/resources');
|
||||
$this->view->resources = Config::app('resources', true);
|
||||
$this->createApplicationTabs()->activate('resource');
|
||||
$this->createAuthenticationTabs();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -154,14 +154,26 @@ class UsergroupbackendController extends Controller
|
|||
protected function createListTabs()
|
||||
{
|
||||
$tabs = $this->getTabs();
|
||||
$tabs->add('general', array(
|
||||
'title' => $this->translate('Adjust the general configuration of Icinga Web 2'),
|
||||
'label' => $this->translate('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',
|
||||
'baseTarget' => '_main'
|
||||
));
|
||||
$tabs->add('userbackend', array(
|
||||
'title' => $this->translate('Configure how users authenticate with and log into Icinga Web 2'),
|
||||
'label' => $this->translate('User Backends'),
|
||||
'label' => $this->translate('Authentication'),
|
||||
'url' => 'config/userbackend'
|
||||
));
|
||||
$tabs->add('usergroupbackend', array(
|
||||
'title' => $this->translate('Configure how users are associated with groups by Icinga Web 2'),
|
||||
'label' => $this->translate('User Group Backends'),
|
||||
'label' => $this->translate('User Groups'),
|
||||
'url' => 'usergroupbackend/list'
|
||||
));
|
||||
return $tabs;
|
||||
|
|
Loading…
Reference in New Issue