Lines Matching refs:form
46 // create the login form
47 $form = new Form(['id' => 'dw__login', 'action' => wl($ID)]);
48 $form->addTagOpen('div')->addClass('no');
49 $form->addFieldsetOpen($lang['btn_login']);
50 $form->setHiddenField('id', $ID);
51 $form->setHiddenField('do', 'login');
53 $input = $form->addTextInput('u', $lang['user'])->id('focus__this')->addClass('edit')
56 $form->addHTML("<br>\n");
58 $input = $form->addPasswordInput('p', $lang['pass'])->addClass('block edit');
60 $form->addHTML("<br>\n");
63 $form->addCheckbox('r', $lang['remember'])->id('remember__me')->val('1');
65 $form->addButton('', $lang['btn_login'])->attr('type', 'submit');
66 $form->addFieldsetClose();
67 $form->addTagClose('div');
71 $form->addHTML('<p>' . $lang['reghere'] . ': ' . $registerLink . '</p>');
76 $form->addHTML('<p>' . $lang['pwdforget'] . ': ' . $resendPwLink . '</p>');
79 echo $form->toHTML('Login');