Minor - format code

pull/3223/head
Julio Montoya 5 years ago
parent e3a2594c67
commit 352268837f
  1. 7
      main/exercise/exercise.php
  2. 4
      main/tracking/courseLog.php

@ -1,13 +1,10 @@
<?php
/* For licensing terms, see /license.txt */
use ChamiloSession as Session;
/* For licensing terms, see /license.txt */
/**
* Exercise list: This script shows the list of exercises for administrators and students.
*
* @package chamilo.exercise
*
* @author Olivier Brouckaert, original author
* @author Denes Nagy, HotPotatoes integration
* @author Wolfgang Schneider, code/html cleanup
@ -540,7 +537,6 @@ if ($is_allowedToEdit && $origin !== 'learnpath') {
$actionsLeft .= Display::return_icon('database.png', get_lang('QuestionPool'), '', ICON_SIZE_MEDIUM);
$actionsLeft .= '</a>';
//echo Display::url(Display::return_icon('looknfeel.png', get_lang('Media')), 'media.php?' . api_get_cidreq());
// end question category
$actionsLeft .= '<a href="'.api_get_path(WEB_CODE_PATH).'exercise/hotpotatoes.php?'.api_get_cidreq().'">'.
Display::return_icon('import_hotpotatoes.png', get_lang('ImportHotPotatoesQuiz'), '', ICON_SIZE_MEDIUM).'</a>';
@ -612,6 +608,7 @@ if ($is_allowedToEdit) {
[6, 1, 5]
);
}
if (api_get_configuration_value('allow_exercise_categories') === false) {
echo Exercise::exerciseGrid(0, $keyword);
} else {

@ -889,8 +889,8 @@ if (!empty($groupList)) {
$groupTable->setCellContents($row, $column++, get_lang('Total'));
$groupTable->setCellContents($row, $column++, $totalTime);
$groupTable->setCellContents($row, $column++, $totalAverageTime);
$groupTable->setCellContents($row, $column++, round($totalLpProgress / count($groupList),2).'% ' );
$groupTable->setCellContents($row, $column++, round($totalBestScoreAverageNotInLP/ count($groupList), 2).'% ');
$groupTable->setCellContents($row, $column++, round($totalLpProgress / count($groupList), 2).'% ');
$groupTable->setCellContents($row, $column++, round($totalBestScoreAverageNotInLP / count($groupList), 2).'% ');
} else {
$userIdList = Session::read('user_id_list');

Loading…
Cancel
Save