Home
last modified time | relevance | path

Searched refs:ns (Results 1 - 21 of 21) sorted by relevance

/dokuwiki/inc/Ui/
H A DIndex.php15 protected $ns; variable
20 * @param string $ns namespace
22 public function __construct($ns = '')
24 $this->ns = $ns; variable
53 $ns = cleanID($this->ns); variable
54 if (empty($ns)){
55 $ns = getNS($ID); variable
56 if ($ns
58 $ns = utf8_encodeFN(str_replace(':', '/', $ns)); global() variable
[all...]
H A DSearchState.php36 * @param string $ns the namespace to which to limit the search, falsy to remove the limitation
41 public function withNamespace($ns, array $notns = [])
44 $parsedQuery['ns'] = $ns ? [$ns] : [];
124 $parsedQuery['ns'],
H A DSubscribe.php43 echo '<code class="ns">'.hsc(prettyprint_id($sub['target'])).'</code>';
71 $ns = getNS($ID).':'; variable
74 $ns => '<code class="ns">'.prettyprint_id($ns).'</code>', variable
H A DSearch.php314 $baseNS = empty($this->parsedQuery['ns']) ? '' : $this->parsedQuery['ns'][0];
341 foreach ($extraNS as $ns => $count) {
343 $label = $ns . ($count ? " <bdi>($count)</bdi>" : '');
345 if ($ns === $baseNS) {
349 $link = $this->searchState->withNamespace($ns)->getSearchLink($label);
506 if (!empty($parsedQuery['ns'])) {
507 $pagename .= ':' . cleanID($parsedQuery['ns'][0]);
533 if (!useHeading('navigation') && $ns = getNS($id)) {
534 $name = shorten(noNS($id), ' (' . $ns
[all...]
/dokuwiki/lib/plugins/acl/
H A Daction.php65 $ns = $INPUT->str('ns'); variable
66 if ($ns == '*') {
67 $ns = ''; variable
69 $ns = cleanID($ns); variable
70 $lvl = count(explode(':', $ns));
71 $ns = utf8_encodeFN(str_replace(':', '/', $ns)); variable
73 $data = $acl->makeTree($ns,
[all...]
H A Dadmin.php20 protected $ns = null; variable
26 * $ns
69 if ($INPUT->str('ns') == '*') {
70 $this->ns = '*'; variable
72 $this->ns = cleanID($INPUT->str('ns')); variable
79 } elseif ($this->ns) {
80 $this->current_item = array('id' => $this->ns, 'type' => 'd');
107 if ($this->ns) {
108 if ($this->ns
236 $ns = $this->ns; global() variable
238 $ns = dirname(str_replace(':', '/', $ID)); global() variable
241 $ns =''; global() variable
243 $ns = utf8_encodeFN(str_replace(':', '/', $ns)); global() variable
434 $ns = $this->ns; global() variable
[all...]
H A Dscript.js32 current_ns: $frm.find('input[name=ns]').val(),
109 $frm.find('input[name=ns]').val('');
112 $frm.find('input[name=ns]').val(dw_acl.parseatt($link[0].search).ns);
/dokuwiki/inc/
H A DAjax.php64 $ns = getNS($id); variable
65 if($ns) {
66 $name = noNS($id) . ' (' . $ns . ')';
185 $ns = cleanID($INPUT->post->str('ns')); variable
186 $dir = utf8_encodeFN(str_replace(':', '/', $ns));
188 $lvl = count(explode(':', $ns));
207 $NS = cleanID($INPUT->post->str('ns'));
271 $NS = $INPUT->str('ns');
272 $ns variable
319 $ns = cleanID($INPUT->post->str('idx')); global() variable
345 $ns = getNS($q); global() variable
347 $ns = cleanID($ns); global() variable
[all...]
H A Dchangelog.php207 * @param string $ns restrict to given namespace
214 function getRecents($first,$num,$ns='',$flags=0){
248 $rec = _handleRecent(@$lines[$lines_position], $ns, $flags, $seen);
257 $ns,
301 * @param string $ns restrict to given namespace (optional)
308 function getRecentsSince($from,$to=null,$ns='',$flags=0){
330 $rec = _handleRecent($line, $ns, $flags, $seen);
355 * @param string $ns restrict to given namespace
360 function _handleRecent($line,$ns,$flags,&$seen){
383 if (($ns)
[all...]
H A Dmedia.php288 * @param string $ns target namespace
292 function media_upload_xhr($ns,$auth){
314 $ns.':'.$id,
334 * @param string $ns target namespace
339 function media_upload($ns,$auth,$file=false){
366 'ext' => $iext), $ns.':'.$id,
675 * @param string $ns namespace
681 function media_filelist($ns,$auth=null,$jump='',$fullscreenview=false,$sort=false){
684 $ns = cleanID($ns); variable
1527 $ns = cleanID($ns); global() variable
1784 $ns = cleanID($ns); global() variable
1787 $ns = (string)getNS($ID); global() variable
[all...]
H A Dpageutils.php455 * @param string $ns namespace which is context of id
460 function resolve_id($ns,$id,$clean=true){
472 $id = $ns.':'.$id;
491 }elseif($ns !== false && strpos($id,':') === false){
493 $id = $ns.':'.$id;
505 * @param string $ns namespace which is context of id
511 function resolve_mediaid($ns,&$page,&$exists,$rev='',$date_at=false){
512 $page = resolve_id($ns,$page);
530 * @param string $ns namespace which is context of id
536 function resolve_pageid($ns,
769 $ns = $ID; global() variable
771 $ns = getNS($ns); global() variable
[all...]
H A Dio.php17 * $data[0] ns: The colon separated namespace path minus the trailing page name.
59 * $data[1] ns: The colon separated namespace path minus the trailing page name. (false if root ns)
177 * $data[1] ns: The colon separated namespace path minus the trailing page name. (false if root ns)
440 * $data[0] ns: The colon separated namespace path minus the trailing page name.
458 $ns = $id; variable
459 $tmp = dirname( $file = call_user_func($types[$ns_type], $ns) );
462 $ns = implode(':', $ns_stack); variable
463 if (strlen($ns)
[all...]
H A Dfulltext.php117 $ns = cleanID(substr($token, 3)) . ':'; variable
120 if (strpos($id, $ns) === 0) {
267 if (count($parsedQuery['ns']) > 0) {
268 $ns = cleanID($parsedQuery['ns'][0]) . ':'; variable
299 if (isset($ns)) {
301 if (strpos($p_id, $ns) !== 0) {
664 * @include:namespace (or ns:include:namespace)
665 * ^exclude:namespace (or -ns:exclude:namespace)
675 * this query is equivalent to [ -(-aa or -"bb cc" or -ns
[all...]
H A Dauth.php651 $ns = getNS($id); variable
684 if($ns) {
685 $path = $ns.':*';
713 $ns = getNS($ns); variable
716 $path = $ns.':*';
H A Dsearch.php120 * $opts['ns'] is the currently viewed namespace
135 $ns = isset($opts['ns']) ? $opts['ns'] : ''; variable
142 'depth' => preg_match('#^'.preg_quote($file, '#').'(/|$)#','/'.$ns) ? 0 : -1
499 $item['ns'] = getNS($item['id']);
539 if(!empty($opts['nsmatch']) && !preg_match('/'.$opts['nsmatch'].'/',$item['ns'])) return $return;
H A Dhtml.php330 * @param string $ns
333 function html_index($ns) {
335 (new dokuwiki\Ui\Index($ns))->show();
H A Dtemplate.php266 'href' => DOKU_BASE.'feed.php?mode=list&ns='.(isset($INFO) ? $INFO['namespace'] : '')
1436 $ns = getNS($image); variable
1474 media_tab_view($image, $ns, null, $rev);
1477 media_tab_edit($image, $ns);
1480 media_tab_history($image, $ns);
/dokuwiki/inc/Ui/Media/
H A DDisplay.php60 * @param string|null $ns Use null to disable
62 public function relativeDisplay($ns)
64 $this->relativeDisplay = $ns;
/dokuwiki/inc/Remote/
H A DApiCore.php335 * @param string $ns
341 public function readNamespace($ns, $opts = array())
347 $ns = cleanID($ns); variable
348 $dir = utf8_encodeFN(str_replace(':', '/', $ns));
412 * @param string $ns
421 public function listAttachments($ns, $options = array())
425 $ns = cleanID($ns); variable
430 if (auth_quickaclcheck($ns
[all...]
/dokuwiki/inc/Action/
H A DSearch.php90 if (empty($parsedQuery['ns']) && empty($parsedQuery['notns'])) {
94 $ns = implode(':', array_slice($nsParts, 0, $conf['search_nslimit'])); variable
95 $QUERY .= " @$ns";
108 if (strpos($part, 'ns:') === 0) {
114 if (strpos($part, '-ns:') === 0) {
/dokuwiki/
H A Dfeed.php131 'namespace' => array('str', 'ns', null),
256 'ns' => getNS($id),
269 'ns' => getNS($id),
283 'ns' => getNS($id)
296 'ns' => getNS($id),
492 $ns = ':'.cleanID($opt['namespace']); variable
493 $ns = utf8_encodeFN(str_replace(':', '/', $ns)); variable
501 search($data, $conf['datadir'], 'search_universal', $search_opts, $ns, $lvl = 1, $opt['sort']);

Completed in 19 milliseconds