30 lines
776 B
PHP
30 lines
776 B
PHP
<?php
|
|
|
|
class Application_Form_Default_Index_Auth_Login extends Zend_Form
|
|
{
|
|
public function init()
|
|
{
|
|
|
|
$this->addElement('text', 'username', array(
|
|
'filters' => array('StringTrim'),
|
|
'validators' => array(
|
|
array('StringLength', true, array(3, 150))
|
|
),
|
|
'required' => true,
|
|
));
|
|
|
|
$this->addElement('password', 'password', array(
|
|
'filters' => array('StringTrim'),
|
|
'validators' => array(
|
|
array('StringLength', true, array(3, 50))
|
|
),
|
|
'required' => true,
|
|
));
|
|
|
|
$this->addElement('text', 'ricorda_password', array(
|
|
'filters' => array('StringTrim')
|
|
));
|
|
|
|
}
|
|
}
|