Lines Matching refs:ns
30 $ns = cleanID($NS);
32 if(empty($ns)){
33 $ns = dirname(str_replace(':','/',$ID));
34 if($ns == '.') $ns ='';
36 $dir = utf8_encodeFN(str_replace(':','/',$ns));
41 search($data,$conf['datadir'],'linkpage_search_index',array('ns' => $ns),$dir);
45 function linkpage_filelist($ns,$auth=null,$jump=''){ argument
49 $ns = cleanID($ns);
52 if(is_null($auth)) $auth = auth_quickaclcheck("$ns:*");
54 echo '<h1 id="linkpage__ns">:'.hsc($ns).'</h1>'.NL;
63 $dir = utf8_encodeFN(str_replace(':','/',$ns));
65 search($data,$conf['datadir'],'linkpage_search_index',array('ns' => $ns),$dir);
71 linkpage_newpage($ns);
158 function linkpage_nstree($ns){ argument
163 $ns = cleanID($ns);
164 if(empty($ns)){
165 $ns = dirname(str_replace(':','/',$ID));
166 if($ns == '.') $ns ='';
168 $ns = utf8_encodeFN(str_replace(':','/',$ns));
171 search($data,$conf['datadir'],'linkpage_search_index',array('ns' => $ns, 'nofiles' => true));
273 function linkpage_newpage($ns){ argument
281 <input type="hidden" name="newpage__ns" id="newpage__ns" value="<?php echo hsc($ns)?>" />