From 2a2671dac2a9f7d3062a77e8e3088330e57c0d3e Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Tue, 13 Dec 2011 18:07:50 +0100 Subject: [PATCH] Minor - fixing lang variables --- main/exercice/live_stats.php | 2 +- main/gradebook/lib/fe/catform.class.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/main/exercice/live_stats.php b/main/exercice/live_stats.php index 701b61604c..48074d1051 100644 --- a/main/exercice/live_stats.php +++ b/main/exercice/live_stats.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( diff --git a/main/gradebook/lib/fe/catform.class.php b/main/gradebook/lib/fe/catform.class.php index 3f002afce9..a3b4e016a6 100644 --- a/main/gradebook/lib/fe/catform.class.php +++ b/main/gradebook/lib/fe/catform.class.php @@ -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(); }