2 // Display all the reports available in admin/report
4 require_once('../config.php');
7 error("You are not allowed to look at this page");
10 $stradmin = get_string('administration');
11 $strreports = get_string('reports');
12 $strmisc = get_string('miscellaneous');
14 print_header($strreports, $strreports,
15 '<a href="index.php">'.$stradmin.'</a> -> <a href="misc.php">'.$strmisc.'</a> ->'.
18 $directories = get_list_of_plugins('admin/report');
20 foreach ($directories as $directory) {
21 echo '<div class="plugin '.$directory.'">';
22 include_once($CFG->dirroot
.'/admin/report/'.$directory.'/mod.php'); // Fragment for listing