From fa561517ae13d9654f7ac44fa5361762be0b9e25 Mon Sep 17 00:00:00 2001 From: Arnaud Ligot Date: Wed, 1 Aug 2007 15:52:50 +0200 Subject: [PATCH] [svn r12825] new version, without openlaszlo --- main/newscorm/audiorecorder.inc.php | 26 ++++++++------------------ 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/main/newscorm/audiorecorder.inc.php b/main/newscorm/audiorecorder.inc.php index 4cfb0066b9..5b7351d2cd 100644 --- a/main/newscorm/audiorecorder.inc.php +++ b/main/newscorm/audiorecorder.inc.php @@ -4,12 +4,12 @@ * Include the lazlo file necessary to use the audiorecorder * @author Sebastian Wagner * @author Eric Marguin + * @author Arnaud Ligot */ -$params = "?lzt=swf&lzr=swf8&document_id=".$audio_recorder_item_id."&dbName=".$_SESSION["_course"]["dbName"]."&user_id=".$_SESSION["_user"]["user_id"].'&studentview='.$audio_recorder_studentview ; list($width, $height) = $audio_recorder_studentview =='true' ? array(220, 28) : array(220,140); @@ -17,23 +17,13 @@ $path_to_lzx = api_get_setting('service_ppt2lp','path_to_lzx'); if(!empty($path_to_lzx)){ - - $path_to_lzx .= $params; - printf (" - - - - - - - - - - ", $path_to_lzx,$audio_recorder_item_id,$_SESSION["_course"]["dbName"],$_SESSION["_user"]["user_id"],$audio_recorder_studentview,$path_to_lzx); + printf(" + + + + + ",$path_to_lzx,$path_to_lzx); } ?>