Revision f8ec8de4
Added by Renato Botelho about 15 years ago
usr/local/www/diag_dump_states.php | ||
---|---|---|
50 | 50 |
$retval = mwexec("/sbin/pfctl -k '{$srcip}' -k '{$dstip}'"); |
51 | 51 |
echo htmlentities("|{$srcip}|{$dstip}|{$retval}|"); |
52 | 52 |
} else { |
53 |
echo "invalid input";
|
|
53 |
echo gettext("invalid input");
|
|
54 | 54 |
} |
55 | 55 |
exit; |
56 | 56 |
} |
... | ... | |
132 | 132 |
<form action="<?=$_SERVER['SCRIPT_NAME'];?>" method="get"> |
133 | 133 |
<table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0"> |
134 | 134 |
<tr> |
135 |
<td>Current state count: <?=$current_statecount?></td>
|
|
135 |
<td><?=gettext("Current state count");?>: <?=$current_statecount?></td>
|
|
136 | 136 |
<td style="font-weight:bold;" align="right"> |
137 | 137 |
<?=gettext("Filter expression");?>: |
138 | 138 |
<input type="text" name="filter" class="formfld search" value="<?=$_GET['filter'];?>" size="30" /> |
Also available in: Unified diff
Sync with mainline, diag_* files were missing