mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
13 lines
410 B
PHP
13 lines
410 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 (!empty($CFG->enablestats)) {
|
|
echo '<p style="text-align:center;">';
|
|
echo '<a href="'.$CFG->wwwroot.'/course/report/stats/index.php?course='.$course->id.'">'.get_string('stats').'</a>';
|
|
echo '</p>';
|
|
}
|
|
?>
|