Fixed bug 3295

This commit is contained in:
gustav_delius
2005-05-20 21:56:55 +00:00
parent 5913c377ea
commit 081d3a9647
@@ -173,7 +173,7 @@ class quiz_embedded_cloze_qtype extends quiz_default_questiontype {
function print_question_formulation_and_controls(&$question, &$state, $quiz,
$options) {
global $QUIZ_QTYPES;
$readonly = empty($options->readonly) ? '' : 'disabled="disabled"';
$readonly = empty($options->readonly) ? '' : 'readonly="readonly"';
$nameprefix = $question->name_prefix;
// For this question type, we better print the image on top:
@@ -239,7 +239,7 @@ class quiz_embedded_cloze_qtype extends quiz_default_questiontype {
if (!empty($chosenanswer->feedback)) {
$feedback = str_replace("'", "\\'", $chosenanswer->feedback);
$popup = " onmouseover=\"return overlib('$feedback', CAPTION, '$strfeedback', FGCOLOR);\" ".
$popup = " onmouseover=\"return overlib('$feedback', CAPTION, '$strfeedback', FGCOLOR, '#FFFFFF');\" ".
" onmouseout=\"return nd();\" ";
}