diff --git a/public/main/inc/ajax/statistics.ajax.php b/public/main/inc/ajax/statistics.ajax.php index 7504b8dbdf..7bfa5666f1 100644 --- a/public/main/inc/ajax/statistics.ajax.php +++ b/public/main/inc/ajax/statistics.ajax.php @@ -205,7 +205,7 @@ switch ($action) { } elseif ('courses' == $action) { $courseCategoryRepo = Container::getCourseCategoryRepository(); $categories = $courseCategoryRepo->findAll(); - $statsName = 'CountCours'; + $statsName = 'Total number of courses'; // total amount of courses $all = []; foreach ($categories as $category) { @@ -213,7 +213,7 @@ switch ($action) { $all[$category->getTitle()] = $category->getCourses()->count(); } } elseif ('courses_by_language' == $action) { - $statsName = 'CountCourseByLanguage'; + $statsName = 'Count course by language'; $all = Statistics::printCourseByLanguageStats(); // use slightly different colors than previous chart for ($k = 0; $k < 3; $k++) { @@ -221,7 +221,7 @@ switch ($action) { array_push($palette, $item); } } elseif ('users' == $action) { - $statsName = 'NumberOfUsers'; + $statsName = 'Number of users'; $countInvisible = isset($_GET['count_invisible']) ? (int) $_GET['count_invisible'] : null; $all = [ get_lang('Trainers') => Statistics::countUsers(COURSEMANAGER, null, $countInvisible), @@ -286,7 +286,7 @@ switch ($action) { $list = []; $palette = ChamiloApi::getColorPalette(true, true); - $statsName = 'NumberOfUsers'; + $statsName = 'Number of users'; $filter = $_REQUEST['filter']; $startDate = $_REQUEST['date_start']; @@ -617,7 +617,7 @@ switch ($action) { $list = []; $palette = ChamiloApi::getColorPalette(true, true); - $statsName = 'NumberOfUsers'; + $statsName = 'Number of users'; $filter = $_REQUEST['filter']; $startDate = Database::escape_string($_REQUEST['date_start']); diff --git a/public/main/my_space/myStudents.php b/public/main/my_space/myStudents.php index 69fca2ae0e..d20d5f766d 100644 --- a/public/main/my_space/myStudents.php +++ b/public/main/my_space/myStudents.php @@ -2032,7 +2032,7 @@ if (empty($details)) { $i++; } } else { - echo '