Adding constant ORAL_EXPRESSION

skala
Julio Montoya 13 years ago
parent 42e1f192ee
commit 9a03c386ce
  1. 6
      main/exercice/exercise.lib.php

@ -74,12 +74,14 @@ function showQuestion($questionId, $only_questions = false, $origin = false, $cu
}
}
echo '<div class="question_options">';
if ($answerType == FREE_ANSWER && $freeze) {
if (in_array($answerType, array(FREE_ANSWER, ORAL_EXPRESSION)) && $freeze) {
return '';
}
echo '<div class="question_options">';
//$s .= '<table width="720" class="exercise_options" style="width: 720px;'.$option_ie.' background-color:#fff;">';
$s = '';
$s .= '<table class="exercise_options">';

Loading…
Cancel
Save