diff --git a/main/exercice/exercise_submit.php b/main/exercice/exercise_submit.php index 48d92ae6f3..05972522b8 100644 --- a/main/exercice/exercise_submit.php +++ b/main/exercice/exercise_submit.php @@ -673,7 +673,6 @@ if ($time_control) { echo '
'; } -//echo Display::div($objExercise->description, array('id'=> 'exercise_description', 'class'=>'exercise_description')); if (!empty($objExercise->description)) { echo Display::generate_accordion(array( array('title' => get_lang('ExerciseDescriptionLabel'), 'content' => $objExercise->description))); } @@ -1022,7 +1021,6 @@ if (!empty($error)) { $remind_question_div = Display::tag('label', Display::input('checkbox', 'remind_list['.$questionId.']', '', $attributes).get_lang('ReviewQuestionLater'), array('class' => 'checkbox', 'for' =>'remind_list['.$questionId.']')); $exercise_actions .= Display::div($remind_question_div, array('class'=>'exercise_save_now_button')); } - echo Display::div($exercise_actions, array('class'=>'form-actions')); echo ''; diff --git a/main/exercice/fill_blanks.class.php b/main/exercice/fill_blanks.class.php index 0de665d118..b1f384e696 100644 --- a/main/exercice/fill_blanks.class.php +++ b/main/exercice/fill_blanks.class.php @@ -68,10 +68,10 @@ class FillBlanks extends Question //take the complete string except after the last '::' $defaults['answer'] = ''; - for($i=0;$i<($sz-1);$i++) { + for ($i=0;$i<($sz-1);$i++) { $defaults['answer'] .= $pre_array[$i]; } - $a_weightings = explode(',',$is_set_switchable[0]); + $a_weightings = explode(',', $is_set_switchable[0]); } else { $defaults['answer'] = get_lang('DefaultTextInBlanks'); }