CC-4090: Make code style PSR compliant - part 4

-forms directory
This commit is contained in:
Martin Konecny 2012-08-28 23:04:55 -04:00
parent 481616a0d6
commit b2327472e8
29 changed files with 505 additions and 519 deletions

View file

@ -41,13 +41,13 @@ class Application_Form_EmailServerPreferences extends Zend_Form_SubForm
'viewHelper'
)
));
$this->addElement('checkbox', 'msRequiresAuth', array(
'label' => 'Requires Authentication',
'required' => false,
'value' => Application_Model_Preference::GetMailServerRequiresAuth(),
'decorators' => array(
'viewHelper'
'viewHelper'
)
));
@ -60,7 +60,7 @@ class Application_Form_EmailServerPreferences extends Zend_Form_SubForm
'allowEmpty' => false,
'validators' => array(
new ConditionalNotEmpty(array(
'configureMailServer' => '1'
'configureMailServer' => '1'
))
)
));
@ -74,7 +74,7 @@ class Application_Form_EmailServerPreferences extends Zend_Form_SubForm
'allowEmpty' => false,
'validators' => array(
new ConditionalNotEmpty(array(
'configureMailServer' => '1',
'configureMailServer' => '1',
'msRequiresAuth' => '1'
))
)
@ -89,8 +89,8 @@ class Application_Form_EmailServerPreferences extends Zend_Form_SubForm
'allowEmpty' => false,
'validators' => array(
new ConditionalNotEmpty(array(
'configureMailServer' => '1',
'msRequiresAuth' => '1'
'configureMailServer' => '1',
'msRequiresAuth' => '1'
))
),
'renderPassword' => true
@ -108,6 +108,4 @@ class Application_Form_EmailServerPreferences extends Zend_Form_SubForm
}
}