Lines Matching refs:ns
23 var $ns = null; variable in admin_plugin_superacl2
73 if($_REQUEST['ns'] == '*'){
76 $this->ns = cleanID($_REQUEST['ns']);
198 if($this->ns) $opts['ns'] = $this->ns;
217 $ns = $this->ns;
218 if(empty($ns)){
219 $ns = dirname(str_replace(':','/',$ID));
220 if($ns == '.') $ns ='';
221 }elseif($ns == '*'){
222 $ns ='';
224 $ns = utf8_encodeFN(str_replace(':','/',$ns));
228 search($data,$conf['datadir'],'search_index',array('ns' => $ns));
271 echo '<input type="hidden" name="ns" value="'.hsc($this->ns).'" />'.NL;
295 if($this->ns){
296 printf($this->getLang('p_choose_ns'),hsc($this->ns));
322 echo $this->_html_checkboxes($current,empty($this->ns),'acl');
344 $ns = $this->ns;
347 if($ns){
348 if($ns == '*'){
351 $check=$ns.':*';
377 if($ns){
392 if($ns){
393 printf($this->getLang('p_user_ns'),hsc($who),hsc($ns),join(', ',$names));
398 if($ns){
399 … printf($this->getLang('p_group_ns'),hsc(ltrim($who,'@')),hsc($ns),join(', ',$names));
435 $item['id'] == $this->ns) ||
529 if($this->ns){
530 echo '<input type="hidden" name="ns" value="'.hsc($this->ns).'" />'.NL;
611 $ns = $this->ns;
612 if (! $this->ns)
613 $ns = getNS($ID);
615 if ($ns == "*")
616 $ns = "";
619 return $location == $ns;
621 return substr($ns,0,strlen($location)) == $location;
635 if($this->ns){
636 if($this->ns == '*'){
639 $check = $this->ns.':*';