Monitoring: implement "Security" config tab

This commit is contained in:
Alexander Klimov 2014-08-19 11:19:30 +02:00
parent a38d71f17c
commit 0464099764
3 changed files with 12 additions and 1 deletions

View File

@ -258,4 +258,9 @@ class Monitoring_ConfigController extends ModuleActionController
$instanceCfg = $this->Config('instances');
return $instanceCfg && $instanceCfg->get($instance);
}
public function securityAction()
{
$this->view->tabs = $this->Module()->getConfigTabs()->activate('security');
}
}

View File

@ -0,0 +1,3 @@
<div class="controls">
<?= $this->tabs ?>
</div>

View File

@ -12,4 +12,7 @@ $this->provideConfigTab('backends', array(
'title' => 'Backends',
'url' => 'config'
));
$this->provideConfigTab('security', array(
'title' => 'Security',
'url' => 'config/security'
));