summaryrefslogtreecommitdiffstats
path: root/application/forms/AuthRecoverPassword.php
diff options
context:
space:
mode:
authorSimon2011-03-11 00:48:32 +0100
committerSimon2011-03-11 00:48:32 +0100
commit87239f3f5905fb5ca937faec449256a7801a1440 (patch)
treec76e923b6aec6fa0a4674fc4b287538d0b386ea9 /application/forms/AuthRecoverPassword.php
parentMerge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2 (diff)
parentMerge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2 (diff)
downloadpbs2-87239f3f5905fb5ca937faec449256a7801a1440.tar.gz
pbs2-87239f3f5905fb5ca937faec449256a7801a1440.tar.xz
pbs2-87239f3f5905fb5ca937faec449256a7801a1440.zip
Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2
Diffstat (limited to 'application/forms/AuthRecoverPassword.php')
-rw-r--r--application/forms/AuthRecoverPassword.php28
1 files changed, 28 insertions, 0 deletions
diff --git a/application/forms/AuthRecoverPassword.php b/application/forms/AuthRecoverPassword.php
new file mode 100644
index 0000000..fc9478b
--- /dev/null
+++ b/application/forms/AuthRecoverPassword.php
@@ -0,0 +1,28 @@
+<?php
+
+class Application_Form_AuthRecoverPassword 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',
+ ));
+ }
+
+
+}
+