Drop obsolete button elements

refs #5525
This commit is contained in:
Johannes Meyer 2014-08-11 10:46:45 +02:00
parent f0a99274e6
commit a627571b87
2 changed files with 0 additions and 26 deletions

View File

@ -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',

View File

@ -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',