2 admin_externalpage_print_header($adminroot);
5 <table cellspacing=
"0" cellpadding=
"5" width=
"500" id=
"hosts" class=
"generaltable generalbox" >
7 <th class=
"header c0" nowrap=
"nowrap" 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"><form method=
"post" action=
"trustedhosts.php">
14 <input type=
"hidden" name=
"sesskey" value=
"<?php echo $USER->sesskey ?>" />
15 <textarea name
="hostlist" cols
="40" rows
="20"><?php
echo $trusted_hosts; ?></textarea><br />
16 <input type=
"submit" value=
"<?php print_string('savechanges'); ?>" />
21 <table cellspacing
="0" cellpadding
="5" width
="500" id
="hosts" class="generaltable generalbox" >
23 <th
class="header c0" nowrap
="nowrap" colspan
="2"><?php
print_string('testtrustedhosts', 'mnet'); ?></th>
26 if (!empty($test_ip_address)):
29 <td class=
"cell c1" colspan=
"2">
32 print_string('is_in_range', 'mnet', $test_ip_address);
34 print_string('validated_by', 'mnet', $validated_by);
36 print_string('not_in_range', 'mnet', $test_ip_address);
45 <td class=
"cell c1" colspan=
"2"><?php print_string('testtrustedhostsexplain', 'mnet'); ?></td>
51 <td class=
"cell c1" colspan=
"2"><form method=
"get" action=
"trustedhosts.php">
52 <input type=
"hidden" name=
"sesskey" value=
"<?php echo $USER->sesskey ?>" />
53 <input type
="text" name
="testipaddress" value
="<?php echo $test_ip_address; ?>" />
54 <input type
="submit" value
="<?php print_string('go'); ?>" />
61 admin_externalpage_print_footer($adminroot);