libdir.'/adminlib.php'); admin_externalpage_setup('mnetenrol'); $CFG->pagepath = 'admin/mnet'; require_once("$CFG->dirroot/enrol/enrol.class.php"); /// Open the factory class $enrolment = enrolment_factory::factory('mnet'); /// Otherwise fill and print the form. /// get language strings admin_externalpage_print_header(); print_box(get_string("remoteenrolhosts_desc", "mnet")); echo '
'.get_string('host', 'mnet').' | ' . ''.get_string('enrolments', 'mnet').' | ' . ''.get_string('courses', 'mnet').' | ' // . '' . ' |
---|---|---|---|
{$host->name} | " . "$enrolcount | " . "$coursecount - ".get_string('editenrolments', 'mnet')." | " // TODO: teach report/log/index.php to show per-host-logs // . '' // . get_string('logs', 'mnet').' | ' . '