mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
parent
f0a99274e6
commit
a627571b87
@ -55,7 +55,6 @@ class DbBackendForm extends BaseBackendForm
|
|||||||
'name',
|
'name',
|
||||||
array(
|
array(
|
||||||
'required' => true,
|
'required' => true,
|
||||||
'allowEmpty' => false,
|
|
||||||
'label' => t('Backend Name'),
|
'label' => t('Backend Name'),
|
||||||
'helptext' => t('The name of this authentication provider'),
|
'helptext' => t('The name of this authentication provider'),
|
||||||
)
|
)
|
||||||
@ -65,23 +64,11 @@ class DbBackendForm extends BaseBackendForm
|
|||||||
'resource',
|
'resource',
|
||||||
array(
|
array(
|
||||||
'required' => true,
|
'required' => true,
|
||||||
'allowEmpty' => false,
|
|
||||||
'label' => t('Database Connection'),
|
'label' => t('Database Connection'),
|
||||||
'helptext' => t('The database connection to use for authenticating with this provider'),
|
'helptext' => t('The database connection to use for authenticating with this provider'),
|
||||||
'multiOptions' => $this->resources
|
'multiOptions' => $this->resources
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
$this->createElement(
|
|
||||||
'button',
|
|
||||||
'btn_submit',
|
|
||||||
array(
|
|
||||||
'type' => 'submit',
|
|
||||||
'value' => '1',
|
|
||||||
'escape' => false,
|
|
||||||
'class' => 'btn btn-cta btn-wide',
|
|
||||||
'label' => '<i class="icinga-icon-save"></i> Save Backend'
|
|
||||||
)
|
|
||||||
),
|
|
||||||
$this->createElement(
|
$this->createElement(
|
||||||
'hidden',
|
'hidden',
|
||||||
'backend',
|
'backend',
|
||||||
|
@ -55,7 +55,6 @@ class LdapBackendForm extends BaseBackendForm
|
|||||||
'name',
|
'name',
|
||||||
array(
|
array(
|
||||||
'required' => true,
|
'required' => true,
|
||||||
'allowEmpty' => false,
|
|
||||||
'label' => t('Backend Name'),
|
'label' => t('Backend Name'),
|
||||||
'helptext' => t('The name of this authentication backend')
|
'helptext' => t('The name of this authentication backend')
|
||||||
)
|
)
|
||||||
@ -65,7 +64,6 @@ class LdapBackendForm extends BaseBackendForm
|
|||||||
'resource',
|
'resource',
|
||||||
array(
|
array(
|
||||||
'required' => true,
|
'required' => true,
|
||||||
'allowEmpty' => false,
|
|
||||||
'label' => t('LDAP Resource'),
|
'label' => t('LDAP Resource'),
|
||||||
'helptext' => t('The resource to use for authenticating with this provider'),
|
'helptext' => t('The resource to use for authenticating with this provider'),
|
||||||
'multiOptions' => $this->resources
|
'multiOptions' => $this->resources
|
||||||
@ -91,17 +89,6 @@ class LdapBackendForm extends BaseBackendForm
|
|||||||
'value' => 'uid'
|
'value' => 'uid'
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
$this->createElement(
|
|
||||||
'button',
|
|
||||||
'btn_submit',
|
|
||||||
array(
|
|
||||||
'type' => 'submit',
|
|
||||||
'value' => '1',
|
|
||||||
'escape' => false,
|
|
||||||
'class' => 'btn btn-cta btn-wide',
|
|
||||||
'label' => '<i class="icinga-icon-save"></i> Save Backend'
|
|
||||||
)
|
|
||||||
),
|
|
||||||
$this->createElement(
|
$this->createElement(
|
||||||
'hidden',
|
'hidden',
|
||||||
'backend',
|
'backend',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user