2007-01-04 02:33:51 +00:00
|
|
|
<?php
|
2007-08-17 07:25:47 +00:00
|
|
|
$navlinks = array();
|
2007-12-19 17:35:20 +00:00
|
|
|
$navlinks[] = array('name' => $stradministration, 'link' => "$CFG->wwwroot/$CFG->admin/index.php", 'type' => 'misc');
|
|
|
|
$navlinks[] = array('name' => get_string('mnetsettings', 'mnet'), 'link' => "$CFG->wwwroot/$CFG->admin/mnet/index.php", 'type' => 'misc');
|
2007-08-17 07:25:47 +00:00
|
|
|
$navlinks[] = array('name' => get_string('deletehost', 'mnet'), 'link' => null, 'type' => 'misc');
|
|
|
|
$navigation = build_navigation($navlinks);
|
|
|
|
print_header("$site->shortname: $strmnetsettings", "$site->fullname", $navigation);
|
2007-01-04 02:33:51 +00:00
|
|
|
|
|
|
|
print_heading(get_string('mnetsettings', 'mnet'));
|
|
|
|
?>
|
2007-04-13 07:03:04 +00:00
|
|
|
<div id="trustedhosts"><!-- See theme/standard/styles_layout.css #trustedhosts .generaltable for rules -->
|
|
|
|
<table class="generalbox standard" border="0" cellpadding="5" cellspacing="0">
|
2007-01-04 02:33:51 +00:00
|
|
|
<tr>
|
|
|
|
<td class="generalboxcontent">
|
|
|
|
<table cellpadding="9" cellspacing="0" >
|
|
|
|
<tr valign="top">
|
2007-01-05 05:58:39 +00:00
|
|
|
<td colspan="2" class="header" cellpadding="0"><span><?php print_string('deleteaserver', 'mnet'); ?>Deleting a Server</span></td>
|
2007-01-04 02:33:51 +00:00
|
|
|
</tr>
|
|
|
|
<?php
|
2007-04-13 07:03:04 +00:00
|
|
|
if (count($warn) > 0){
|
2007-01-04 02:33:51 +00:00
|
|
|
?>
|
|
|
|
<tr valign="top">
|
2007-01-05 05:58:39 +00:00
|
|
|
<td align="right" colspan="2"><?php print_string('receivedwarnings','mnet'); ?>:<br />
|
2007-01-04 02:33:51 +00:00
|
|
|
<?php foreach($warn as $warning) echo $warning .'<br />'; ?>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<?php
|
2007-04-13 07:03:04 +00:00
|
|
|
}
|
2007-01-04 02:33:51 +00:00
|
|
|
?>
|
|
|
|
<tr valign="top">
|
2007-01-05 05:58:39 +00:00
|
|
|
<td colspan="2"><?php print_string('reallydeleteserver','mnet'); ?>: "<?php echo $mnet_peer->name; ?>"?</td>
|
2007-01-04 02:33:51 +00:00
|
|
|
</tr>
|
|
|
|
<tr valign="top">
|
|
|
|
<td width="80">
|
2007-01-04 23:59:55 +00:00
|
|
|
<form method="post" action="delete.php">
|
2009-01-02 10:36:25 +00:00
|
|
|
<input type="hidden" name="sesskey" value="<?php sesskey() ?>" />
|
2007-01-04 02:33:51 +00:00
|
|
|
<input type="hidden" name="hostid" value="<?php echo $mnet_peer->id; ?>" />
|
|
|
|
<input type="hidden" name="step" value="delete" />
|
|
|
|
<input type="submit" name="submit" value="<?php print_string('delete'); ?>"/>
|
|
|
|
</form>
|
|
|
|
</td>
|
|
|
|
<td>
|
2007-01-04 23:59:55 +00:00
|
|
|
<form method="get" action="index.php">
|
2007-01-04 02:33:51 +00:00
|
|
|
<input type="submit" name="ignore" value="<?php print_string('cancel'); ?>"/>
|
|
|
|
</form>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
2008-02-05 09:58:05 +00:00
|
|
|
</div>
|
2007-01-04 02:33:51 +00:00
|
|
|
<?php
|
|
|
|
print_footer();
|
|
|
|
?>
|