- removed validator on logo image for now
This commit is contained in:
parent
3dcb10c931
commit
ed77eebe59
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue