foreach(getFolderListing(CONFIG_SYS_ROOT_PATH) as $k=>$v)
{
//////////////
if(hideFolderName($k))
{
//shows only those permitted by Dokeos
?>
<!-- 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> -->
<optionvalue="<?phpecho$v;?>"<?phpecho(removeTrailingSlash(backslashToSlash(($folderInfo['path'])))==removeTrailingSlash(backslashToSlash(($v)))?' selected="selected"':'');?>><?phpechohideFolderName(shortenFileName($k,30));// shows only those permitted by Dokeos
?></option>
<?php
}
@ -502,7 +500,7 @@ $(document).ready(
<tr>
<td><!-- comment these lines while integrating into dokeos -->
$('#playGround').html('<a id="playGround'+num+'" href="'+'../'+files[num].path+'"><div id="player"> this is mine</div></a> ');$('#playGround'+num).html('');$('#playGround'+num).media({width:255,height:210,autoplay:true});showThickBox($('#a'+num).get(0),appendQueryString('#TB_inline','height=250'+'&width=256'+'&inlineId=winPlay&modal=true'));break;//Juan Carlos Raña added '../'+ for preview video and flash on href="' + '../'+files[num].path +
$('#playGround').html('<a id="playGround'+num+'" href="'+'../'+files[num].path+'"><div id="player"> this is mine</div></a> ');$('#playGround'+num).html('');$('#playGround'+num).media({width:255,height:210,autoplay:true});showThickBox($('#a'+num).get(0),appendQueryString('#TB_inline','height=250'+'&width=256'+'&inlineId=winPlay&modal=true'));break;//Juan Carlos Raña added for Chamilo '../'+ for preview video and flash on href="' + '../'+files[num].path +