91152a3518
Moved $action argument from arg5 to arg2
56 lines
2.5 KiB
HTML
56 lines
2.5 KiB
HTML
<?php
|
|
$PAGE->navbar->add($stradministration, new moodle_url($CFG->wwwroot.'/'.$CFG->admin.'/index.php'));
|
|
$PAGE->navbar->add(get_string('mnetsettings', 'mnet'), new moodle_url($CFG->wwwroot.'/'.$CFG->admin.'/mnet/index.php'));
|
|
$PAGE->navbar->add(get_string('deletehost', 'mnet'));
|
|
|
|
$PAGE->set_title("$site->shortname: $strmnetsettings");
|
|
$PAGE->set_heading($site->fullname);
|
|
echo $OUTPUT->header();
|
|
echo $OUTPUT->heading(get_string('mnetsettings', 'mnet'));
|
|
?>
|
|
<div id="trustedhosts"><!-- See theme/standard/styles_layout.css #trustedhosts .generaltable for rules -->
|
|
<table class="generalbox standard" border="0" cellpadding="5" cellspacing="0">
|
|
<tr>
|
|
<td class="generalboxcontent">
|
|
<table cellpadding="9" cellspacing="0" >
|
|
<tr valign="top">
|
|
<td colspan="2" class="header" cellpadding="0"><span><?php print_string('deleteaserver', 'mnet'); ?>Deleting a Server</span></td>
|
|
</tr>
|
|
<?php
|
|
if (count($warn) > 0){
|
|
?>
|
|
<tr valign="top">
|
|
<td align="right" colspan="2"><?php print_string('receivedwarnings','mnet'); ?>:<br />
|
|
<?php foreach($warn as $warning) echo $warning .'<br />'; ?>
|
|
</td>
|
|
</tr>
|
|
<?php
|
|
}
|
|
?>
|
|
<tr valign="top">
|
|
<td colspan="2"><?php print_string('reallydeleteserver','mnet'); ?>: "<?php echo $mnet_peer->name; ?>"?</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td width="80">
|
|
<form method="post" action="delete.php">
|
|
<input type="hidden" name="sesskey" value="<?php sesskey() ?>" />
|
|
<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>
|
|
<form method="get" action="index.php">
|
|
<input type="submit" name="ignore" value="<?php print_string('cancel'); ?>"/>
|
|
</form>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<?php
|
|
echo $OUTPUT->footer();
|
|
?>
|