Initial Commit
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<?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')
|
||||
));
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user