summaryrefslogtreecommitdiffstats
path: root/application/forms/AuthRecoverPassword.php
diff options
context:
space:
mode:
authorBjörn Geiger2011-03-10 22:10:05 +0100
committerBjörn Geiger2011-03-10 22:10:05 +0100
commit7be4355001156faed62c71492234cba2c5bf96b4 (patch)
tree55bb96227ee354cc0c6d6788dc45020bd43d8bba /application/forms/AuthRecoverPassword.php
parentMerge branch 'master' of ssh://git.openslx.org/lsfks/master-teamprojekt/pbs2 (diff)
downloadpbs2-7be4355001156faed62c71492234cba2c5bf96b4.tar.gz
pbs2-7be4355001156faed62c71492234cba2c5bf96b4.tar.xz
pbs2-7be4355001156faed62c71492234cba2c5bf96b4.zip
Benutzervewaltung, Gruppenverwaltung, Membershipverwaltung und noch leerer RoleController
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',
+ ));
+ }
+
+
+}
+