2 echo $OUTPUT->header();
4 <div id=
"trustedhosts"><!-- See theme/standard/styles_layout.css #trustedhosts .generaltable for rules -->
5 <table cellspacing=
"0" cellpadding=
"5" class=
"generaltable generalbox" >
7 <th class=
"header c0" colspan=
"2"><?php print_string('trustedhosts', 'mnet'); ?></th>
10 <td class=
"cell c1" colspan=
"2"><?php print_string('trustedhostsexplain', 'mnet'); ?></td>
13 <td class=
"cell c1" colspan=
"2">
14 <form method=
"post" action=
"trustedhosts.php">
16 <input type=
"hidden" name=
"sesskey" value=
"<?php echo sesskey() ?>" />
17 <textarea name
="hostlist" cols
="40" rows
="20"><?php
echo $trusted_hosts; ?></textarea><br />
18 <input type=
"submit" value=
"<?php print_string('savechanges'); ?>" />
24 <table cellspacing
="0" cellpadding
="5" class="generaltable generalbox" >
26 <th
class="header c0" colspan
="2"><?php
print_string('testtrustedhosts', 'mnet'); ?></th>
29 if (!empty($test_ip_address)){
32 <td class=
"cell c1" colspan=
"2">
35 print_string('is_in_range', 'mnet', $test_ip_address);
37 print_string('validated_by', 'mnet', $validated_by);
39 print_string('not_in_range', 'mnet', $test_ip_address);
48 <td class=
"cell c1" colspan=
"2"><?php print_string('testtrustedhostsexplain', 'mnet'); ?></td>
54 <td class=
"cell c1" colspan=
"2">
55 <form method=
"get" action=
"trustedhosts.php">
57 <input type=
"hidden" name=
"sesskey" value=
"<?php echo sesskey() ?>" />
58 <input type
="text" name
="testipaddress" value
="<?php echo $test_ip_address; ?>" />
59 <input type
="submit" value
="<?php print_string('go'); ?>" />
67 echo $OUTPUT->footer();