Lines Matching +full:ns +(+path:plugin +path:indexmenu) -(+path:plugin +path:indexmenu +path:lang)
116 $n = str_replace('{{ns}}'," ".$data[0]." ",$n);
162 $ns = $options[0][0];
209 return array($ns,array( 'level' => $level
227 $ns = $myns[0];
231 $id = resolve_pageid(getNS(getID()),$ns,$exists);
232 if ($ns == $conf['start']) $ns = "";
234 * if 'nons' is set or NS is root, no need to adjust settings
236 if (($opts['js'] || $opts['navigation']) && !$opts['nons'] && $ns) {
237 $opts['root'] = $ns;
238 $ns = (string)getNS($ns);
245 …$data,$conf['datadir'],"indexmenu_search_index",$opts,"/".utf8_encodeFN(str_replace(':','/',$ns)));
264 $data = array2tree($data,$ns);
273 if ($opts['js'] && !$opts['nons'] && !isset($opts['root']) && !$ns) {
424 * $opts['ns'] is the current namespace
470 if (noNS(getNS($id))==noNS($id) || // /<ns>/<ns>.txt
471 $id==$conf['start'] || // <ns> == <start_page>
472 $id==getNS($id).":".$conf['start'] || // /<ns>/<start_page>.txt
473 @file_exists(dirname(wikiFN($id.":".noNS($id)))) // /<ns>/
474 // /<ns>.txt
481 * /ns/
482 * /<ns>.txt
495 * 1. /<ns>/<ns>.txt
496 * 2. /<ns>/
497 * /<ns>.txt
498 * 3. /<ns>/
499 * /<ns>/<start_page>
532 … ,'title' => ($conf['useheading'] && ($title=p_get_first_heading($target)))?$title:$id // NS title