Projet

Général

Profil

« Précédent | Suivant » 

Révision a2b16c0c

Ajouté par Colin Fleming il y a presque 10 ans

Tidy up "diag_dump_states" and "diag_resetstat"

Add CDATA sections to SCRIPTS
Add SUMMARY to TABLES
Add missing closing FORM tag
Update HTML Boolean operators
Close INPUT tags

Voir les différences:

usr/local/www/diag_dump_states.php
74 74
<form action="diag_dump_states.php" method="get" name="iform">
75 75

  
76 76
<script type="text/javascript">
77
//<![CDATA[
77 78
	function removeState(srcip, dstip) {
78 79
		var busy = function(index,icon) {
79 80
			jQuery(icon).bind("onclick","");
......
101 102
			function(index,row) { jQuery(row).fadeOut(1000); }
102 103
		);
103 104
	}
105
//]]>
104 106
</script>
105 107

  
106
<table width="100%" border="0" cellpadding="0" cellspacing="0">
108
<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="tabcon">
107 109
	<tr>
108 110
		<td>
109 111
		<?php
......
126 128
	$current_statecount=`pfctl -si | grep "current entries" | awk '{ print $3 }'`;
127 129
?>
128 130

  
129
<table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0">
131
<table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0" summary="states">
130 132
	<tr>
131 133
		<td>
132 134
			<form action="<?=$_SERVER['SCRIPT_NAME'];?>" method="get">
133
			<table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0">
135
			<table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0" summary="filter">
134 136
				<tr>
135 137
					<td>
136 138
						<?=gettext("Current total state count");?>: <?= $current_statecount ?>
......
150 152
	</tr>
151 153
	<tr>
152 154
		<td>
153
			<table class="tabcont sortable" width="100%" border="0" cellspacing="0" cellpadding="0">
155
			<table class="tabcont sortable" width="100%" border="0" cellspacing="0" cellpadding="0" summary="results">
154 156
				<thead>
155 157
				<tr>
156 158
					<th class="listhdrr" width="10%"><?=gettext("Proto");?></th>
......
183 185
	$dstip = trim($parts[0]);
184 186

  
185 187
?>
186
	<tr valign="top" name="r:<?= $srcip ?>:<?= $dstip ?>">
188
	<tr valign="top" id="r:<?= $srcip ?>:<?= $dstip ?>">
187 189
			<td class="listlr"><?= $proto ?></td>
188 190
			<td class="listr"><?= $info ?></td>
189 191
			<td class="listr"><?= $state ?></td>
......
227 229
	</td>
228 230
  </tr>
229 231
</table>
232
</form>
230 233

  
231 234
<?php require("fend.inc"); ?>
232 235
</body>

Formats disponibles : Unified diff