diff options
| author | michael pereira | 2011-03-21 10:52:51 +0100 |
|---|---|---|
| committer | michael pereira | 2011-03-21 10:52:51 +0100 |
| commit | 3a59301fdf10fcc0ecc3a56db18f3a36cc0c1aac (patch) | |
| tree | d70593ed8261f466b41d21731421dfb6489d7dfa /application/modules/user/forms/RecoverPassword.php | |
| parent | Preboot Controller eingerichtet (diff) | |
| parent | Login in User Module (diff) | |
| download | pbs2-3a59301fdf10fcc0ecc3a56db18f3a36cc0c1aac.tar.gz pbs2-3a59301fdf10fcc0ecc3a56db18f3a36cc0c1aac.tar.xz pbs2-3a59301fdf10fcc0ecc3a56db18f3a36cc0c1aac.zip | |
zfproject
Diffstat (limited to 'application/modules/user/forms/RecoverPassword.php')
| -rw-r--r-- | application/modules/user/forms/RecoverPassword.php | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/application/modules/user/forms/RecoverPassword.php b/application/modules/user/forms/RecoverPassword.php new file mode 100644 index 0000000..90feb87 --- /dev/null +++ b/application/modules/user/forms/RecoverPassword.php @@ -0,0 +1,28 @@ +<?php + +class user_Form_RecoverPassword extends Zend_Form +{ + + public function init() + { + $this->setName("RecoverPassword"); + $this->setMethod('post'); + + $this->addElement('text', 'email', array( + 'filters' => array('StringTrim'), + 'validators' => array( + array('StringLength', false, array(0, 30)), + ), + 'required' => true, + 'label' => 'Email:', + )); + $this->addElement('submit', 'recoverPassword', array( + 'required' => false, + 'ignore' => true, + 'label' => 'Recover Password', + )); + } + + +} + |
