MDL-11517 reserved word MOD used in table alias in questions backup code
[moodle-pu.git] / admin / mnet / delete.html
blob973231e4a56e2dee4662df68ef157ed25ccbcb29
1 <?php
2 $navlinks = array();
3 $navlinks[] = array('name' => $stradministration, 'link' => $CFG->wwwroot.'/admin/index.php', 'type' => 'misc');
4 $navlinks[] = array('name' => get_string('mnetsettings', 'mnet'), 'link' => $CFG->wwwroot.'/admin/mnet/index.php', 'type' => 'misc');
5 $navlinks[] = array('name' => get_string('deletehost', 'mnet'), 'link' => null, 'type' => 'misc');
6 $navigation = build_navigation($navlinks);
7 print_header("$site->shortname: $strmnetsettings", "$site->fullname", $navigation);
9 print_heading(get_string('mnetsettings', 'mnet'));
11 <div id="trustedhosts"><!-- See theme/standard/styles_layout.css #trustedhosts .generaltable for rules -->
12 <table class="generalbox standard" border="0" cellpadding="5" cellspacing="0">
13 <tr>
14 <td class="generalboxcontent">
15 <table cellpadding="9" cellspacing="0" >
16 <tr valign="top">
17 <td colspan="2" class="header" cellpadding="0"><span><?php print_string('deleteaserver', 'mnet'); ?>Deleting a Server</span></td>
18 </tr>
19 <?php
20 if (count($warn) > 0){
22 <tr valign="top">
23 <td align="right" colspan="2"><?php print_string('receivedwarnings','mnet'); ?>:<br />
24 <?php foreach($warn as $warning) echo $warning .'<br />'; ?>
25 </td>
26 </tr>
27 <?php
30 <tr valign="top">
31 <td colspan="2"><?php print_string('reallydeleteserver','mnet'); ?>: "<?php echo $mnet_peer->name; ?>"?</td>
32 </tr>
33 <tr valign="top">
34 <td width="80">
35 <form method="post" action="delete.php">
36 <input type="hidden" name="sesskey" value="<?php echo $USER->sesskey ?>" />
37 <input type="hidden" name="hostid" value="<?php echo $mnet_peer->id; ?>" />
38 <input type="hidden" name="step" value="delete" />
39 <input type="submit" name="submit" value="<?php print_string('delete'); ?>"/>
40 </form>
41 </td>
42 <td>
43 <form method="get" action="index.php">
44 <input type="submit" name="ignore" value="<?php print_string('cancel'); ?>"/>
45 </form>
46 </td>
47 </tr>
48 </table>
49 </td>
50 </tr>
51 </table>
52 </center>
53 <?php
54 print_footer();