26 lines
815 B
PHP
26 lines
815 B
PHP
<?php
|
|
|
|
// Sample permission:
|
|
$this->providePermission('director/templates', 'Allow to modify templates');
|
|
|
|
$this->provideConfigTab('config', array(
|
|
'title' => 'Configuration',
|
|
'url' => 'settings'
|
|
));
|
|
|
|
$section = $this->menuSection(
|
|
$this->translate('Icinga Director')
|
|
)->setIcon('cubes');
|
|
|
|
$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');
|
|
$section->add($this->translate('Import / Sync'))
|
|
->setUrl('director/list/importsource')
|
|
->setPriority(901);
|
|
$section->add($this->translate('Config'))
|
|
->setUrl('director/list/generatedconfig')
|
|
->setPriority(902);
|
|
|