CC-4090: Make code style PSR compliant

-removed all trailing whitespace in forms directory
-replace all tabs with 4 spaces
This commit is contained in:
Martin Konecny 2012-07-10 18:55:44 -04:00
parent d9cde230cd
commit 7ce4934cdc
25 changed files with 297 additions and 297 deletions

View file

@ -8,22 +8,22 @@ class Application_Form_Preferences extends Zend_Form
{
$this->setAction('/Preference');
$this->setMethod('post');
$isSaas = Application_Model_Preference::GetPlanLevel() == 'disabled'?false:true;
$this->isSaas = $isSaas;
$this->isSaas = $isSaas;
$this->setDecorators(array(
array('ViewScript', array('viewScript' => 'form/preferences.phtml', "isSaas" => $this->isSaas))
));
$general_pref = new Application_Form_GeneralPreferences();
$this->addSubForm($general_pref, 'preferences_general');
if (!$isSaas) {
$email_pref = new Application_Form_EmailServerPreferences();
$this->addSubForm($email_pref, 'preferences_email_server');
}
$soundcloud_pref = new Application_Form_SoundcloudPreferences();
$this->addSubForm($soundcloud_pref, 'preferences_soundcloud');