Minor - fixing lang variables

skala
Julio Montoya 13 years ago
parent 1c9ddb4341
commit 2a2671dac2
  1. 2
      main/exercice/live_stats.php
  2. 1
      main/gradebook/lib/fe/catform.class.php

@ -34,7 +34,7 @@ $minutes = 60;
$url = api_get_path(WEB_AJAX_PATH).'exercise.ajax.php?a=get_live_stats&exercise_id='.$objExercise->id.'&minutes='.$minutes;
//The order is important you need to check the the $column variable in the model.ajax.php file
$columns = array(get_lang('Firstname'), get_lang('Lastname'), get_lang('Date'), get_lang('QuestionsDone'), get_lang('Score'));
$columns = array(get_lang('Firstname'), get_lang('Lastname'), get_lang('Date'), get_lang('QuestionsAlreadyAnswered'), get_lang('Score'));
//Column config
$column_model = array(

@ -167,7 +167,6 @@ class CatForm extends FormValidator {
$count = count($cats) - 1;
$value = round((float)$grading_contents['items'][$count]['percentage'], 2);
if ($value == 0) {
// Display::display_warning_message(get_lang('GradingModelBlocks'));
//$this->freeze();
}

Loading…
Cancel
Save