2 echo $OUTPUT->header();
3 echo $OUTPUT->render(mnet_get_deprecation_notice());
5 <div id=
"trustedhosts"><!-- See theme/standard/styles_layout.css #trustedhosts .generaltable for rules -->
6 <table cellspacing=
"0" cellpadding=
"5" class=
"generaltable generalbox" >
8 <th class=
"header c0" colspan=
"2"><?php print_string('trustedhosts', 'mnet'); ?></th>
11 <td class=
"cell c1" colspan=
"2"><?php print_string('trustedhostsexplain', 'mnet'); ?></td>
14 <td class=
"cell c1" colspan=
"2">
15 <form method=
"post" action=
"trustedhosts.php">
17 <input type=
"hidden" name=
"sesskey" value=
"<?php echo sesskey() ?>" />
18 <textarea name
="hostlist" cols
="40" rows
="20"><?php
echo $trusted_hosts; ?></textarea><br />
19 <input type=
"submit" value=
"<?php print_string('savechanges'); ?>" />
25 <table cellspacing
="0" cellpadding
="5" class="generaltable generalbox" >
27 <th
class="header c0" colspan
="2"><?php
print_string('testtrustedhosts', 'mnet'); ?></th>
30 if (!empty($test_ip_address)){
33 <td class=
"cell c1" colspan=
"2">
36 print_string('is_in_range', 'mnet', $test_ip_address);
38 print_string('validated_by', 'mnet', $validated_by);
40 print_string('not_in_range', 'mnet', $test_ip_address);
49 <td class=
"cell c1" colspan=
"2"><?php print_string('testtrustedhostsexplain', 'mnet'); ?></td>
55 <td class=
"cell c1" colspan=
"2">
56 <form method=
"get" action=
"trustedhosts.php">
58 <input type=
"hidden" name=
"sesskey" value=
"<?php echo sesskey() ?>" />
59 <input type
="text" name
="testipaddress" value
="<?php echo $test_ip_address; ?>" />
60 <input type
="submit" value
="<?php print_string('go'); ?>" />
68 echo $OUTPUT->footer();