Lines Matching +full:- +full:- +full:global
29 $this->$callfn();
32 if ($evt->advise_before()) {
35 $evt->advise_after();
48 global $lang;
49 global $INPUT;
53 $query = $INPUT->post->str('q');
54 if (empty($query)) $query = $INPUT->get->str('q');
58 $data = (new MetadataSearch())->pageLookup($query, true, useHeading('navigation'));
95 global $INPUT;
97 $query = cleanID($INPUT->post->str('q'));
98 if (empty($query)) $query = cleanID($INPUT->get->str('q'));
101 $data = (new MetadataSearch())->pageLookup($query);
120 header('Content-Type: application/x-suggestions+json');
131 global $ID;
132 global $INFO;
133 global $INPUT;
135 $ID = cleanID($INPUT->post->str('id'));
157 if ($draft->saveDraft()) {
158 $response['draft'] = $draft->getDraftMessage();
160 $response['errors'] = array_merge($response['errors'], $draft->getErrors());
172 global $INPUT;
173 $id = cleanID($INPUT->str('id'));
176 $client = $INPUT->server->str('REMOTE_USER');
180 if ($draft->isDraftAvailable() && checkSecurityToken()) {
181 $draft->deleteDraft();
192 global $conf;
193 global $INPUT;
196 $ns = cleanID($INPUT->post->str('ns'));
216 global $NS;
217 global $INPUT;
219 $NS = cleanID($INPUT->post->str('ns'));
220 $sort = $INPUT->post->bool('recent') ? 'date' : 'natural';
221 if ($INPUT->post->str('do') == 'media') {
236 global $IMG, $JUMPTO, $REV, $fullscreen, $INPUT;
241 if ($INPUT->has('image')) $image = cleanID($INPUT->str('image'));
258 global $INPUT;
261 if ($INPUT->has('image')) $image = cleanID($INPUT->str('image'));
262 (new MediaDiff($image))->preference('fromAjax', true)->show();
272 global $NS, $MSG, $INPUT;
276 $id = $INPUT->post->str('mediaid', $_FILES['qqfile']['name']);
277 } elseif ($INPUT->get->has('qqfile')) {
278 $id = $INPUT->get->str('qqfile');
283 $NS = $INPUT->str('ns');
295 if ($INPUT->get->has('qqfile')) $res = media_upload_xhr($NS, $AUTH);
314 header('Content-Type: application/json');
325 global $conf;
326 global $INPUT;
329 $ns = cleanID($INPUT->post->str('idx'));
340 echo html_buildlist($data, 'idx', $idx->formatListItem(...), $idx->tagListItem(...));
350 global $conf;
351 global $lang;
352 global $INPUT;
354 $q = ltrim(trim($INPUT->post->str('q')), ':');
367 $pages = (new MetadataSearch())->pageLookup($id, true);
372 $pages = array_merge($pages, (new MetadataSearch())->pageLookup($q, true, true));
426 $even *= -1; //zebra