Home
last modified time | relevance | path

Searched refs:form (Results 1 - 24 of 24) sorted by path

/dokuwiki/inc/Ui/
H A DDiff.php164 // create the form to select difftype
165 $form = new Form(['action' => wl()]); variable
166 $form->setHiddenField('id', $ID);
167 $form->setHiddenField('rev2[0]', $l_rev);
168 $form->setHiddenField('rev2[1]', $r_rev);
169 $form->setHiddenField('do', 'diff');
174 $input = $form->addDropdown('difftype', $options, $lang['diff_type'])
177 $form->addButton('do[diff]', 'Go')->attr('type','submit');
178 print $form->toHTML();
397 $form variable
420 $form = new Form(['action' => wl()]); global() variable
[all...]
H A DEditor.php17 * preprocess edit form data
64 // create the Editor form
65 $form = new Form(['id' => 'dw__editform']); variable
66 $form->setHiddenField('id', $ID);
67 $form->setHiddenField('rev', $REV);
68 $form->setHiddenField('date', $DATE);
69 $form->setHiddenField('prefix', $PRE .'.');
70 $form->setHiddenField('suffix', $SUF);
71 $form->setHiddenField('changecheck', $check);
75 'form'
[all...]
H A DLogin.php44 // create the login form
45 $form = new Form(['id' => 'dw__login', 'action' => wl($ID)]); variable
46 $form->addTagOpen('div')->addClass('no');
47 $form->addFieldsetOpen($lang['btn_login']);
48 $form->setHiddenField('id', $ID);
49 $form->setHiddenField('do', 'login');
51 $input = $form->addTextInput('u', $lang['user'])->id('focus__this')->addClass('edit')
54 $form->addHTML("<br>\n");
56 $input = $form->addPasswordInput('p', $lang['pass'])->addClass('block edit');
58 $form
[all...]
H A DPageConflict.php30 * Show conflict form to ask whether save anyway or cancel the page edits
44 // create the form
45 $form = new Form(['id' => 'dw__editform']); variable
46 $form->addTagOpen('div')->addClass('no');
47 $form->setHiddenField('id', $ID);
48 $form->setHiddenField('wikitext', $this->text);
49 $form->setHiddenField('summary', $this->summary);
51 $form->addButton('do[save]', $lang['btn_save'] )->attrs(['type' => 'submit', 'accesskey' => 's']);
52 $form->addButton('do[cancel]', $lang['btn_cancel'] )->attrs(['type' => 'submit']);
53 $form
[all...]
H A DPageDraft.php36 // create the draft form
37 $form = new Form(['id' => 'dw__editform']); variable
38 $form->addTagOpen('div')->addClass('no');
39 $form->setHiddenField('id', $ID);
40 $form->setHiddenField('date', $draft->getDraftDate());
41 $form->setHiddenField('wikitext', $text);
43 $form->addTagOpen('div')->id('draft__status');
44 $form->addHTML($draft->getDraftMessage());
45 $form->addTagClose('div');
46 $form
[all...]
H A DRecent.php60 // create the form
61 $form = new Form(['id'=>'dw__recent', 'method'=>'GET', 'action'=> wl($ID), 'class'=>'changes']); variable
62 $form->addTagOpen('div')->addClass('no');
63 $form->setHiddenField('sectok', null);
64 $form->setHiddenField('do', 'recent');
65 $form->setHiddenField('id', $ID);
69 $this->addRecentItemSelector($form);
73 $form->addTagOpen('ul');
77 $form->addTagOpen('li')->addClass($class);
78 $form
[all...]
H A DRevisions.php67 // create the form
68 $form = new Form([ variable
73 $form->setHiddenField('mediado', 'diff'); // required for media revisions
74 $form->addTagOpen('div')->addClass('no');
77 $form->addTagOpen('ul');
81 $form->addTagOpen('li')->addClass($class);
82 $form->addTagOpen('div')->addClass('li');
85 $form->addCheckbox('rev2[]')->val('current');
87 $form->addCheckbox('rev2[]')->val($rev);
89 $form
141 $form = new Form([ global() variable
[all...]
H A DSubscribe.php15 * Display the subscribe form
68 // Add new subscription form
82 // create the form
83 $form = new Form(['id' => 'subscribe__form']); variable
84 $form->addTagOpen('div')->addClass('no');
85 $form->setHiddenField('id', $ID);
86 $form->setHiddenField('do', 'subscribe');
87 $form->setHiddenField('sub_action', 'subscribe');
89 $form->addFieldsetOpen($lang['subscr_m_subscribe']);
94 $form
[all...]
H A DUserProfile.php37 // create the updateprofile form
38 $form = new Form(['id' => 'dw__register']); variable
39 $form->addTagOpen('div')->addClass('no');
40 $form->addFieldsetOpen($lang['profile']);
41 $form->setHiddenField('do', 'profile');
42 $form->setHiddenField('save', '1');
45 $input = $form->addTextInput('login', $lang['user'])->attrs($attr)->addClass('edit')
48 $form->addHTML("<br>\n");
52 $input = $form->addTextInput('fullname', $lang['fullname'])->attrs($attr)->addClass('edit')
55 $form
95 $form = new Form(['id' => 'dw__profiledelete']); global() variable
[all...]
H A DUserRegister.php34 // create the login form
35 $form = new Form(['id' => 'dw__register']); variable
36 $form->addTagOpen('div')->addClass('no');
37 $form->addFieldsetOpen($lang['btn_register']);
38 $form->setHiddenField('do', 'register');
39 $form->setHiddenField('save', '1');
41 $input = $form->addTextInput('login', $lang['user'])->attrs($base_attrs)->addClass('edit')
44 $form->addHTML("<br>\n");
47 $input = $form->addPasswordInput('pass', $lang['pass'])->attrs($base_attrs)->addClass('edit');
49 $form
[all...]
H A DUserResendPwd.php15 * Display the form to request a new password for an existing account
34 $form = $this->formSetNewPassword($token); variable
36 $form = $this->formResendPassword(); variable
39 print $form->toHTML('ResendPwd');
45 * create a form ui to set new password
54 // create the form
55 $form = new Form(['id' => 'dw__resendpwd']); variable
56 $form->addTagOpen('div')->addClass('no');
57 $form->addFieldsetOpen($lang['btn_resendpwd']);
58 $form
82 $form = new Form(['id' => 'dw__resendpwd']); global() variable
[all...]
/dokuwiki/inc/
H A Dform.php18 * When printed, the form class calls functions named 'form_$type' for each
29 * it is still widely used in the core and the related form events. Until those have been rewritten,
40 // Draw a border around form fields.
44 // Hidden form fields.
57 * @param mixed $params Parameters for the HTML form element; Using the deprecated
58 * calling convention this is the ID attribute of the form
93 * Usually results in a border drawn around the form.
144 * Appends a content element to the form.
148 * @param string|array $elem Pseudo-tag or string to add to the form.
163 * @param string|array $elem Pseudo-tag or string to add to the form
280 $form = ''; global() variable
[all...]
H A Dhtml.php108 * used as default action form HTML_SECEDIT_BUTTON
139 * Just the back to top button (in its own form)
156 * Displays a button (using its own form)
191 $html = '<form class="button btn_'.$name.'" method="'.$method.'" action="'.$script.'"><div class="no">';
213 $html .= '</div></form>';
599 * Prints the registration form
610 * Print the update profile form
622 * Preprocess edit form data
634 * Display the default edit form
817 * Triggers an event with the form nam
[all...]
H A Dmedia.php129 * Display the form to edit image meta data
158 $form = new Form([ variable
162 $form->addTagOpen('div')->addClass('no');
163 $form->setHiddenField('img', $id);
164 $form->setHiddenField('mediado', 'save');
180 $form->addTagOpen('div')->addClass('row');
182 $form->addTextInput(
187 $form->addTextarea($p['name'], $lang[$field[1]])->id($p['id'])
192 $form->addTagClose('div');
194 $form
790 $form = new Form([ global() variable
1065 $form = new Form([ global() variable
1081 $form = new Form([ global() variable
1096 $form = new Form([ global() variable
1340 $form = new Form([ global() variable
1670 $form = new Form([ global() variable
1751 $form = new Form([ global() variable
[all...]
/dokuwiki/lib/plugins/authad/
H A Daction.php50 * Shows a domain selection in the login form when more than one domain is configured
64 /** @var dokuwiki\Form\Form $form */
65 $form =& $event->data; variable
68 $pos = $form->findPositionByAttribute('name', 'u');
79 $element = $form->getElementAt($pos);
85 $element = $form->addDropdown('dom', $domains, $this->getLang('domain'), $pos +1);
/dokuwiki/lib/plugins/extension/helper/
H A Dgui.php47 $form = new Form([ variable
57 $form->addHTML($list->render(true));
58 echo $form->toHTML();
80 $form = new Form([ variable
90 $form->addHTML($list->render(true));
91 echo $form->toHTML();
104 $form = new Form([ variable
108 $form->addTagOpen('div')->addClass('no');
109 $form->addTextInput('q', $this->getLang('search_for'))
112 $form
128 $form = new Form([ global() variable
156 $form = new Form([ global() variable
[all...]
H A Dlist.php14 protected $form = ''; variable
29 * Initialize the extension table form
33 $this->form .= '<ul class="extensionList">';
51 * Adds a header to the form
59 $this->form .='<h'.$level.' id="'.$id.'">'.hsc($header).'</h'.$level.'>'.DOKU_LF;
63 * Adds a paragraph to the form
69 $this->form .= '<p>'.hsc($data).'</p>'.DOKU_LF;
73 * Add hidden fields to the form with the given data
79 $this->form .= '<div class="no">';
81 $this->form
[all...]
/dokuwiki/lib/plugins/logviewer/
H A Dadmin.php58 $form = new dokuwiki\Form\Form(['method'=>'GET']); variable
59 $form->setHiddenField('do', 'admin');
60 $form->setHiddenField('page', 'logviewer');
61 $form->setHiddenField('facility', $this->facility);
62 $form->addTextInput('date',$this->getLang('date'))
64 $form->addButton('submit','>')->attr('type','submit');
65 echo $form->toHTML();
/dokuwiki/lib/plugins/popularity/
H A Dadmin.php83 * Output HTML form
109 //If we just submitted the form
124 * Build the form which presents the data to be sent
127 * @return string The form, as an html string
136 $form = '<form method="post" action="'. $url .'" accept-charset="utf-8">' variable
144 $form .= '<label for="autosubmit">'
152 $form .= '<button type="submit">'.$this->getLang('submit').'</button>'
154 .'</form>';
155 return $form;
[all...]
/dokuwiki/lib/plugins/styling/
H A Dadmin.php42 * Render HTML output, e.g. helpful text and a form
51 $this->form();
56 * Create the actual editing form
58 public function form() function
78 echo '<form class="styling" method="post" action="'.$target.'">';
110 echo '</form>';
/dokuwiki/lib/scripts/
H A Dbehaviour.js119 * automatically submit its parent form when the select value changes.
120 * It also hides the submit button of the form.
124 * @link https://trackjs.com/blog/when-form-submit-is-not-a-function/
129 .change(function(e){ HTMLFormElement.prototype.submit.call(e.target.form); })
130 .closest('form').find(':button').not('.show').hide();
156 var $form, $list, $digest;
158 $form = jQuery('#subscribe__form');
159 if (0 === $form.length) return;
161 $list = $form.find("input[name='sub_style'][value='list']");
162 $digest = $form
[all...]
H A Dedit.js165 if (field.form && field.form.prefix) {
167 opts.push(field.form.prefix.value);
H A Dfileuploader.js953 * Class for uploading files using form and iframe
1007 var form = this._createForm(iframe, params);
1008 form.appendChild(input);
1026 form.submit();
1027 qq.remove(form);
1079 // on form submit will open
1094 * Creates form, that will be submitted to iframe
1098 // var form = document.createElement('form');
1099 // form
[all...]
H A Dlinkwiz.js235 if(dw_linkwiz.textArea.form.id.value.indexOf(':') != -1 &&

Completed in 16 milliseconds