Révision 7442b5c6
Ajouté par Colin Fleming il y a presque 10 ans
usr/local/www/diag_pf_info.php | ||
---|---|---|
59 | 59 |
|
60 | 60 |
?> |
61 | 61 |
<body link="#0000CC" vlink="#0000CC" alink="#0000CC"> |
62 |
<?php include("fbegin.inc"); ?> |
|
62 | 63 |
<script type="text/javascript"> |
63 | 64 |
jQuery(document).ready(function() {setTimeout('getpfinfo()', 5000);}); |
65 |
//<![CDATA[ |
|
64 | 66 |
function getpfinfo() { |
65 | 67 |
jQuery.ajax({ |
66 | 68 |
type: "POST", |
... | ... | |
71 | 73 |
}); |
72 | 74 |
} |
73 | 75 |
function activitycallback(transport) { |
74 |
jQuery('#pfactivitydiv').html('<font face="Courier"><font size="2"><b><pre style="text-align:left;">' + transport.responseText + '</pre></font>');
|
|
76 |
jQuery('#pfactivitydiv').html('<font face="Courier" size="2"><pre style="text-align:left;">' + transport.responseText + '<\/pre><\/font>');
|
|
75 | 77 |
setTimeout('getpfinfo()', 2000); |
76 | 78 |
} |
79 |
//]]> |
|
77 | 80 |
</script> |
78 |
<div id='maincontent'>
|
|
81 |
<div id="maincontent">
|
|
79 | 82 |
<?php |
80 |
include("fbegin.inc"); |
|
81 | 83 |
if($savemsg) { |
82 |
echo "<div id='savemsg'>";
|
|
84 |
echo "<div id=\"savemsg\">";
|
|
83 | 85 |
print_info_box($savemsg); |
84 | 86 |
echo "</div>"; |
85 | 87 |
} |
86 | 88 |
if ($input_errors) |
87 | 89 |
print_input_errors($input_errors); |
88 | 90 |
?> |
89 |
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
|
91 |
<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="diag pf info">
|
|
90 | 92 |
<tr> |
91 | 93 |
<td> |
92 |
<table id="backuptable" class="tabcont" align="center" width="100%" border="0" cellpadding="6" cellspacing="0"> |
|
94 |
<table id="backuptable" class="tabcont" align="center" width="100%" border="0" cellpadding="6" cellspacing="0" summary="tabcont">
|
|
93 | 95 |
<tr> |
94 |
<td> |
|
95 |
<center> |
|
96 |
<table> |
|
96 |
<td align="center"> |
|
97 |
<table summary="results"> |
|
97 | 98 |
<tr><td> |
98 |
<div name='pfactivitydiv' id='pfactivitydiv'>
|
|
99 |
<b><?=gettext("Gathering PF information, please wait...");?>
|
|
99 |
<div id="pfactivitydiv">
|
|
100 |
<?=gettext("Gathering PF information, please wait...");?> |
|
100 | 101 |
</div> |
101 | 102 |
</td></tr> |
102 | 103 |
</table> |
103 | 104 |
</td> |
104 | 105 |
</tr> |
105 | 106 |
</table> |
106 |
</div> |
|
107 | 107 |
</td> |
108 | 108 |
</tr> |
109 | 109 |
</table> |
110 |
</form>
|
|
110 |
</div>
|
|
111 | 111 |
<?php include("fend.inc"); ?> |
112 | 112 |
</body> |
113 | 113 |
</html> |
Formats disponibles : Unified diff
test