Lines Matching refs:form

176     $form = new Form([
180 $form->addTagOpen('div')->addClass('no');
181 $form->setHiddenField('img', $id);
182 $form->setHiddenField('mediado', 'save');
198 $form->addTagOpen('div')->addClass('row');
200 $form->addTextInput(
205 $form->addTextarea($p['name'], $lang[$field[1]])->id($p['id'])
210 $form->addTagClose('div');
212 $form->addTagOpen('div')->addClass('buttons');
213 $form->addButton('mediado[save]', $lang['btn_save'])->attr('type', 'submit')
215 $form->addTagClose('div');
217 $form->addTagClose('div');
218 echo $form->toHTML();
844 $form = new Form([
849 $form->addTagOpen('div')->addClass('no');
850 $form->setHiddenField('sectok', null);
853 $form->setHiddenField($pKey, $pVal);
856 $form->setHiddenField('q', $INPUT->str('q'));
858 $form->addHTML('<ul>' . NL);
868 $form->addHTML('<li class="' . $content[0] . '">');
874 $radio = $form->addRadioButton(
880 $form->addHTML('</li>' . NL);
882 $form->addHTML('<li>');
883 $form->addButton('', $lang['btn_apply'])->attr('type', 'submit');
884 $form->addHTML('</li>' . NL);
885 $form->addHTML('</ul>' . NL);
886 $form->addTagClose('div');
887 echo $form->toHTML();
1092 $form = new Form([
1096 $form->addTagOpen('div')->addClass('no');
1097 $form->addButton('', $lang['btn_delete'])->attr('type', 'submit');
1098 $form->addTagClose('div');
1100 echo $form->toHTML();
1107 $form = new Form([
1111 $form->addTagOpen('div')->addClass('no');
1112 $form->addButton('', $lang['media_update'])->attr('type', 'submit');
1113 $form->addTagClose('div');
1115 echo $form->toHTML();
1121 $form = new Form([
1125 $form->addTagOpen('div')->addClass('no');
1126 $form->setHiddenField('mediado', 'restore');
1127 $form->setHiddenField('rev', $rev);
1128 $form->addButton('', $lang['media_restore'])->attr('type', 'submit');
1129 $form->addTagClose('div');
1131 echo $form->toHTML();
1498 $form = new Form([
1505 $form->addTagOpen('div')->addClass('no');
1506 $form->setHiddenField('ns', hsc($ns)); // FIXME hsc required?
1507 $form->addTagOpen('p');
1508 $form->addTextInput('upload', $lang['txt_upload'])->id('upload__file')
1510 $form->addTagClose('p');
1511 $form->addTagOpen('p');
1512 $form->addTextInput('mediaid', $lang['txt_filename'])->id('upload__name')
1514 $form->addButton('', $lang['btn_upload'])->attr('type', 'submit');
1515 $form->addTagClose('p');
1517 $form->addTagOpen('p');
1520 $form->addCheckbox('ow', $lang['txt_overwrt'])->id('dw__ow')->val('1')
1522 $form->addTagClose('p');
1524 $form->addTagClose('div');
1533 echo $form->toHTML('Upload');
1581 $form = new Form([
1587 $form->addTagOpen('div')->addClass('no');
1588 $form->setHiddenField('ns', $ns);
1589 $form->setHiddenField($fullscreen ? 'mediado' : 'do', 'searchlist');
1591 $form->addTagOpen('p');
1592 $form->addTextInput('q', $lang['searchmedia'])
1595 $form->addHTML(' ');
1596 $form->addButton('', $lang['btn_search'])->attr('type', 'submit');
1597 $form->addTagClose('p');
1598 $form->addTagClose('div');
1599 echo $form->toHTML('SearchMedia');