parent
f0a99274e6
commit
a627571b87
|
@ -55,7 +55,6 @@ class DbBackendForm extends BaseBackendForm
|
|||
'name',
|
||||
array(
|
||||
'required' => true,
|
||||
'allowEmpty' => false,
|
||||
'label' => t('Backend Name'),
|
||||
'helptext' => t('The name of this authentication provider'),
|
||||
)
|
||||
|
@ -65,23 +64,11 @@ class DbBackendForm extends BaseBackendForm
|
|||
'resource',
|
||||
array(
|
||||
'required' => true,
|
||||
'allowEmpty' => false,
|
||||
'label' => t('Database Connection'),
|
||||
'helptext' => t('The database connection to use for authenticating with this provider'),
|
||||
'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(
|
||||
'hidden',
|
||||
'backend',
|
||||
|
|
|
@ -55,7 +55,6 @@ class LdapBackendForm extends BaseBackendForm
|
|||
'name',
|
||||
array(
|
||||
'required' => true,
|
||||
'allowEmpty' => false,
|
||||
'label' => t('Backend Name'),
|
||||
'helptext' => t('The name of this authentication backend')
|
||||
)
|
||||
|
@ -65,7 +64,6 @@ class LdapBackendForm extends BaseBackendForm
|
|||
'resource',
|
||||
array(
|
||||
'required' => true,
|
||||
'allowEmpty' => false,
|
||||
'label' => t('LDAP Resource'),
|
||||
'helptext' => t('The resource to use for authenticating with this provider'),
|
||||
'multiOptions' => $this->resources
|
||||
|
@ -91,17 +89,6 @@ class LdapBackendForm extends BaseBackendForm
|
|||
'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(
|
||||
'hidden',
|
||||
'backend',
|
||||
|
|
Loading…
Reference in New Issue