Kumi
f89cf45a8e
Introduces a new report to display grades for selected users. Includes a user selection form and grade display logic. Sets up plugin metadata and localization strings. Enables administrators to view a user's grades across courses. Includes default plugin settings and version information.
6 lines
289 B
PHP
6 lines
289 B
PHP
<?php
|
|
defined('MOODLE_INTERNAL') || die();
|
|
|
|
if ($hassiteconfig) { // Needs this condition or there is error on login page
|
|
$ADMIN->add('reports', new admin_externalpage('report_usergrades', get_string('pluginname', 'report_usergrades'), "$CFG->wwwroot/report/usergrades/index.php"));
|
|
}
|