* @license GNU/GPL - See Dokeos license directory for details */ /** * Script */ //flag to allow for anonymous user - needs to be set before global.inc.php $use_anonymous = true; // name of the language file that needs to be included $language_file[] = "scormdocument"; $language_file[] = "scorm"; $language_file[] = "learnpath"; require_once('back_compat.inc.php'); require_once('learnpath.class.php'); require_once('scorm.class.php'); require_once('aicc.class.php'); //error_log('New LP - Loaded lp_nav: '.$_SERVER['REQUEST_URI'],0); $progress_bar = ''; $navigation_bar = ''; $display_mode = ''; if(isset($_SESSION['lpobject'])) { //if($debug>0) //error_log('New LP - in lp_nav.php - SESSION[lpobject] is defined',0); $oLP = unserialize($_SESSION['lpobject']); if(is_object($oLP)){ $_SESSION['oLP'] = $oLP; }else{ //error_log('New LP - in lp_nav.php - SESSION[lpobject] is not object - dying',0); die('Could not instanciate lp object'); } $display_mode = $_SESSION['oLP']->mode; $progress_bar = $_SESSION['oLP']->get_progress_bar(); $navigation_bar = $_SESSION['oLP']->get_navigation_bar(); } $htmlHeadXtra[] = ''; if($display_mode == 'fullscreen'){ $htmlHeadXtra[] = ''; }else{ $htmlHeadXtra[] = ''; } include_once('../inc/reduced_header.inc.php'); session_write_close(); ?>