Lines Matching refs:path
53 $path = '';
57 $pathpre = $path;
58 $path .= ($lvl>0) ? ':' . $ns : $ns;
59 $title = p_get_first_heading($path);
61 if($lvl == 0 && !array_key_exists($path, $menu['level1'])) $menu['level1'][$path] = $title;
64 $menu['level'.($lvl+1)][$pathpre][$path] = $title;
66 $menu['level'.($lvl+1)][$pathpre] = array($path => $title);
137 $path = '';
139 $path .= ($n>0) ? ':' . $ns : $ns;
140 $title = p_get_first_heading($path);
147 echo '<a href="', wl($path) ,'">', ucfirst($title) ,'</a>';
148 if(array_key_exists($path, $menu['level'.($n+2)])){
150 foreach($menu['level'.($n+2)][$path] as $u => $t){