2 print_header("$site->shortname: $strmnetsettings", "$site->fullname",
3 '<a href="'.$CFG->wwwroot
.'/admin/index.php">'.$stradministration.'</a> -> '.
4 '<a href="'.$CFG->wwwroot
.'/admin/mnet/index.php">'.get_string('mnetsettings', 'mnet').'</a> -> Delete host');
6 print_heading(get_string('mnetsettings', 'mnet'));
8 <div id=
"trustedhosts"><!-- See theme/standard/styles_layout.css #trustedhosts .generaltable for rules -->
9 <table class=
"generalbox standard" border=
"0" cellpadding=
"5" cellspacing=
"0">
11 <td class=
"generalboxcontent">
12 <table cellpadding=
"9" cellspacing=
"0" >
14 <td colspan=
"2" class=
"header" cellpadding=
"0"><span><?php print_string('deleteaserver', 'mnet'); ?>Deleting a Server
</span></td>
17 if (count($warn) > 0){
20 <td align=
"right" colspan=
"2"><?php print_string('receivedwarnings','mnet'); ?>:
<br />
21 <?php foreach($warn as $warning) echo $warning .'<br />'; ?>
28 <td colspan=
"2"><?php print_string('reallydeleteserver','mnet'); ?>:
"<?php echo $mnet_peer->name; ?>"?
</td>
32 <form method=
"post" action=
"delete.php">
33 <input type=
"hidden" name=
"sesskey" value=
"<?php echo $USER->sesskey ?>" />
34 <input type
="hidden" name
="hostid" value
="<?php echo $mnet_peer->id; ?>" />
35 <input type
="hidden" name
="step" value
="delete" />
36 <input type
="submit" name
="submit" value
="<?php print_string('delete'); ?>"/>
40 <form method
="get" action
="index.php">
41 <input type
="submit" name
="ignore" value
="<?php print_string('cancel'); ?>"/>