foreach(getFolderListing(CONFIG_SYS_ROOT_PATH) as $k=>$v)
{
if(hideFilename($k))
if(hideFolderName($k))
{
//shows only those permitted by Dokeos
?>
<optionvalue="<?phpecho$v;?>"<?phpecho(removeTrailingSlash(backslashToSlash(($folderInfo['path'])))==removeTrailingSlash(backslashToSlash(($v)))?' selected="selected"':'');?>><?phpechohideFileName(shortenFileName($k,30));// shows only those permitted by Dokeos
<optionvalue="<?phpecho$v;?>"<?phpecho(removeTrailingSlash(backslashToSlash(($folderInfo['path'])))==removeTrailingSlash(backslashToSlash(($v)))?' selected="selected"':'');?>><?phpechohideFolderName(shortenFileName($k,30));// shows only those permitted by Dokeos