summaryrefslogtreecommitdiffstats
path: root/application/forms/AuthRecoverPassword.php
diff options
context:
space:
mode:
authormichael pereira2011-03-11 00:47:11 +0100
committermichael pereira2011-03-11 00:47:11 +0100
commit9610ae543038c263f657232d158476788f952144 (patch)
treee3ce7a6ab6ab80c1c913da9f27a4417c1464c2d2 /application/forms/AuthRecoverPassword.php
parentpostinit.local geaendert (diff)
parentso geändert, dass nur im eingeloggten Zustand verfügbar (diff)
downloadpbs2-9610ae543038c263f657232d158476788f952144.tar.gz
pbs2-9610ae543038c263f657232d158476788f952144.tar.xz
pbs2-9610ae543038c263f657232d158476788f952144.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',
+ ));
+ }
+
+
+}
+