blob: 0e064b082ce2ee4b641878029e96d5e399e9d7d7 (
plain) (
tree)
|
|
<?php
/*
* Copyright (c) 2011 - OpenSLX GmbH, RZ Uni Freiburg
* This program is free software distributed under the GPL version 2.
* See http://gpl.openslx.org/
*
* If you have any feedback please consult http://feedback.openslx.org/ and
* send your suggestions, praise, or complaints to feedback@openslx.org
*
* General information about OpenSLX can be found at http://openslx.org/
*/
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',
));
}
}
|