3 // This file defines settingpages and externalpages under the "mnet" category
5 if ($hassiteconfig) { // speedup for non-admins, add all caps used on this page
8 $ADMIN->add('mnet', new admin_externalpage('net', get_string('settings', 'mnet'),
9 "$CFG->wwwroot/$CFG->admin/mnet/index.php",
10 'moodle/site:config'));
12 $ADMIN->add('mnet', new admin_externalpage('mnetpeers', get_string('mnetpeers', 'mnet'),
13 "$CFG->wwwroot/$CFG->admin/mnet/peers.php",
14 'moodle/site:config'));
15 $ADMIN->add('mnet', new admin_externalpage('ssoaccesscontrol', get_string('ssoaccesscontrol', 'mnet'),
16 "$CFG->wwwroot/$CFG->admin/mnet/access_control.php",
17 'moodle/site:config'));
18 $ADMIN->add('mnet', new admin_externalpage('mnetenrol', get_string('mnetenrol', 'mnet'),
19 "$CFG->wwwroot/$CFG->admin/mnet/enr_hosts.php",
20 'moodle/site:config'));
21 $ADMIN->add('mnet', new admin_externalpage('trustedhosts', get_string('trustedhosts', 'mnet'),
22 "$CFG->wwwroot/$CFG->admin/mnet/trustedhosts.php",
23 'moodle/site:config'));