Révision 9610936a
Ajouté par Colin Fleming il y a presque 10 ans
usr/local/www/diag_limiter_info.php | ||
---|---|---|
62 | 62 |
|
63 | 63 |
?> |
64 | 64 |
<body link="#0000CC" vlink="#0000CC" alink="#0000CC"> |
65 |
|
|
65 |
<?php include("fbegin.inc"); ?> |
|
66 | 66 |
<script type="text/javascript"> |
67 |
//<![CDATA[ |
|
67 | 68 |
function getlimiteractivity() { |
68 | 69 |
var url = "/diag_limiter_info.php"; |
69 | 70 |
var pars = 'getactivity=yes'; |
... | ... | |
76 | 77 |
}); |
77 | 78 |
} |
78 | 79 |
function activitycallback(transport) { |
79 |
jQuery('#limiteractivitydiv').html('<font face="Courier"><font size="2"><b><pre style="text-align:left;">' + transport.responseText + '</pre></font>');
|
|
80 |
setTimeout('getlimiteractivity()', 2000);
|
|
80 |
jQuery('#limiteractivitydiv').html('<font face="Courier" size="2"><pre style="text-align:left;">' + transport.responseText + '<\/pre><\/font>');
|
|
81 |
setTimeout('getlimiteractivity()', 2000); |
|
81 | 82 |
} |
82 |
setTimeout('getlimiteractivity()', 5000); |
|
83 |
setTimeout('getlimiteractivity()', 5000); |
|
84 |
//]]> |
|
83 | 85 |
</script> |
84 |
<div id='maincontent'>
|
|
86 |
<div id="maincontent">
|
|
85 | 87 |
<?php |
86 |
include("fbegin.inc"); |
|
87 | 88 |
if($savemsg) { |
88 |
echo "<div id='savemsg'>";
|
|
89 |
echo "<div id=\"savemsg\">";
|
|
89 | 90 |
print_info_box($savemsg); |
90 | 91 |
echo "</div>"; |
91 | 92 |
} |
92 | 93 |
if ($input_errors) |
93 | 94 |
print_input_errors($input_errors); |
94 | 95 |
?> |
95 |
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
|
96 |
<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="diag limiter info">
|
|
96 | 97 |
<tr> |
97 | 98 |
<td> |
98 |
<table id="backuptable" class="tabcont" align="center" width="100%" border="0" cellpadding="6" cellspacing="0"> |
|
99 |
<table id="backuptable" class="tabcont" align="center" width="100%" border="0" cellpadding="6" cellspacing="0" summary="tabcont">
|
|
99 | 100 |
<tr> |
100 |
<td> |
|
101 |
<center> |
|
102 |
<table> |
|
101 |
<td align="center"> |
|
102 |
<table summary="results"> |
|
103 | 103 |
<tr><td> |
104 |
<div name='limiteractivitydiv' id='limiteractivitydiv'>
|
|
105 |
<b><?=gettext("Gathering Limiter information, please wait...");?>
|
|
104 |
<div id="limiteractivitydiv">
|
|
105 |
<?=gettext("Gathering Limiter information, please wait...");?> |
|
106 | 106 |
</div> |
107 | 107 |
</td></tr> |
108 | 108 |
</table> |
109 | 109 |
</td> |
110 | 110 |
</tr> |
111 | 111 |
</table> |
112 |
</div> |
|
113 | 112 |
</td> |
114 | 113 |
</tr> |
115 | 114 |
</table> |
116 |
</form>
|
|
115 |
</div>
|
|
117 | 116 |
<?php include("fend.inc"); ?> |
118 | 117 |
</body> |
119 | 118 |
</html> |
Formats disponibles : Unified diff
Tidy up "diag_limiter.php" XHTML
Move PHP include FBEGIN between BODY and SCRIPT
Add CDATA sections to SCRIPTS
Merge "face" and "size" into on FONT tag and escape closing PRE and FONT
Add SUMMARY to TABLES
Remove NAME statement from DIV tag
Remove closing FORM tag and move closing DIV tag outside TABLE