= AUTH_UPLOAD){ $uploadok = true; //create the given namespace (just for beautification) $mdir = $conf['mediadir'].'/'.str_replace(':','/',$NS); io_mkdir_p($mdir); }else{ $uploadok = false; } //start output html_head(); ?>

:

:
'.$lang['mediafiles'].''; print ' '.$ns.':'; $data = array(); search($data,$conf['mediadir'],'search_media',array(),$dir); if(!count($data)){ print '
'; print $lang['nothingfound']; print '
'; return; } print ''; } function media_html_namespaces(){ global $conf; global $lang; $data = array(); #add default namespace print ''.$lang['namespaces'].''; search($data,$conf['mediadir'],'search_namespaces',array()); print html_buildlist($data,'idx',media_html_list_namespaces); } function media_html_list_namespaces($item){ $ret = ''; $ret .= ''; $ret .= $item['id']; $ret .= ''; return $ret; } ?>