Home
last modified time | relevance | path

Searched refs:ns (Results 76 – 100 of 527) sorted by relevance

12345678910>>...22

/plugin/dw2pdf/syntax/
H A Dexportlink.php62 $ns = substr($match, 8, strpos($match, '|') - 8);
63 $id = $ns . ':start';
66 $ns = getNS($page);
68 $link = '?do=export_pdfns&book_ns=' . $ns . '&book_title=' . $title;
78 'title' => sprintf($this->getLang('export_ns'), $ns, $title),
/plugin/composer/
H A Dsyntax.php83 $ns = $nsOpt[0];
87 $ns = $nsOpt[0];
93 $nsLevel = preg_split("/#/", $ns);
97 $ns = $nsLevel[0];
152 'namespace'=> $ns,
205 $ns = $data['namespace'];
214 $pageFile = wikiFN($ns);
222 $ns .= "/";
226 $ns .= ":";
230 $ns .= $conf['start'];
[all …]
/plugin/tagadd/
H A Daction.php34 $JSINFO['currentNamespace'] = (($ns = getNS($ID))?$ns:'');
110 $ns = $INPUT->str('ns');
112 $form = $this->createForm($ID, $ns);
129 $ns=explode(':',$ID);
130 $anz_ns=count($ns);
133 foreach($ns as $key => $part){
156 * @param string $ns namespace from which the tags should be loaded
158 protected function createForm($ID,$ns) argument
163 $nsTags = $Htagfilter->getTagsByNamespace(trim($ns,':'));
177 $html = $this->createNsSelector($ID, $ns);
/plugin/clearhistory/
H A Dadmin.php81 * @param string $ns the namespace to search in
85 protected function _scanNamespace($ns, $onlySmall = false, $onlyNoComment = false) argument
88 $this->_scan($ns, $onlySmall, $onlyNoComment);
94 * @param string $ns the namespace to search in
98 protected function _scan($ns = '', $onlySmall = false, $onlyNoComment = false) argument
100 $dir = preg_replace('/\.txt(\.gz)?/i', '', wikiFN($ns));
111 $this->_scan($ns . ':' . $file);
117 … $this->_parseChangesFile(metaFN($ns . ':' . $name, '.changes'), $ns . ':' . $name, $onlySmall,
/plugin/feed/
H A Dfeed.php16 $ns = cleanID($INPUT->str('ns')); variable
46 $cache = getCacheName($plugin . $fn . $ns . $num . $other . $type . $INPUT->server->str('REMOTE_USE…
81 if ($ns) {
82 $rss->title .= ' ' . ucwords(str_replace(array('_', ':'), array(' ', ': '), $ns));
98 feed_getPages($rss, $po, $ns, $num, $fn);
115 * @param string $ns
123 function feed_getPages($rss, $po, $ns, $num, $fn) argument
130 $pages = $po->$fn($ns, $num);
/plugin/aclinfo/
H A Dsyntax.php87 $ns = getNS($id);
102 if($ns){
103 $path = $ns.':\*';
120 $ns = getNS($ns);
123 $path = $ns.':\*';
/plugin/searchform/
H A Dsyntax.php57 if(isset($key) && ($key == 'ns' || $key == '-ns')) {
59 $options['excludens'] = $key === '-ns';
81 $ns = $options['namespace'];
83 if($ns === null) {
84 $ns = $INFO['namespace'];
87 $notns = $ns;
88 $ns = '';
103 $searchForm->setHiddenField('ns', $ns)
[all...]
/plugin/namespacesearch/
H A Dhelper.php30 list($ns, $name, $class) = $namespaces[0];
31 $namespaceSelect = '<input name="namespace" value="'.hsc($ns).'" type="hidden"/>';
35 list($ns, $name, $class) = $element;
36 …option class="namespacesearch_ns_'.hsc($class).'" value="'.hsc($ns).'"'.($cur_val === $ns ? ' sele…
/plugin/tagfilter/
H A Dremote.php37 public function getPagesByTags($tags, $ns = '') argument
47 $pages = $Htagfilter->getPagesByTags($ns, $tags);
67 public function getPagesByRegExpTags($tags, $ns = '') argument
77 $tags_labels = $Htagfilter->getTagsByRegExp($tags, $ns);
79 $pages = $Htagfilter->getPagesByTags($ns, implode(' ', $tags_r));
/plugin/superacl/
H A Dscript.js198 var ns = frm.elements['ns'].value;
199 if(! ns) {
200 ns = frm.elements['id'].value;
201 ns = ns.substr(0,ns.lastIndexOf(':'));
203 if (ns =="*")
204 ns = "";
214 show = (id == ns);
216 show = (ns.substr(0,id.length) == id);
/plugin/todo/syntax/
H A Dlist.php64 'ns' => 'all',
125 case 'ns':
126 $data['ns'] = $value;
175 $opts['ns'] = $data['ns'];
239 if(!$this->filter_ns($item['id'], $opts['ns'])) return false;
261 private function filter_ns($item, $ns) { argument
264 $wildsubns = substr($ns, -2) == '.:';
265 $onlysubns = !$wildsubns && (substr($ns, -1) == ':' || substr($ns,
[all...]
/plugin/translate/
H A Dhelper.php134 foreach ($inc_nss as $ns) {
135 if (self::isIdInNamespace($id,$ns)) {
145 foreach ($exc_nss as $ns)
146 if (self::isIdInNamespace($id,$ns))
162 private static function isIdInNamespace($id, $ns) { argument
163 return substr($id, 0, strlen($ns) + 1) === "$ns:";
326 $ns = $INFO['namespace'];
331 list ($ns1,$ns_tail) = explode(':',$ns,2);
334 $ns = isset($ns_tail) ? $language.':'.$ns_tail : $language;
338 $ns = !empty($ns) ? $language.':'.$ns : $language;
[all …]
/plugin/iptrust2/
H A Daction.php107 $ns = getNS($id);
122 if($ns){
123 $path = $ns.':\*';
140 $ns = getNS($ns);
143 $path = $ns.':\*';
/plugin/gallery/action/
H A Dprosemirror.php82 [$ns, $options] = $data;
84 if (cleanID($ns) === $ns) {
85 $ns = ':' . $ns;
87 $node->attr('namespace', $ns);
/plugin/ajaxpeon/
H A Daction.php88 $ns=$INPUT->str('ns');
89 if($ns==null){
90 $ns="";
92 $out = $this->get_catalog($ns);
133 function get_catalog($ns){ argument
136 $ns = utf8_encodeFN(str_replace(':', '/', $ns));
137 search($data,$conf['datadir'], 'search_allpages', array(),$ns);
/plugin/sphinxsearch-was/
H A Dfunctions.php255 $ns = explode(":", $id);
256 $nsCount = count($ns) - 1;
261 $name = $ns[$i];
280 $ns = explode(":", $id);
281 return $ns[count($ns) - 1];
349 $ns = getNS($id);
350 if ($ns) {
351 $name = shorten(noNS($id), ' (' . $ns . ')', 30);
374 $ns = getNS($id);
375 if ($ns) {
[all …]
/plugin/sphinxsearch/
H A Dfunctions.php261 $ns = explode(":", $id);
262 $nsCount = count($ns) - 1;
267 $name = $ns[$i];
286 $ns = explode(":", $id);
287 return $ns[count($ns) - 1];
356 $ns = getNS($id);
357 if($ns){
358 $name = shorten(noNS($id), ' ('.$ns.')',30);
382 $ns = getNS($id);
383 if($ns){
[all …]
/plugin/dokutranslate/
H A Dutils.php98 for ($ns = getNS($id); $ns; $ns = getNS($ns)) {
99 $wildcard = $ns . ':*';
/plugin/nslist/
H A Dsyntax.php65 list($ns,$params) = explode(' ',$match,2);
66 $ns = cleanID($ns);
71 if($ns) $conf['ns'] = $ns;
/plugin/tagfilter/syntax/
H A Dfilter.php91 * string 'ns' list only pages from this namespace,
107 list($ns, $tag) = array_pad(explode('?', $match), 2, '');
109 $tag = $ns;
110 $ns = '';
113 if (($ns == '*') || ($ns == ':')) {
114 $ns = '';
115 } elseif ($ns == '.') {
116 $ns = getNS($ID);
118 $ns
[all...]
/plugin/avatar/
H A Dhelper.php61 $ns = $this->getConf('namespace');
64 if(isset($user)) $user_img = mediaFN($ns.':'.$user.$format);
65 if(isset($name)) $name_img = mediaFN($ns.':'.$name.$format);
67 $src = ml($ns.':'.$user.$format, array('w' => $size, 'h' => $size));
70 $src = ml($ns.':'.$name.$format, array('w' => $size, 'h' => $size));
/plugin/task/
H A Dhelper.php72 function getTasks($ns, $num = NULL, $filter = '', $user = NULL) { argument
79 $dir = $conf['datadir'].($ns ? '/'.str_replace(':', '/', $ns): '');
84 $ns = utf8_encodeFN(str_replace(':', '/', $ns));
85 search($items, $conf['datadir'], 'search_allpages', $opts, $ns);
431 * @param string $ns The DokuWiki namespace in which the new task
439 function _newTaskForm($ns, $selectUser=false, $selectUserGroup=NULL) { argument
441 return $this->_newTaskFormNew($ns, $selectUser, $selectUserGroup);
443 return $this->_newTaskFormOld($ns, $selectUser, $selectUserGroup);
453 protected function _newTaskFormNew($ns, $selectUser=false, $selectUserGroup=NULL) { argument
465 $form->setHiddenField ('ns', $ns);
[all …]
/plugin/partialsearch/
H A Drenderer.php40 $ns= $this->_replaceChars(getNS($id));
41 if (isset($ns) && $ns !== ''){
42 return '[' . ucwords($ns) . '] ' . ucfirst($title);
/plugin/preservefilenames/
H A Daction_anteater.php177 $ns = getNS($ID);
204 resolve_mediaid($ns, $src, $exists);
388 $ns = cleanID($_POST['ns']);
389 $auth = auth_quickaclcheck("$ns:*");
391 $this->_listMedia($ns, $auth, $JUMPTO);
399 function _listMedia($ns, $auth, $jumpto) argument
404 print '<h1 id="media__ns">:' . hsc($ns) . '</h1>' . NL;
409 media_uploadform($ns, $auth);
411 $dir = utf8_encodeFN(str_replace(':', '/', $ns));
431 media_searchform($ns);
/plugin/editor/
H A Dhelper.php29 function getEditor($ns = '', $num = NULL, $user = '') { argument
65 $rec = $this->_handleRecent($lines[$i], $ns, $type, $user);
93 function _handleRecent($line, $ns, $type, $user) { argument
132 if (($ns) && (strpos($recent['id'], $ns.':') !== 0)) return false;

12345678910>>...22