Moved the Station Logo field to GeneralPreferences, and stopped using

AJAX on the general prefs form
This commit is contained in:
Albert Santoni 2015-01-15 16:28:18 -05:00
parent 4ba4559f01
commit f9bf71a349
10 changed files with 50 additions and 62 deletions

View file

@ -7,9 +7,6 @@ class Application_Form_Preferences extends Zend_Form
{
$baseUrl = Application_Common_OsPath::getBaseDir();
$this->setMethod('post');
$this->setDecorators(array(
array('ViewScript', array('viewScript' => 'form/preferences.phtml'))
));
@ -31,5 +28,12 @@ class Application_Form_Preferences extends Zend_Form
$soundcloud_pref = new Application_Form_SoundcloudPreferences();
$this->addSubForm($soundcloud_pref, 'preferences_soundcloud');
$submit = new Zend_Form_Element_Submit('submit');
$submit->setLabel(_('Save'));
//$submit->removeDecorator('Label');
$submit->setAttribs(array('class'=>'btn right-floated'));
$submit->removeDecorator('DtDdWrapper');
$this->addElement($submit);
}
}