diff options
Diffstat (limited to 'application/modules/dev/forms/NewPassword.php')
| -rw-r--r-- | application/modules/dev/forms/NewPassword.php | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/application/modules/dev/forms/NewPassword.php b/application/modules/dev/forms/NewPassword.php deleted file mode 100644 index 68304c4..0000000 --- a/application/modules/dev/forms/NewPassword.php +++ /dev/null @@ -1,45 +0,0 @@ -<?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 dev_Form_NewPassword extends Zend_Form { - private $personID; - - public function setPersonID($personID) { - $this->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 |
