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'));
164 if ($draft->saveDraft()) {
165 $response['draft'] = $draft->getDraftMessage();
167 $response['errors'] = array_merge($response['errors'], $draft->getErrors());
179 global $INPUT;
180 $id = cleanID($INPUT->str('id'));
183 $client = $INPUT->server->str('REMOTE_USER');
187 if ($draft->isDraftAvailable() && checkSecurityToken()) {
188 $draft->deleteDraft();
199 global $conf;
200 global $INPUT;
203 $ns = cleanID($INPUT->post->str('ns'));
223 global $NS;
224 global $INPUT;
226 $NS = cleanID($INPUT->post->str('ns'));
227 $sort = $INPUT->post->bool('recent') ? 'date' : 'natural';
228 if ($INPUT->post->str('do') == 'media') {
243 global $IMG, $JUMPTO, $REV, $fullscreen, $INPUT;
248 if ($INPUT->has('image')) $image = cleanID($INPUT->str('image'));
265 global $INPUT;
268 if ($INPUT->has('image')) $image = cleanID($INPUT->str('image'));
269 (new MediaDiff($image))->preference('fromAjax', true)->show();
279 global $NS, $MSG, $INPUT;
283 $id = $INPUT->post->str('mediaid', $_FILES['qqfile']['name']);
284 } elseif ($INPUT->get->has('qqfile')) {
285 $id = $INPUT->get->str('qqfile');
290 $NS = $INPUT->filter('cleanID')->str('ns');
302 if ($INPUT->get->has('qqfile')) $res = media_upload_xhr($NS, $AUTH);
321 header('Content-Type: application/json');
332 global $conf;
333 global $INPUT;
336 $ns = cleanID($INPUT->post->str('idx'));
347 echo html_buildlist($data, 'idx', $idx->formatListItem(...), $idx->tagListItem(...));
357 global $conf;
358 global $lang;
359 global $INPUT;
361 $q = ltrim(trim($INPUT->post->str('q')), ':');
374 $pages = (new MetadataSearch())->pageLookup($id, true);
379 $pages = array_merge($pages, (new MetadataSearch())->pageLookup($q, true, true));
433 $even *= -1; //zebra