|
|
@ -1097,6 +1097,11 @@ if (!empty($error)) { |
|
|
|
|
|
|
|
|
|
|
|
// Showing the question |
|
|
|
// Showing the question |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!empty($objExercise->description)){ |
|
|
|
|
|
|
|
echo Display::panel($objExercise->description, get_lang('ExerciseDescriptionLabel')); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
echo '<div id="question_div_'.$questionId.'" class="main-question '.$remind_highlight.'" >'; |
|
|
|
echo '<div id="question_div_'.$questionId.'" class="main-question '.$remind_highlight.'" >'; |
|
|
|
|
|
|
|
|
|
|
|
// Shows the question and its answers |
|
|
|
// Shows the question and its answers |
|
|
@ -1158,18 +1163,6 @@ if (!empty($error)) { |
|
|
|
} |
|
|
|
} |
|
|
|
echo '</form>'; |
|
|
|
echo '</form>'; |
|
|
|
|
|
|
|
|
|
|
|
if (!empty($objExercise->description)){ |
|
|
|
|
|
|
|
echo Display::panelCollapse( |
|
|
|
|
|
|
|
get_lang('ExerciseDescriptionLabel'), |
|
|
|
|
|
|
|
$objExercise->description, |
|
|
|
|
|
|
|
'exercise-description', |
|
|
|
|
|
|
|
[], |
|
|
|
|
|
|
|
'description', |
|
|
|
|
|
|
|
'exercise-collapse', |
|
|
|
|
|
|
|
false, |
|
|
|
|
|
|
|
true |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if ($origin != 'learnpath') { |
|
|
|
if ($origin != 'learnpath') { |
|
|
|