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

@ -1,7 +1,5 @@
<?php
require_once 'customfilters/ImageSize.php';
class Application_Form_SupportSettings extends Zend_Form
{
@ -96,17 +94,6 @@ class Application_Form_SupportSettings extends Zend_Form
->setAttrib('COLS','58');
$this->addElement($description);
// Station Logo
$upload = new Zend_Form_Element_File('Logo');
$upload->setLabel(_('Station Logo:'))
->setRequired(false)
->setDecorators(array('File'))
->addValidator('Count', false, 1)
->addValidator('Extension', false, 'jpg,jpeg,png,gif')
->addFilter('ImageSize');
$upload->setAttrib('accept', 'image/*');
$this->addElement($upload);
//enable support feedback
$this->addElement('checkbox', 'SupportFeedback', array(
'label' => _('Send support feedback'),