You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.3 KiB
43 lines
1.3 KiB
<?php //$id: $
|
|
// This file is part of the Dokeos software - See license and credits in the documentation/ directory
|
|
/**
|
|
* Script opened in an iframe and containing the learning path's table of contents
|
|
* @package dokeos.learnpath
|
|
* @author Yannick Warnier <ywarnier@beeznest.org>
|
|
* @license GNU/GPL - See Dokeos license directory for details
|
|
*/
|
|
//flag to allow for anonymous user - needs to be set before global.inc.php
|
|
$use_anonymous = true;
|
|
require_once('back_compat.inc.php');
|
|
require_once('learnpath.class.php');
|
|
require_once('scorm.class.php');
|
|
require_once('aicc.class.php');
|
|
|
|
if(isset($_SESSION['lpobject']))
|
|
{
|
|
$oLP = unserialize($_SESSION['lpobject']);
|
|
if(is_object($oLP)){
|
|
$_SESSION['oLP'] = $oLP;
|
|
}else{
|
|
die('Could not instanciate lp object');
|
|
}
|
|
}
|
|
$charset = $_SESSION['oLP']->encoding;
|
|
|
|
$lp_theme_css=$_SESSION['oLP']->get_theme();
|
|
$scorm_css_header=true;
|
|
include_once('../inc/reduced_header.inc.php');
|
|
echo '<html>
|
|
<body>';
|
|
|
|
echo '<div id="audiorecorder"> ';
|
|
$audio_recorder_studentview = 'true';
|
|
$audio_recorder_item_id = $_SESSION['oLP']->current;
|
|
if(api_get_setting('service_visio','active')=='true'){
|
|
include('audiorecorder.inc.php');
|
|
}
|
|
echo '</div>';
|
|
// end of audiorecorder include
|
|
|
|
echo '</body></html>';
|
|
?>
|