Lines Matching defs:form
15 * Display the form to request a new password for an existing account
34 $form = $this->formSetNewPassword($token);
36 $form = $this->formResendPassword();
39 echo $form->toHTML('ResendPwd');
45 * create a form ui to set new password
54 // create the form
55 $form = new Form(['id' => 'dw__resendpwd']);
56 $form->addTagOpen('div')->addClass('no');
57 $form->addFieldsetOpen($lang['btn_resendpwd']);
58 $form->setHiddenField('token', $token);
59 $form->setHiddenField('do', 'resendpwd');
61 $input = $form->addPasswordInput('pass', $lang['pass'])->attr('size', '50')->addClass('edit');
63 $form->addHTML("<br>\n");
64 $input = $form->addPasswordInput('passchk', $lang['passchk'])->attr('size', '50')->addClass('edit');
66 $form->addHTML("<br>\n");
67 $form->addButton('', $lang['btn_resendpwd'])->attr('type', 'submit');
68 $form->addFieldsetClose();
69 $form->addTagClose('div');
70 return $form;
74 * create a form ui to request new password
82 // create the form
83 $form = new Form(['id' => 'dw__resendpwd']);
84 $form->addTagOpen('div')->addClass('no');
85 $form->addFieldsetOpen($lang['btn_resendpwd']);
86 $form->setHiddenField('do', 'resendpwd');
87 $form->setHiddenField('save', '1');
88 $form->addHTML("<br>\n");
90 $input = $form->addTextInput('login', $lang['user'])->addClass('edit');
92 $form->addHTML("<br>\n");
93 $form->addHTML("<br>\n");
94 $form->addButton('', $lang['btn_resendpwd'])->attr('type', 'submit');
95 $form->addFieldsetClose();
96 $form->addTagClose('div');
97 return $form;