[svn r20937] Partial new size hotspot see FS#4050

skala
Carlos Vargas 17 years ago
parent 8bab29ce8e
commit e209b2827b
  1. 4
      main/exercice/exercise_result.php
  2. 6
      main/exercice/exercise_show.php
  3. 2
      main/exercice/hotspot_admin.inc.php
  4. BIN
      main/plugin/hotspot/hotspot_admin.fla
  5. BIN
      main/plugin/hotspot/hotspot_admin.swf
  6. BIN
      main/plugin/hotspot/hotspot_solution.fla
  7. BIN
      main/plugin/hotspot/hotspot_solution.swf

@ -29,7 +29,7 @@
* @author Olivier Brouckaert, main author
* @author Roan Embrechts, some refactoring
* @author Julio Montoya Armas switchable fill in blank option added
* @version $Id: exercise_result.php 20843 2009-05-19 17:19:12Z cvargas1 $
* @version $Id: exercise_result.php 20937 2009-05-21 21:28:51Z cvargas1 $
*
* @todo split more code up in functions, move functions to library?
*/
@ -923,7 +923,7 @@ foreach ($questionList as $questionId) {
<tr>
<td colspan="2">
<i><?php echo get_lang('Hotspot'); ?></i><br /><br />
<object type="application/x-shockwave-flash" data="../plugin/hotspot/hotspot_solution.swf?modifyAnswers=<?php echo Security::remove_XSS($questionId); ?>&exe_id=&from_db=0" width="560" height="382">
<object type="application/x-shockwave-flash" data="../plugin/hotspot/hotspot_solution.swf?modifyAnswers=<?php echo Security::remove_XSS($questionId); ?>&exe_id=&from_db=0" width="552" height="352">
<param name="movie" value="../plugin/hotspot/hotspot_solution.swf?modifyAnswers=<?php echo Security::remove_XSS($questionId); ?>&exe_id=&from_db=0" />
</object>
</td>

@ -4,7 +4,7 @@
*
* @package dokeos.exercise
* @author Julio Montoya Armas Added switchable fill in blank option added
* @version $Id: exercise_show.php 20933 2009-05-21 19:28:16Z yannoo $
* @version $Id: exercise_show.php 20937 2009-05-21 21:28:51Z cvargas1 $
*
* @todo remove the debug code and use the general debug library
* @todo use the Database:: functions
@ -858,7 +858,7 @@ if ($show_results) {
?>
<tr>
<td valign="top" align="center" style="padding-left:0px;" >
<table style="border: 1px solid #A4A4A4;border-bottom:none" width="560">
<table style="border: 1px solid #A4A4A4;border-bottom:none" width="552">
<?php
for ($answerId=1;$answerId <= $nbrAnswers;$answerId++) {
$answer=$objAnswerTmp->selectAnswer($answerId);
@ -882,7 +882,7 @@ if ($show_results) {
echo '<tr>
<td colspan="2">'.
//<object type="application/x-shockwave-flash" data="../plugin/hotspot/hotspot_solution.swf?modifyAnswers='.$questionId.'&exe_id='.$id.'&from_db=1" width="556" height="421">
'<object type="application/x-shockwave-flash" data="../plugin/hotspot/hotspot_solution.swf?modifyAnswers='.Security::remove_XSS($questionId).'&exe_id='.$id.'&from_db=1" width="560" height="382">
'<object type="application/x-shockwave-flash" data="../plugin/hotspot/hotspot_solution.swf?modifyAnswers='.Security::remove_XSS($questionId).'&exe_id='.$id.'&from_db=1" width="552" height="352">
<param name="movie" value="../plugin/hotspot/hotspot_solution.swf?modifyAnswers='.Security::remove_XSS($questionId).'&exe_id='.$id.'&from_db=1" />
</object>

@ -344,7 +344,7 @@ if($modifyAnswers)
// Check to see if the version meets the requirements for playback
if (hasReqestedVersion) { // if we've detected an acceptable version
var oeTags = '<object type="application/x-shockwave-flash" data="../plugin/hotspot/hotspot_admin.swf?modifyAnswers=<?php echo $modifyAnswers ?>" width="720" height="650">'
var oeTags = '<object type="application/x-shockwave-flash" data="../plugin/hotspot/hotspot_admin.swf?modifyAnswers=<?php echo $modifyAnswers ?>" width="600" height="450">'
+ '<param name="movie" value="../plugin/hotspot/hotspot_admin.swf?modifyAnswers=<?php echo $modifyAnswers ?>" />'
+ '<param name="test" value="OOoowww fo shooww" />'
+ '</object>';

Loading…
Cancel
Save