Lines Matching refs:form
456 $form = new dokuwiki\Form\Form(array('id' => 'task__newtask_form'));
460 $form->addFieldsetOpen($this->getLang('newtask'), $pos++);
463 $form->setHiddenField ('id', $ID);
464 $form->setHiddenField ('do', 'newtask');
465 $form->setHiddenField ('ns', $ns);
468 $input = $form->addTextInput('title', NULL, $pos++);
473 $form->addHTML('<table class="blind"><tr><th>'.$this->getLang('user').':</th><td>', $pos++);
476 $input = $form->addTextInput('user', NULL, $pos++);
488 $input = $form->addDropdown('user', $options, NULL, $pos++);
491 $form->addHTML('</td></tr>', $pos++);
495 $form->addHTML('<tr><th>'.$this->getLang('date').':</th><td>', $pos++);
496 $input = $form->addTextInput('date', NULL, $pos++);
498 $form->addHTML('</td></tr>', $pos++);
502 $form->addHTML('<tr><th>'.$this->getLang('priority').':</th><td>');
510 $input = $form->addDropdown('priority', $options, NULL, $pos++);
513 $form->addHTML('</td></tr>', $pos++);
515 $form->addHTML('</table>', $pos++);
518 $form->addButton(NULL, $lang['btn_create'], $pos++);
521 $form->addFieldsetClose($pos++);
525 $ret .= $form->toHTML();