adding some strings
[moodle-linuxchix.git] / course / report / stats / mod.php
blob1f305d42c464af64ce34e0dec44b75a7a1fc4ba0
1 <?php //$Id$
3 if (!defined('MOODLE_INTERNAL')) {
4 die('Direct access to this script is forbidden.'); /// It must be included from a Moodle page
7 if (!empty($CFG->enablestats)) {
8 echo '<p>';
9 echo '<a href="'.$CFG->wwwroot.'/course/report/stats/index.php?course='.$course->id.'">'.get_string('stats').'</a>';
10 echo '</p>';
11 } else {
12 echo '<p>';
13 echo get_string('statsoff');
14 echo '</p>';