|
|
|
|
@ -1,4 +1,5 @@ |
|
|
|
|
<?php |
|
|
|
|
|
|
|
|
|
/* For licensing terms, see /license.txt */ |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
@ -19,7 +20,7 @@ if (!$allowToTrack) { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
$nameTools = get_lang('Users'); |
|
|
|
|
$export_csv = isset($_GET['export']) && 'csv' == $_GET['export'] ? true : false; |
|
|
|
|
$export_csv = isset($_GET['export']) && 'csv' === $_GET['export'] ? true : false; |
|
|
|
|
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null; |
|
|
|
|
$active = isset($_GET['active']) ? intval($_GET['active']) : 1; |
|
|
|
|
$sleepingDays = isset($_GET['sleeping_days']) ? intval($_GET['sleeping_days']) : null; |
|
|
|
|
@ -41,7 +42,7 @@ if (isset($_GET["user_id"]) && $_GET["user_id"] != "" && !isset($_GET["type"])) |
|
|
|
|
]; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (isset($_GET["user_id"]) && $_GET["user_id"] != "" && isset($_GET["type"]) && $_GET["type"] == "coach") { |
|
|
|
|
if (isset($_GET["user_id"]) && $_GET["user_id"] != "" && isset($_GET["type"]) && $_GET["type"] === "coach") { |
|
|
|
|
$interbreadcrumb[] = ["url" => "coaches.php", "name" => get_lang('Tutors')]; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -118,7 +119,8 @@ function get_users($from, $limit, $column, $direction) |
|
|
|
|
$active, |
|
|
|
|
$lastConnectionDate, |
|
|
|
|
COURSEMANAGER, |
|
|
|
|
$keyword |
|
|
|
|
$keyword, |
|
|
|
|
true |
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|