Home
last modified time | relevance | path

Searched refs:ns (Results 26 – 50 of 527) sorted by relevance

12345678910>>...22

/plugin/superacl/
H A Dajax.php41 $ns = $_REQUEST['ns']; variable
42 if($ns == '*'){
43 $ns =''; variable
45 $lvl = count(explode(':',$ns));
46 $ns = utf8_encodeFN(str_replace(':','/',$ns)); variable
49 search($data,$conf['datadir'],'search_index',array('ns' => $ns),$ns);
/plugin/namespacesearch/
H A Dsyntax.php32 foreach( explode(' ', $match) as $ns ) {
33 $ns = cleanID($ns);
35 if (($ns == '*') || ($ns == ':')) { $ns = ''; }
36 elseif ($ns == '.') { $ns = getNS($ID); }
38 $spaces[] = $ns;
102 $ns = explode('@', $FANCYDATA['query']);
105 foreach ( explode(' ', array_shift($ns)) as $part) {
113 array_unshift($ns, $query);
115 foreach( $ns as $namespace ) {
/plugin/translationbuddy/
H A Dsyntax.php114 $ns = $this->baseNS($page);
116 if ($ns && in_array($ns,$langs)) {
117 $lc = $ns;
119 $ns = $this->baseNS($page);
121 if (!$ns) $ns = '-';
125 if($date && !in_array($ns, $ignore_ns)) {
127 $items[$lc][$ns][$page] = $date;
154 foreach ($item as $ns => $pages) {
161 $idx = ($ns=='-' ? ($lc=='en'?'-1':$lc) : ($lc=='en'?'':$lc.':').$ns);
164 if (count($items['en'][$ns]) == 0) {
[all …]
/plugin/crosspost/
H A Daction.php123 if( $ns ) $header = $ns . ':' . $header;
136 if( $ns )
138 $header = "$ns:$header";
151 private function _skip_ns($xns, $ns) argument
162 if( $x == $ns ) return true;
193 $ns = getNS( $meta[$i] );
197 $this_ns = $ns;
203 $meta[$i] = $ns;
217 foreach( $namespaces as $ns )
219 if( $ns['id'] == $this_ns ) continue;
[all …]
/plugin/filelisting/
H A Dsyntax.php54 $ns = strlen($param) !== 0 ? $ns = substr($param, 1) : '';
56 return array($ns);
79 list($ns) = $data;
80 if (empty($ns)) {
81 $ns = $cur_ns;
84 $ns = $resolver->resolveId($ns);
90 $renderer->doc .= $hlp->tpl_filelisting(false, $ns);
H A Dhelper.php21 public function tpl_filelisting($print = true, $ns = NULL) { argument
25 if (is_null($ns)) $ns = getNS($INFO['id']);
27 if ($ns == false) {
28 $ns = ':';
31 $ns_string = $ns;
42 $ret = '<div class="plugin__filelisting" data-namespace="' . $ns . '">';
75 $rowElements = $this->getFilesRows($ns);
107 * @param string $ns
112 public function getFilesRows($ns, argument
171 getFiles($ns) global() argument
[all...]
/plugin/addnewpage/
H A Dsyntax.php133 protected function _parseNS($ns) { argument
135 if(strpos($ns, '@PAGE@') !== false) {
136 return cleanID(str_replace('@PAGE@', $ID, $ns));
138 if($ns == "@NS@") return getNS($ID);
139 $ns = preg_replace("/^\.(:|$)/", dirname(str_replace(':', '/', $ID)) . "$1", $ns);
140 $ns = str_replace("/", ":", $ns);
142 return cleanID($ns);
203 foreach($subnamespaces as $ns) {
212 $nsparts = explode(':', $ns);
259 foreach($searchdata as $ns) {
[all …]
/plugin/glossary/syntax/
H A Ddiv.php54 $ns = getNS ($ID);
56 $ns = $dumy[1][0];
57 if (($ns == '*') || ($ns == ':'))
58 $ns = '';
59 elseif ($ns == '.')
60 $ns = getNS ($ID);
62 $ns = cleanID ($ns);
84 $glossary = new glossary ($this, $ns);
H A Dspan.php90 $ns = getNS ($ID);
92 $ns = $dumy['ns'][0];
93 if (($ns == '*') || ($ns == ':'))
94 $ns = '';
95 elseif ($ns == '.')
96 $ns = getNS ($ID);
98 $ns = cleanID ($ns);
100 $glossary = new glossary ($this, $ns);
/plugin/docnavigation/syntax/
H A Dpagenav.php113 $ns = getNS($ID);
114 if (page_exists($ns . ':' . $conf['start'])) {
116 $link = $ns . ':' . $conf['start'];
117 } elseif (page_exists($ns . ':' . noNS($ns))) {
119 $link = $ns . ':' . noNS($ns);
120 } elseif (page_exists($ns)) {
122 $link = (!getNS($ns) ? ':' : '') . $ns;
[all...]
/plugin/blog/syntax/
H A Dautoarchive.php29 list($ns, $refine) = explode(' ', $match, 2);
31 if ($ns == '') $ns = cleanID($this->getConf('namespace'));
32 elseif (($ns == '*') || ($ns == ':')) $ns = '';
33 elseif ($ns == '.') $ns = getNS($ID);
34 else $ns = cleanID($ns);
[all...]
H A Darchive.php30 list($ns, $rest) = explode('?', $match, 2);
43 $rest = $ns;
44 $ns = '';
47 if ($ns == '') $ns = cleanID($this->getConf('namespace'));
48 elseif (($ns == '*') || ($ns == ':')) $ns = '';
49 elseif ($ns == '.') $ns
[all...]
/plugin/dropfiles/action/
H A Dajax.php81 $ns = $NS . ':' . getNS($id);
83 $AUTH = auth_quickaclcheck("$ns:*");
85 io_createNamespace("$ns:xxx", 'media');
103 'link' => media_managerURL(array('ns' => $ns, 'image' => $NS . ':' . $id), '&'),
116 'errorType' => $this->determineErrorCause($id, $ns),
148 $ns = $this->NS . ':' . getNS($id);
149 $error = $this->determineErrorCause($id, $ns, false);
161 * @param string $ns the namespace where the new file would have been saved
166 protected function determineErrorCause($id, $ns, $contentAvailable = true) argument
173 $AUTH = auth_quickaclcheck("$ns:*");
[all …]
/plugin/feedback/
H A Daction.php176 $ns = $id;
179 $ns = $this->adjustForTanslations($id);
183 if(isset($conf[$ns])) {
184 return $conf[$ns];
189 $ns = getNS($ns);
190 if(!$ns) $ns = '*';
191 if(isset($conf[$ns])) return $conf[$ns];
192 } while($ns != '*');
/plugin/alphaindex/
H A Dsyntax.php61 $ns = $ns_opt[0];
64 if(empty($ns) || $ns == '@NS@') {
67 $ns = substr($ID,0,$pos);
69 $ns = '.';
140 $ns = $myns[0];
183 if($ns == '.') {
184 $ns = dirname(str_replace(':','/',$ID));
185 if ($ns == '.') $ns = '';
187 $ns = cleanID($ns);
190 $ns = utf8_encodeFN(str_replace(':','/',$ns));
[all …]
/plugin/discussion/
H A Dhelper.php92 * @param string $ns
97 function getThreads($ns, $num = null, $skipEmpty = false) { argument
102 $dir = $conf['datadir'].utf8_encodeFN(($ns ? '/'.str_replace(':', '/', $ns): ''));
111 $id = ($ns ? $ns.':' : '').$item['id'];
155 * @param string $ns
159 function getComments($ns, $num = NULL) { argument
179 $rec = $this->_handleRecentComment($lines[$i], $ns, $seen);
208 * @param string $ns
212 function _handleRecentComment($line, $ns, &$seen) { argument
236 if (($ns) && (strpos($recent['id'].':', $ns.':') !== 0)) return false;
/plugin/quicksubscribe/
H A Daction.php31 $ns = cleanID($INPUT->str('ns')) . ':'; // we only handle namespaces
42 $ok = $sub->add($ns, $_SERVER['REMOTE_USER'], 'list');
47 $msg = sprintf($this->getLang('sub_succ'), prettyprint_id($ns));
49 $msg = sprintf($this->getLang('sub_fail'), prettyprint_id($ns));
53 $ok = $sub->remove($ns, $_SERVER['REMOTE_USER']);
55 $msg = sprintf($this->getLang('unsub_succ'), prettyprint_id($ns));
57 $msg = sprintf($this->getLang('unsub_fail'), prettyprint_id($ns));
/plugin/dirtylittlehelper/syntax/
H A Dtree.php198 function dlh_dokubook_p_index_xhtml($ns) { argument
207 $ns = cleanID($ns);
210 if(empty($ns)){
212 $ns = dirname(str_replace(':','/',$ID));
214 if($ns == '.') $ns ='';
218 $ns = utf8_encodeFN(str_replace(':','/',$ns));
225 search($data,$conf['datadir'],'search_index',array('ns' => $ns));
/plugin/preservefilenames/
H A Daction_angua.php287 function _mod_media_tab_files($ns,$auth=null,$jump='') { argument
289 if(is_null($auth)) $auth = auth_quickaclcheck("$ns:*");
306 $ns = cleanID($ns);
309 if(is_null($auth)) $auth = auth_quickaclcheck("$ns:*");
317 if (!$fullscreenview) media_uploadform($ns, $auth);
319 $dir = utf8_encodeFN(str_replace(':','/',$ns));
340 if (!$fullscreenview) media_searchform($ns);
378 $ns = getNS($item['id']);
379 $fakeId = $ns === false ? $file : "$ns:$file";
447 $ns = getNS($item['id']);
[all …]
/plugin/nsrelation/
H A Dsyntax.php88 function _buildNSRelLink($ns,$idpart){ argument
91 $link = ':'.$this->rootns.$ns.':'.$idpart;
92 $name = $this->relatedns_display[array_search($ns,$this->relatedns)];
110 foreach($this->relatedns as $ns){
111 if(strpos($ID,$this->rootns.$ns) === 0 ){
112 $currentns = $ns;
128 foreach($this->relatedns as $ns){
129 …$out .= ' <li'.($ns==$currentns?' class="current"':'').'><div class="li">'.$this->_buildNSRelLink…
/plugin/approve/
H A Dhelper.php116 $ns = $assignment['namespace'];
118 if (substr($ns, -1) == '*') {
119 $weight = substr_count($ns, ':');
144 $ns = ltrim($assignment['namespace'], ':');
146 if (substr($ns, -2) == '**') {
148 $ns = substr($ns, 0, -2);
149 if (substr($id, 0, strlen($ns)) == $ns) {
153 } elseif (substr($ns,
[all...]
/plugin/farm/
H A Dinfos.animal.class.php94 private function shortenNS($ns, $maxlen=32) { argument
95 $ns = str_replace('/', ':', $ns);
96 if(strlen($ns) <= $maxlen) return $ns;
106 $ns = $st.'...'.$end;
108 …if(strlen($ns) > $maxlen + 5) $ns = substr($ns, 0, floor($maxlen / 2)).'...'.substr($ns, -1 * floo…
109 return $ns;
221 foreach($f as $ns => $i) $fm[$ns] = $this->getmdate($this->getmeta($ns));
233 foreach($f as $ns => $i) $fm[$ns] = $this->getmdate($this->getmeta($ns));
244 private function elurl($ns, $media=false) { argument
246 return $this->animal->getUrl($ns, $media);
[all …]
/plugin/mantis/lib/
H A Dclass.wsdl.php686 function getTypeDef($type, $ns) { argument
689 $ns = $this->namespaces['tns'];
696 $ns = $ns0;
701 if (isset($this->schemas[$ns])) {
704 $xs = &$this->schemas[$ns][$i];
1024 $ns = $this->getNamespaceFromPrefix($ns);
1031 $ns = '';
1417 $ns = '';
1484 $elementNS = " xmlns=\"$ns\"";
1622 $ns = $this->getNamespaceFromPrefix($ns);
[all …]
/plugin/randominc/
H A Dsyntax.php42 function _randompage($ns, $depth=0) { argument
48 $ns = cleanID($ns);
51 if(empty($ns)) {
52 $ns = dirname(str_replace(':','/',$ID));
53 if($ns == '.') $ns ='';
56 $dir = $conf['datadir'].'/'.str_replace(':','/',$ns);
57 $ns = str_replace('/',':',$ns);
60 search($data,$dir,'search_allpages',array('ns' => $ns, 'depth' => $depth));
98 $ns=getNS($id.':dummy');
104 $page = $this->_randompage($ns, $flagsarray['depth']);
[all …]
/plugin/linksuggest/
H A Daction.php47 //current page/ns
60 // .xxx, ..xxx, ~xxx, if in front of ns, cleaned in $entered_page
76 } else if (strpos($q, '.') !== false //relative link (., .:, .., ..:, .ns: etc, and :..:, :.: )
78 //resolve the ns based on current id
79 $ns = $entered_ns;
82 $ns .= 'uniqueadditionforlinksuggestplugin';
88 $resolved_ns = $resolver->resolveId($ns);
91 $resolved_ns = $ns;
102 $this->search_pages('', $entered_page, $has_hash) //search in root both pgs and ns
132 if($current_ns !== '' && !$entry['ns']
252 search_pages($ns, $id, $pagesonly = false) global() argument
284 search_medias($ns, $id) global() argument
[all...]

12345678910>>...22