Lines Matching refs:form
68 $form = new \dokuwiki\Form\Form([
72 $form->setHiddenField('id', $id); // we need it for the ajax call
76 $form->setHiddenField('s_name', $USERINFO['name']);
77 $form->setHiddenField('s_email', $USERINFO['mail']);
79 $form->addTextInput('s_name', $this->getLang('yourname'))->addClass('edit');
80 $form->addTextInput('s_email', $this->getLang('youremailaddress'))->addClass('edit');
91 $form->addDropdown('r_predef', $lists, $this->getLang('bookmarks'));
94 $form->addTextInput('r_email', $this->getLang('recipients'))->addClass('edit');
95 $form->addTextInput('subject', $this->getLang('subject'))->addClass('edit');
96 …$form->addTextarea('comment', $this->getLang('message'))->attr('rows', '8')->attr('cols', '10')->a…
100 if ($captcha) $form->addHTML($captcha->getHTML());
104 $form->addTagOpen('div')->addClass('buttons');
105 $form->addButton('submit', $this->getLang('send_infomail'))->attr('type', 'submit');
106 $form->addButton('reset', $this->getLang('cancel_infomail'))->attr('type', 'reset');
107 $form->addTagClose('div');
109 return $form->toHTML();