- removed validator on logo image for now

This commit is contained in:
james 2011-06-21 12:03:23 -04:00
parent 3dcb10c931
commit ed77eebe59
1 changed files with 3 additions and 3 deletions

View File

@ -95,14 +95,14 @@ class Application_Form_RegisterAirtime extends Zend_Form
$upload = new Zend_Form_Element_File('Logo'); $upload = new Zend_Form_Element_File('Logo');
$upload->setLabel('Station Logo:') $upload->setLabel('Station Logo:')
->setRequired(false) ->setRequired(false)
->setDecorators(array('File')) ->setDecorators(array('File'));
->addValidator('Count', false, 1) /*->addValidator('Count', false, 1)
->addValidator('Extension', false, 'jpg,png,gif') ->addValidator('Extension', false, 'jpg,png,gif')
->addValidator('ImageSize', false, array( ->addValidator('ImageSize', false, array(
'minwidth' => 200, 'minwidth' => 200,
'minheight' => 200, 'minheight' => 200,
'maxwidth' => 600, 'maxwidth' => 600,
'maxheight' => 600)); 'maxheight' => 600));*/
$this->addElement($upload); $this->addElement($upload);
//enable support feedback //enable support feedback