dokeos-learnpath
[ class tree: dokeos-learnpath ] [ index: dokeos-learnpath ] [ all elements ]

Source for file display_audiorecorder.php

Documentation is available at display_audiorecorder.php

  1. <?php //$id: $
  2. // This file is part of the Dokeos software - See license and credits in the documentation/ directory
  3. /**
  4.  * Script opened in an iframe and containing the learning path's table of contents
  5.  * @package dokeos.learnpath
  6.  * @author Yannick Warnier <ywarnier@beeznest.org>
  7.  * @license    GNU/GPL - See Dokeos license directory for details
  8.  */
  9. /**
  10.  * Script
  11.  */
  12. //flag to allow for anonymous user - needs to be set before global.inc.php
  13. $use_anonymous true;
  14.  
  15. require_once('back_compat.inc.php');
  16. require_once('learnpath.class.php');
  17. require_once('scorm.class.php');
  18. require_once('aicc.class.php');
  19.  
  20. if(isset($_SESSION['lpobject']))
  21. {
  22.     $oLP unserialize($_SESSION['lpobject']);
  23.     if(is_object($oLP)){
  24.         $_SESSION['oLP'$oLP;
  25.     }else{
  26.         die('Could not instanciate lp object');
  27.     }
  28. }
  29. $charset $_SESSION['oLP']->encoding;
  30.  
  31. echo '<html>
  32.         <body>';
  33.  
  34. echo '<div id="audiorecorder">    ';
  35.     
  36.  
  37. $audio_recorder_studentview 'true';
  38.  
  39.  
  40. $audio_recorder_item_id $_SESSION['oLP']->current;
  41. if(api_get_setting('service_visio','active')=='true'){
  42.     include('audiorecorder.inc.php');
  43. }
  44. // end of audiorecorder include
  45.  
  46. echo '</div></body></html>';
  47. ?>

Documentation generated on Thu, 12 Jun 2008 13:19:05 -0500 by phpDocumentor 1.4.1