From 4433c6c407f50c1d52d431d3c3cdcb523d4e4158 Mon Sep 17 00:00:00 2001 From: Pierre Pichet Date: Wed, 26 May 2010 04:11:55 +0000 Subject: [PATCH] MDL-22578 temporary fix of explorer and safari display of numerical unit choice (radio elements) --- question/type/numerical/display.html | 48 ++++++++++++++-------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/question/type/numerical/display.html b/question/type/numerical/display.html index cb3dff44191..4262283926d 100644 --- a/question/type/numerical/display.html +++ b/question/type/numerical/display.html @@ -105,15 +105,18 @@ options->units)){?> -
+
- + +
class = '' ; $a->feedbackimg = ''; - $a->control = ""; + $a->control = ""; if ($options->correct_responses && $classunitvalue > 0 ) { //$answer->fraction $a->class = question_get_feedback_class($classunitvalue); } if (($options->feedback && $chosen) || $options->correct_responses) { - /* if ($type == ' type="checkbox" ') { - // $a->feedbackimg = question_get_feedback_image($answer->fraction > 0 ? 1 : 0, $chosen && $options->feedback); $a->feedbackimg = question_get_feedback_image($classunitvalue, $chosen && $options->feedback); - - } else {*/ - $a->feedbackimg = question_get_feedback_image($classunitvalue, $chosen && $options->feedback); - - // } } // Print the control @@ -174,27 +170,31 @@ $row = 0 ; ?> - - - + + - + + + -
- control; ?> - -
+ control.'   '; ?> + + -
-
+ + + + -
+