mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
15 lines
497 B
PHP
15 lines
497 B
PHP
<?php // $Id$
|
|
|
|
if (!defined('MOODLE_INTERNAL')) {
|
|
die('Direct access to this script is forbidden.'); /// It must be included from a Moodle page
|
|
}
|
|
|
|
if (has_capability('coursereport/participation:view', $context)) {
|
|
echo '<p>';
|
|
$participationreport = get_string('participationreport');
|
|
echo "<a href=\"{$CFG->wwwroot}/course/report/participation/index.php?id={$course->id}\">";
|
|
echo "$participationreport</a>\n";
|
|
echo '</p>';
|
|
}
|
|
?>
|