parent
2b879b344f
commit
75a0c17933
|
@ -11,6 +11,14 @@ use Zend_Validate_Callback;
|
|||
*/
|
||||
class AutologinBackendForm extends BaseBackendForm
|
||||
{
|
||||
/**
|
||||
* Initialize this form
|
||||
*/
|
||||
public function init()
|
||||
{
|
||||
$this->setName('form_config_authentication_autologin');
|
||||
}
|
||||
|
||||
public function isValidAuthenticationBackend()
|
||||
{
|
||||
return true;
|
||||
|
|
|
@ -30,6 +30,8 @@ class DbBackendForm extends BaseBackendForm
|
|||
*/
|
||||
public function init()
|
||||
{
|
||||
$this->setName('form_config_authentication_db');
|
||||
|
||||
$dbResources = array_keys(
|
||||
ResourceFactory::getResourceConfigs('db')->toArray()
|
||||
);
|
||||
|
|
|
@ -30,6 +30,8 @@ class LdapBackendForm extends BaseBackendForm
|
|||
*/
|
||||
public function init()
|
||||
{
|
||||
$this->setName('form_config_authentication_ldap');
|
||||
|
||||
$ldapResources = array_keys(
|
||||
ResourceFactory::getResourceConfigs('ldap')->toArray()
|
||||
);
|
||||
|
|
|
@ -13,6 +13,14 @@ use Icinga\Web\Form;
|
|||
*/
|
||||
class AddUrlForm extends Form
|
||||
{
|
||||
/**
|
||||
* Initialize this form
|
||||
*/
|
||||
public function init()
|
||||
{
|
||||
$this->setName('form_dashboard_addurl');
|
||||
}
|
||||
|
||||
/**
|
||||
* @see Form::createElements()
|
||||
*/
|
||||
|
|
|
@ -19,7 +19,7 @@ class GeneralForm extends Form
|
|||
*/
|
||||
public function init()
|
||||
{
|
||||
$this->setName('form_preference_set');
|
||||
$this->setName('form_config_preferences');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -251,6 +251,9 @@ class Monitoring_ConfigController extends ModuleActionController
|
|||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Display a form to adjust security relevant settings
|
||||
*/
|
||||
public function securityAction()
|
||||
{
|
||||
$this->view->tabs = $this->Module()->getConfigTabs()->activate('security');
|
||||
|
|
|
@ -12,6 +12,14 @@ use Icinga\Data\ResourceFactory;
|
|||
*/
|
||||
class BackendForm extends Form
|
||||
{
|
||||
/**
|
||||
* Initialize this form
|
||||
*/
|
||||
public function init()
|
||||
{
|
||||
$this->setName('form_config_monitoring_backends');
|
||||
}
|
||||
|
||||
/**
|
||||
* @see Form::createElements()
|
||||
*/
|
||||
|
|
|
@ -14,6 +14,14 @@ use Icinga\Web\Form\Decorator\ElementWrapper;
|
|||
*/
|
||||
class InstanceForm extends Form
|
||||
{
|
||||
/**
|
||||
* Initialize this form
|
||||
*/
|
||||
public function init()
|
||||
{
|
||||
$this->setName('form_config_monitoring_instances');
|
||||
}
|
||||
|
||||
/**
|
||||
* @see Form::createElements()
|
||||
*/
|
||||
|
|
|
@ -17,6 +17,14 @@ class SecurityForm extends Form
|
|||
*/
|
||||
protected $config;
|
||||
|
||||
/**
|
||||
* Initialize this form
|
||||
*/
|
||||
public function init()
|
||||
{
|
||||
$this->setName('form_config_monitoring_security');
|
||||
}
|
||||
|
||||
/**
|
||||
* @see Form::createElements()
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue