Project

General

Profile

« Previous | Next » 

Revision e97076a5

Added by Scott Ullrich almost 16 years ago

Add Reload button

View differences:

usr/local/www/diag_showbogons.php
36 36

  
37 37
require("guiconfig.inc");
38 38

  
39
$bogons = `cat /etc/bogons`;
39
if($_POST['Reload']) {
40
	exec("/etc/rc.update_bogons.sh donotsleep");
41
}
40 42

  
43
$bogons = `cat /etc/bogons`;
41 44
$pgtitle = "Diagnostics: Show Bogons";
42 45

  
43 46
include("head.inc");
47
include("fbegin.inc");
44 48

  
45
include("fbegin.inc"); 
46 49
?>
47 50
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
48 51
<style type="text/css">
49 52
body { font-family: Verdana; font-size: 100%; }
50 53
pre { font-size: 1.15em; }
51 54
</style> 
55
<form method="post" action="diag_showbogons.php">
52 56
<table width="100%" border="0" cellpadding="0" cellspacing="0">  
53 57
  <tr>
54 58
    <td>
......
73 77
    </td>
74 78
  </tr>
75 79
</table>
80
<br/>
81
<input type="submit" name="Reload" value="Reload"> bogons table.
76 82
</form>
77 83
<?php include("fend.inc"); ?>
78 84
</body>

Also available in: Unified diff