Lines Matching defs:id
65 foreach ($data as $id => $title) {
69 $ns = getNS($id);
71 $name = noNS($id) . ' (' . $ns . ')';
73 $name = $id;
76 echo '<li>' . html_wikilink(':' . $id, $name) . '</li>';
135 $ID = cleanID($INPUT->post->str('id'));
173 $id = cleanID($INPUT->str('id'));
174 if (empty($id)) return;
179 $draft = new Draft($id, $client);
274 $id = '';
276 $id = $INPUT->post->str('mediaid', $_FILES['qqfile']['name']);
278 $id = $INPUT->get->str('qqfile');
281 $id = cleanID($id);
284 $ns = $NS . ':' . getNS($id);
300 'link' => media_managerURL(['ns' => $ns, 'image' => $NS . ':' . $id], '&'),
301 'id' => $NS . ':' . $id,
355 $id = noNS($q);
360 $id = cleanID($id);
367 $pages = ft_pageLookup($id, true);
382 if (strpos(getNS($pid), $id) !== false) {
387 $data[] = ['id' => $pid, 'title' => $title, 'type' => 'f'];
392 $data[] = ['id' => $dir, 'type' => 'd'];
403 if ($id) $opts['filematch'] = '^.*\/' . $id;
404 if ($id) $opts['dirmatch'] = '^.*\/' . $id;
411 ['id' => getNS($ns), 'type' => 'u']
428 if (($item['type'] == 'd' || $item['type'] == 'u') && $item['id'] !== '') $item['id'] .= ':';
429 $link = wl($item['id']);
436 $name = hsc($item['id']);
439 echo '<a href="' . $link . '" title="' . hsc($item['id']) . '" class="wikilink1">' . $name . '</a>';