mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Modified sintaxes on diag_dns.php and diag_dump_states.php
This commit is contained in:
parent
5463dd9f77
commit
a11ee3cf4f
@ -124,7 +124,7 @@ include("head.inc"); ?>
|
||||
<b><?=gettext("Server");?></b>
|
||||
</td>
|
||||
<td>
|
||||
<b><?=gettext("Query time);></b>
|
||||
<b><?=gettext("Query time");></b>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
@ -155,7 +155,7 @@ include("head.inc"); ?>
|
||||
<p/>
|
||||
<?=gettext("NOTE: The following links are to external services, so their reliability cannot be guaranteed.");?><br/><br/>
|
||||
<a target="_new" href="http://private.dnsstuff.com/tools/whois.ch?ip=<?php echo $ipaddr; ?>"><?=gettext("IP WHOIS @ DNS Stuff");?></a><br />
|
||||
<a target="_new" href="http://private.dnsstuff.com/tools/ipall.ch?ip=<?php echo $ipaddr; ?>"><?=gettext("IP Info @ DNS Stuff);?></a>
|
||||
<a target="_new" href="http://private.dnsstuff.com/tools/ipall.ch?ip=<?php echo $ipaddr; ?>"><?=gettext("IP Info @ DNS Stuff");?></a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
|
||||
@ -172,26 +172,26 @@ if(count($states) > 0) {
|
||||
$parts = split(":", $ends[count($ends) - 1]);
|
||||
$dstip = trim($parts[0]);
|
||||
|
||||
echo "<tr valign='top' name='r:{$srcip}:{$dstip}'>
|
||||
echo "<tr valign='top' name='r:{$srcip}:{$dstip}'>"
|
||||
<td class='listlr'>{$proto}</td>
|
||||
<td class='listr'>{$info}</td>
|
||||
<td class='listr'>{$state}</td>
|
||||
<td class='list'>
|
||||
<img src='/themes/{$g['theme']}/images/icons/icon_x.gif' height='17' width='17' border='0'
|
||||
onclick=\"removeState('{$srcip}', '{$dstip}');\" style='cursor:pointer;'
|
||||
onclick="removeState('{$srcip}', '{$dstip}');" style='cursor:pointer;'
|
||||
name='i:{$srcip}:{$dstip}'
|
||||
title='" . gettext("Remove all state entries from") . " {$srcip} " . gettext("to") . " {$dstip}' alt='' />
|
||||
</td>
|
||||
</tr>";
|
||||
</tr>;
|
||||
$row++;
|
||||
}
|
||||
}
|
||||
else {
|
||||
echo "<tr>
|
||||
echo "<tr>"
|
||||
<td class='list' colspan='4' align='center' valign='top'>
|
||||
" . gettext("No states were found.") . "
|
||||
</td>
|
||||
</tr>";
|
||||
</tr>;
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user