foreach(getFolderListing(CONFIG_SYS_ROOT_PATH) as $k=>$v)
{
//////////////
if(hideFolderName($k))
{
//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
?></option>
<!-- comment these lines while integrating into dokeos -->
<!--<option value="<?php//echo $v; ?>" <?php //echo (removeTrailingSlash(backslashToSlash(($folderInfo['path']))) == removeTrailingSlash(backslashToSlash(($v)))?' selected="selected"':''); ?>><?php echo hideFolderName(shortenFileName($k, 30)); // shows only those permitted by Dokeos
?></option> -->
<?php
}
@ -500,7 +502,7 @@ $(document).ready(
<tr>
<td><!-- comment these lines while integrating into dokeos -->