|
|
|
|
@ -329,7 +329,6 @@ function multiple_answer_true_false_onchange(variable) { |
|
|
|
|
document.getElementById(weight_id).value = array_result[result]; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</script>'; |
|
|
|
|
|
|
|
|
|
$htmlHeadXtra[] = api_get_js('jqueryui-touch-punch/jquery.ui.touch-punch.min.js'); |
|
|
|
|
@ -349,14 +348,6 @@ if (isset($_GET['message'])) { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Display::display_header($nameTools, 'Exercise'); |
|
|
|
|
/* |
|
|
|
|
if ($objExercise->exercise_was_added_in_lp) { |
|
|
|
|
if ($objExercise->force_edit_exercise_in_lp == true) { |
|
|
|
|
Display::addFlash(Display::return_message(get_lang('ForceEditingExerciseInLPWarning'), 'warning')); |
|
|
|
|
} else { |
|
|
|
|
Display::addFlash(Display::return_message(get_lang('EditingExerciseCauseProblemsInLP'), 'warning')); |
|
|
|
|
} |
|
|
|
|
}*/ |
|
|
|
|
|
|
|
|
|
// If we are in a test |
|
|
|
|
$inATest = isset($exerciseId) && $exerciseId > 0; |
|
|
|
|
|