diff --git a/main/exercice/exercise.lib.php b/main/exercice/exercise.lib.php index 7947625d9b..102970b703 100644 --- a/main/exercice/exercise.lib.php +++ b/main/exercice/exercise.lib.php @@ -23,7 +23,7 @@ * shows a question and its answers * @package dokeos.exercise * @author Olivier Brouckaert -* @version $Id: exercise.lib.php 13301 2007-09-27 03:47:39Z yannoo $ +* @version $Id: exercise.lib.php 15352 2008-05-21 20:42:25Z elixir_inter $ */ @@ -424,7 +424,7 @@ function showQuestion($questionId, $onlyAnswers=false, $origin=false) // Check to see if the version meets the requirements for playback if (hasReqestedVersion) { // if we've detected an acceptable version - var oeTags = '' + var oeTags = '' + '' + '<\/object>'; document.write(oeTags); // embed the Flash Content SWF when all tests are passed diff --git a/main/exercice/exercise_result.php b/main/exercice/exercise_result.php index be7f4a63ce..4fe1b20231 100644 --- a/main/exercice/exercise_result.php +++ b/main/exercice/exercise_result.php @@ -25,7 +25,7 @@ * @package dokeos.exercise * @author Olivier Brouckaert, main author * @author Roan Embrechts, some refactoring -* @version $Id: exercise_result.php 15312 2008-05-19 01:15:03Z yannoo $ +* @version $Id: exercise_result.php 15352 2008-05-21 20:42:25Z elixir_inter $ * * @todo split more code up in functions, move functions to library? */ @@ -738,7 +738,7 @@ $exerciseTitle=api_parse_tex($exerciseTitle);

- + diff --git a/main/exercice/exercise_show.php b/main/exercice/exercise_show.php index 601a50cb8b..b8f3c3db47 100644 --- a/main/exercice/exercise_show.php +++ b/main/exercice/exercise_show.php @@ -737,7 +737,7 @@ $result =api_sql_query($query, __FILE__, __LINE__); echo ' - + diff --git a/main/exercice/hotspot.class.php b/main/exercice/hotspot.class.php index 0c0718816e..a19e258bd0 100644 --- a/main/exercice/hotspot.class.php +++ b/main/exercice/hotspot.class.php @@ -71,9 +71,9 @@ class HotSpot extends Question { $this->uploadPicture($file_info['tmp_name'], $file_info['name']); list($width,$height) = getimagesize($file_info['tmp_name']); if($width>=$height) - $this->resizePicture('width',720); + $this->resizePicture('width',544); else - $this->resizePicture('height',540); + $this->resizePicture('height',408); $this->save(); } } diff --git a/main/plugin/hotspot/hotspot_admin.fla b/main/plugin/hotspot/hotspot_admin.fla index a5f54853ff..080a3174e4 100644 Binary files a/main/plugin/hotspot/hotspot_admin.fla and b/main/plugin/hotspot/hotspot_admin.fla differ diff --git a/main/plugin/hotspot/hotspot_admin.swf b/main/plugin/hotspot/hotspot_admin.swf index 99285f6a9d..0f45e327e1 100644 Binary files a/main/plugin/hotspot/hotspot_admin.swf and b/main/plugin/hotspot/hotspot_admin.swf differ diff --git a/main/plugin/hotspot/hotspot_solution.swf b/main/plugin/hotspot/hotspot_solution.swf index f670e4d432..a0d7091c63 100644 Binary files a/main/plugin/hotspot/hotspot_solution.swf and b/main/plugin/hotspot/hotspot_solution.swf differ diff --git a/main/plugin/hotspot/hotspot_user.fla b/main/plugin/hotspot/hotspot_user.fla index 857223b3e6..9515c95a11 100644 Binary files a/main/plugin/hotspot/hotspot_user.fla and b/main/plugin/hotspot/hotspot_user.fla differ diff --git a/main/plugin/hotspot/hotspot_user.swf b/main/plugin/hotspot/hotspot_user.swf index 71aaa40916..230252d6be 100644 Binary files a/main/plugin/hotspot/hotspot_user.swf and b/main/plugin/hotspot/hotspot_user.swf differ