|
|
|
@ -69,8 +69,6 @@ class ExerciseLib |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
$questionRequireAuth = WhispeakAuthPlugin::questionRequireAuthentify($questionId); |
|
|
|
|
|
|
|
|
|
if (EXERCISE_FEEDBACK_TYPE_END != $exercise->getFeedbackType()) { |
|
|
|
|
$show_comment = false; |
|
|
|
|
} |
|
|
|
@ -101,12 +99,6 @@ class ExerciseLib |
|
|
|
|
echo $titleToDisplay; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if ($questionRequireAuth) { |
|
|
|
|
WhispeakAuthPlugin::quizQuestionAuthentify($questionId, $exercise); |
|
|
|
|
|
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (!empty($questionDescription) && READING_COMPREHENSION != $answerType) { |
|
|
|
|
echo Display::div( |
|
|
|
|
$questionDescription, |
|
|
|
@ -1488,11 +1480,6 @@ HTML; |
|
|
|
|
} |
|
|
|
|
echo $objQuestionTmp->getTitleToDisplay($exercise, $current_item); |
|
|
|
|
} |
|
|
|
|
if ($questionRequireAuth) { |
|
|
|
|
WhispeakAuthPlugin::quizQuestionAuthentify($questionId, $exercise); |
|
|
|
|
|
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//@todo I need to the get the feedback type |
|
|
|
|
echo <<<HOTSPOT |
|
|
|
@ -1554,12 +1541,6 @@ HOTSPOT; |
|
|
|
|
echo $objQuestionTmp->getTitleToDisplay($exercise, $current_item); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if ($questionRequireAuth) { |
|
|
|
|
WhispeakAuthPlugin::quizQuestionAuthentify($questionId, $exercise); |
|
|
|
|
|
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
echo ' |
|
|
|
|
<input type="hidden" name="hidden_hotspot_id" value="'.$questionId.'" /> |
|
|
|
|
<div class="exercise_questions"> |
|
|
|
|