2015-04-24 14:27:22 +02:00
|
|
|
<?php
|
|
|
|
|
2015-06-29 10:13:39 +02:00
|
|
|
// Sample permission:
|
|
|
|
$this->providePermission('director/templates', 'Allow to modify templates');
|
|
|
|
|
2015-06-29 15:40:24 +02:00
|
|
|
$this->provideConfigTab('config', array(
|
|
|
|
'title' => 'Configuration',
|
|
|
|
'url' => 'settings'
|
|
|
|
));
|
|
|
|
|
2015-06-29 11:31:35 +02:00
|
|
|
$section = $this->menuSection(
|
|
|
|
$this->translate('Icinga Director')
|
|
|
|
)->setIcon('cubes');
|
|
|
|
|
2015-06-30 11:19:31 +02:00
|
|
|
$section->add($this->translate('Global'))->setUrl('director/commands');
|
|
|
|
$section->add($this->translate('Hosts'))->setUrl('director/hosts');
|
|
|
|
$section->add($this->translate('Services'))->setUrl('director/services');
|
|
|
|
$section->add($this->translate('Users'))->setUrl('director/users');
|
2015-06-29 10:13:39 +02:00
|
|
|
$section->add($this->translate('Config'))
|
2015-06-18 10:54:44 +02:00
|
|
|
->setUrl('director/list/generatedconfig')
|
2015-06-17 13:31:51 +02:00
|
|
|
->setPriority(902);
|
2015-06-29 10:13:39 +02:00
|
|
|
|