From d0d15777332c373d92a949e43b6f9c44900dd8d2 Mon Sep 17 00:00:00 2001 From: Björn Geiger Date: Thu, 24 Mar 2011 11:19:29 +0100 Subject: Passwort Recovery, Mailversand funktioniert wahrscheinlich nicht --- application/modules/dev/forms/NewPassword.php | 37 +++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 application/modules/dev/forms/NewPassword.php (limited to 'application/modules/dev/forms') diff --git a/application/modules/dev/forms/NewPassword.php b/application/modules/dev/forms/NewPassword.php new file mode 100644 index 0000000..1023708 --- /dev/null +++ b/application/modules/dev/forms/NewPassword.php @@ -0,0 +1,37 @@ +personID = $personID; + } + + public function init() + { + $this->setName("NewPassword"); + $this->setMethod('post'); + + $this->addElement('hidden', 'personID', array( + 'value' => $this->personID + )); + + $this->addElement('password', 'password', array( + 'filters' => array('StringTrim'), + 'validators' => array( + array('StringLength', false, array(0, 50)), + ), + 'required' => true, + 'label' => 'Password:', + )); + + $this->addElement('submit', 'savePassword', array( + 'required' => false, + 'ignore' => true, + 'label' => 'Save', + )); + } + + +} \ No newline at end of file -- cgit v1.2.3-55-g7522