// Edit data for a course => courses_edit.php // Edit data for a course => courses_edit.php case isset($path[1]) && $path[1] == "edit": if (!$portal_user->is_logged_in()) { throw new Exception("Access denied. Please login.", E_USER_AUTHORIZATION); } include "courses_edit.php"; exit; break; // Overview of participants => groups_members.php // Overview of participants => groups_members.php case isset($path[1]) && $path[1] == "learners" && empty($path[2]): if (!$portal_user->is_logged_in()) { throw new Exception("Access denied. Please login.", E_USER_AUTHORIZATION); } if ($group->is_member($user) || $group->is_admin($user)) { include "groups_members.php"; exit; } else { throw new Exception("No rights to view this.", E_USER_RIGHTS); } break; // Excel-table of participants => groups_members_excel.php // Excel-table of participants => groups_members_excel.php case isset($path[1]) && $path[1] == "learners" && isset($path[2]) && $path[2] == "excel": if (!$portal_user->is_logged_in()) { throw new Exception("Access denied. Please login.", E_USER_AUTHORIZATION); } if ($group->is_admin($user)) { include "groups_members_excel.php"; exit;