Home
last modified time | relevance | path

Searched refs:ns (Results 51 – 75 of 527) sorted by relevance

12345678910>>...22

/plugin/tindexmenu/syntax/
H A Dindexmenu.php112 $ns = $ns_opt[1];
115 $ns = $nss_temp[0];
118 $ns = $this->_parse_ns($ns);
174 return array($ns,
256 $ns = $myns[0];
285 $ns = str_replace('/',':',$ns);
411 $title=noNS($ns);
417 $page=$ns.":".noNS($ns);
420 $page=$ns;
428 $page=$ns.":".$hp;
[all …]
/plugin/task/syntax/
H A Dtasks.php34 list($ns, $filter) = explode('?', $match, 2);
36 if (($ns == '*') || ($ns == ':')) $ns = '';
37 elseif ($ns == '.') $ns = getNS($ID);
38 else $ns = cleanID($ns);
40 return array($ns, $filter, $flags, $refine);
46 list($ns, $filter, $flags, $refine) = $data;
57 if ($this->helper) $pages = $this->helper->getTasks($ns, NULL, $filter, $user);
72 if(auth_quickaclcheck($ns.':*') >= AUTH_CREATE) {
74 if ($this->helper) $renderer->doc .= $this->helper->_newTaskForm($ns);
97 $perm_create = (auth_quickaclcheck($ns.':*') >= AUTH_CREATE);
[all …]
/plugin/indexeverywhere/
H A DshowTheTree.php67 $ns = dirname(str_replace(':','/',$ID));
68 if($ns == '.') $ns ='';
69 $ns = utf8_encodeFN(str_replace(':','/',$ns));
73 $index .= search($data,$conf['datadir'],'search_index',array('ns' => $ns));
/plugin/feedback/
H A Dadmin.php39 $ns = trim($row['ns']);
40 if($ns != '*') $ns = cleanID($ns);
42 if(!$ns) continue;
43 $conf .= "$ns\t$mail\n";
/plugin/linksuggest/
H A Dscript.js38 ns: JSINFO['namespace'],
52 ns: item.ns,
64 let alt = item.type === 'd' ? 'ns' : 'page';
71 image = 'ns.png';
80 if (item.ns) { //prefix with already entered ns
81 id = item.ns + id;
112 ns: JSINFO['namespace'],
158 ns
[all...]
/plugin/sidebar/
H A Daction.php57 function getSidebarFN($ns, $file) { argument
59 $nsFile = ($ns) ? "$ns:$file" : $file;
63 if (!$ns) return '';
66 $i = strrpos($ns, ":");
67 $ns = ($i) ? substr($ns, 0, $i) : false;
68 return $this->getSidebarFN($ns, $file);
/plugin/dwinsect/
H A Dsyntax.php24 function _getFN($ns, $file){ argument
27 $nsFile = ($ns) ? "$ns:$file" : $file;
30 if (!$ns) return '';
32 $i = strrpos($ns, ":");
33 $ns = ($i) ? substr($ns, 0, $i) : false;
34 return _getFN($ns, $file);
65 list($ns, $para) = preg_split('/[\|]/',substr($link, 2, -2), 2);
66 $link=substr($link,0,2).$ns."|".$params.substr($link,-2,2);
70 list($ns, $para) = preg_split('/[\?]/',substr($link, 2, -2), 2);
71 $link=substr($link,0,2).$ns."?".$params.substr($link,-2,2);
/plugin/twistienav4bootstrap3/
H A Dscript.js61 var ns = $list[linkNo];
62 if (ns == false) {
63 ns = '';
67 if ((JSINFO['plugin_twistienav4bootstrap3']['twistiemap'] == 1) && (ns == '')) {
78 do_search(this, ns);
118 var ns = $list[linkNo];
119 if (ns == false) {
120 ns = '';
131 do_search(this, ns);
/plugin/twistienav/
H A Dscript.js73 var ns = $list[linkNo];
74 if (ns == false) {
75 ns = '';
79 if ((JSINFO['plugin_twistienav']['twistiemap'] == 1) && (ns == '')) {
90 do_search(this, ns);
130 var ns = $list[linkNo];
131 if (ns == false) {
132 ns = '';
143 do_search(this, ns);
/plugin/preservefilenames/
H A Daction_adorabelle.php63 $ns = getNS($item['id']);
64 $fakeId = $ns === false ? $file : "$ns:$file";
94 $link = wl('',array('do'=>'media','image'=>$fakeId,'ns'=>$ns));
132 $ns = getNS($item['id']);
133 $fakeId = $ns === false ? $file : "$ns:$file";
145 media_managerURL(array('image' => $fakeId, 'ns' => $ns,
156 echo '<dd class="name"><a href="'.media_managerURL(array('image' => $fakeId, 'ns' => $ns,
/plugin/fancysearch/
H A Daction.php38 foreach ($namespaces as $ns => $class){
39 …echo '<option value="'.hsc($ns).'"'.($cur_val === $ns ? ' selected="selected"' : '').'>'.hsc($ns).…
45 foreach ($namespaces as $ns => $class) {
46 … echo '<li class="fancysearch_ns_'.hsc($class).'">'.hsc($this->translatedNamespace($ns)).'</li>';
/plugin/nssearch/
H A Daction.php46 $ns = $this->getLimitNs($this->getLastCrumb());
47 if ($ns && $event->data['query'])
48 $event->data['query'] = 'ns:' . $ns . ' ' . $event->data['query'];
54 $ns = $this->getLimitNs($this->getLastCrumb());
55 if (!$ns)
60 if ($ns.':' == substr(cleanID($a), 0, strlen($ns)+1))
/plugin/indexmenu/syntax/
H A Dindexmenu.php102 //skips i=0 because that becomes main $ns
104 //skips i=0 because that becomes main $ns
123 $ns = $matched_ns_lvl[1];
128 $ns = $nsStrs[0];
132 $ns = $this->parseNs($ns);
261 } elseif ($gen_id == 'ns') {
262 $identifier = sprintf("%u", crc32($ns));
302 $ns, //0
327 'navbar' => $navbar, //add current ns t
444 _jstree($data, $ns, $js_opts, $js_name, $max) global() argument
568 _getTitle($ns, $headpage, & $hns) global() argument
613 _parse_ns($ns, $id = FALSE) global() argument
[all...]
/plugin/simplenavi/
H A Dsyntax.php56 $ns = array_shift($data);
57 if ($ns && $ns[0] === '.') {
59 $ns = getNS((new PageResolver($INFO['id']))->resolveId("$ns:xxx"));
61 $ns = cleanID($ns);
65 $ns,
88 * @param string $ns the namespace to search in
96 public function getSortedItems($ns,
[all...]
/plugin/selectsearch/
H A Daction.php35 foreach ($searchnamespaces as $ns) {
36 list($namespace,$displayname) = explode("|",$ns);
47 foreach ($namespaces as $ns => $displayname){
48 …echo '<option value="'.hsc($ns).'"'.($cur_val === $ns ? ' selected="selected"' : '').'>'.hsc($disp…
/plugin/tag/
H A Dhelper.php21 * @var string sort key: 'cdate', 'mdate', 'pagename', 'id', 'ns', 'title'
236 * @param string $ns A namespace to which all pages need to belong, "." for only the root namespace
243 public function getTopic($ns = '', $num = null, $tagquery = '') { argument
259 if($this->isNotVisible($page, $ns)) continue;
283 case 'ns':
408 $ns = getNS($page);
409 if (($ns === false && $isRootAllowed) || in_array($ns, $namespaces)) {
416 foreach ($namespaces as $ns) {
417 if(strpos($page, $ns
613 isVisible($id, $ns = '') global() argument
624 isNotVisible($id, $ns = '') global() argument
704 _isVisible($id, $ns = '') global() argument
[all...]
/plugin/livepreview/
H A Dlivepreview.php10 function livepreview_getpreview ($ns) { argument
12 $ns = cleanID(preg_replace("#^.+?".$_SERVER['HTTP_HOST'].DOKU_BASE."#i","",$ns));
13 return p_wiki_xhtml_summary($ns,$title);
/plugin/tagsections/
H A Dhelper.php63 function getTagsByRegExp($tag_expr = null, $ns = '',$acl_safe = false){ argument
69 …pr) || @preg_match('/^'.$tag_expr.'$/i',$tag)) && $this->_checkTagInNamespace($tag,$ns,$acl_safe)){
86 function getTagsByNamespace($ns = '',$acl_safe = true){ argument
87 return array_keys($this->getTagsByRegExp(null, $ns, $acl_safe));
104 private function _checkTagInNamespace($tag,$ns,$acl_safe=true){ argument
107 if($ns == '') return true;
111 if($Htag->_isVisible($page,$ns)) {
/plugin/nsexport/action/
H A Dexport.php64 $ns = getNS($ID);
65 if(!$ns) $ns = '*';
66 printf($this->getLang('inns'), $ns);
71 $ns = getNS($ID). ':';
73 $id = cleanID($ns . $page['id']);
/plugin/schedule/syntax/
H A Dblock.php76 $ns = getNS ($ID);
78 $ns = $dumy[1][0];
80 if (($ns == '*') || ($ns == ':'))
81 $ns = '';
82 elseif ($ns == '.')
83 $ns = getNS ($ID);
85 $ns = cleanID ($ns);
91 $this->schedules = new schedules ($this->scheduleRoot, $ns);
95 …(isset ($_REQUEST['schd']) && isset ($_REQUEST['schd']['ns']) && $_REQUEST['schd']['ns'] == $ns) ||
/plugin/stats/
H A Dsyntax.php642 function countPages($ns='') { argument
651 if($ns != '') {
652 $nsArray = split(":",$ns);
700 function toBeCounted($ns) { argument
702 $ns = (preg_match("/^:/",$ns)) ? substr($ns,1) : $ns;
706 $ns_split = split(":",$ns);
772 if(!empty($ns)){
869 function pagesSizes($ns = '') { argument
878 if($ns != '') {
879 $nsArray = split(':',$ns);
[all …]
/plugin/remotelistnamespace/
H A Dremote.php17 * @param string $ns
22 public function listNamespace($ns,$opts){ argument
27 $ns = cleanID($ns);
28 $dir = utf8_encodeFN(str_replace(':', '/', $ns));
/plugin/html2pdf/snorriheim/
H A Dtpl_functions.php282 function p_index_xhtml($ns) { argument
287 $ns = cleanID($ns);
289 if(empty($ns)){
290 $ns = dirname(str_replace(':','/',$ID));
291 if($ns == '.') $ns ='';
293 $ns = utf8_encodeFN(str_replace(':','/',$ns));
300 search($data,$conf['datadir'],'search_index',array('ns' => $ns));
/plugin/catlist/
H A Dsyntax.php119 for ($found; preg_match("/-(exclu(page|ns|nsall|nspages|nsns)!?):\"([^\\/\"]+)\" /i", $match, $found); ) {
129 for ($found; preg_match("/-(exclu(page|ns|nsall|nspages|nsns)) /i", $match, $found); ) {
194 $ns = trim($match);
197 $parsepagetemplate_data = array('id' => $ID, 'tpl' => $ns, 'doreplace' => true);
198 $ns = parsePageTemplate($parsepagetemplate_data);
200 if ($ns == '') $ns = '.'; // If there is nothing, we take the current namespace
202 if ($ns[0] == '.') $ns = getNS($ID).':'.$ns; // I
363 _walk_recurse(& $data, $path, $ns, $relns, $excluPages, $excluNS, $depth, & $_TREE) global() argument
613 _displayAddPageButton(& $renderer, $ns, $displayType) global() argument
[all...]
/plugin/pglist/
H A Dsyntax.php70 'ns' => getNS($ID),
88 $conf['ns'] = cleanID($ID);
91 $conf['ns'] = cleanID($ns);
93 $conf['ns'] = cleanID('/'.getNS($ID).'/'.$ns);
108 $conf['dir'] = str_replace(':','/',$conf['ns']);
153 $start = cleanID($data['ns'].':'.$conf['start']);

12345678910>>...22