Lines Matching refs:id
45 // determine page id by rewrite mode
48 preg_match('#id=([^&]*)#', $url['query'], $match);
50 $id = cleanID(str_replace($base_url, '', $match[1]));
52 $id = cleanID($match[1]);
58 $id = cleanID(str_replace('/',':',str_replace($base_url, '', $url['path'])));
60 $id = cleanID(str_replace('/',':', $url['path']));
67 $id = cleanID(str_replace($base_url, '', $match[1]));
69 $id = cleanID($match[1]);
75 if(p_get_metadata($id, 'type') == 'draft') {
112 $data = array('id' => $ID, 'ns' => $ns, 'title' => $_REQUEST['title']);
136 $id = $data['id'];
141 '@ID@' => $id,
143 '@PAGE@' => strtr(noNS($id),'_',' '),
231 // try to extract the page id from the file if possible