Lines Matching refs:ns

288  * @param string $ns   target namespace
292 function media_upload_xhr($ns,$auth){ argument
314 $ns.':'.$id,
334 * @param string $ns target namespace
339 function media_upload($ns,$auth,$file=false){ argument
366 'ext' => $iext), $ns.':'.$id,
675 * @param string $ns namespace
681 function media_filelist($ns,$auth=null,$jump='',$fullscreenview=false,$sort=false){ argument
684 $ns = cleanID($ns);
687 if(is_null($auth)) $auth = auth_quickaclcheck("$ns:*");
689 if (!$fullscreenview) echo '<h1 id="media__ns">:'.hsc($ns).'</h1>'.NL;
696 media_uploadform($ns, $auth);
697 media_searchform($ns);
700 $dir = utf8_encodeFN(str_replace(':','/',$ns));
881 * @param string $ns
885 function media_tab_files($ns,$auth=null,$jump='') { argument
887 if(is_null($auth)) $auth = auth_quickaclcheck("$ns:*");
892 media_filelist($ns,$auth,$jump,true,_media_get_sort_type());
901 * @param string $ns
905 function media_tab_upload($ns,$auth=null,$jump='') { argument
907 if(is_null($auth)) $auth = auth_quickaclcheck("$ns:*");
913 media_uploadform($ns, $auth, true);
922 * @param string $ns
925 function media_tab_search($ns,$auth=null) { argument
932 media_searchform($ns, $query, true);
934 media_searchlist($query,$ns,$auth,true,_media_get_sort_type());
945 * @param string $ns
949 function media_tab_view($image, $ns, $auth=null, $rev='') { argument
951 if(is_null($auth)) $auth = auth_quickaclcheck("$ns:*");
970 * @param string $ns
973 function media_tab_edit($image, $ns, $auth=null) { argument
974 if(is_null($auth)) $auth = auth_quickaclcheck("$ns:*");
988 * @param string $ns
991 function media_tab_history($image, $ns, $auth=null) { argument
995 if(is_null($auth)) $auth = auth_quickaclcheck("$ns:*");
1000 media_diff($image, $ns, $auth);
1233 * @param string $ns
1238 function media_diff($image, $ns, $auth, $fromajax = false) { argument
1290 $data[3] = $ns;
1320 * @param string $ns
1324 function media_file_diff($image, $l_rev, $r_rev, $ns, $auth, $fromajax) { argument
1518 * @param string $ns
1523 function media_searchlist($query,$ns,$auth=null,$fullscreen=false,$sort='natural'){ argument
1527 $ns = cleanID($ns);
1529 'ns' => $ns,
1558 echo '<h1 id="media__ns">'.sprintf($lang['searchmedia_in'],hsc($ns).':*').'</h1>'.NL;
1559 media_searchform($ns,$query);
1572 $display->relativeDisplay($ns);
1577 $display->relativeDisplay($ns);
1647 * @param string $ns
1651 function media_uploadform($ns, $auth, $fullscreen = false) { argument
1678 $form->setHiddenField('ns', hsc($ns)); // FIXME hsc required?
1743 * @param string $ns
1747 function media_searchform($ns, $query = '', $fullscreen = false) { argument
1758 $form->setHiddenField('ns', $ns);
1763 ->attr('title', sprintf($lang['searchmedia_in'], hsc($ns) .':*'))
1777 * @param string $ns
1779 function media_nstree($ns){ argument
1784 $ns = cleanID($ns);
1785 if(empty($ns)){
1787 $ns = (string)getNS($ID);
1790 $ns_dir = utf8_encodeFN(str_replace(':','/',$ns));
1800 $ns_parts = explode(':', $ns);