diff options
author | jim-p <jimp@pfsense.org> | 2013-04-02 12:54:22 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2013-04-02 12:54:22 -0400 |
commit | 068e6891e2c2c03a427e477d03d309e1f9d47255 (patch) | |
tree | 8532efe60031c38c940963f4792cfcc9838d6b58 /usr | |
parent | 643bc7b01fc53409872728d0c1b2955cfe34bfcf (diff) | |
download | pfsense-068e6891e2c2c03a427e477d03d309e1f9d47255.zip pfsense-068e6891e2c2c03a427e477d03d309e1f9d47255.tar.gz |
Show a little indicator icon if the direction of a firewall log entry is OUT, rather than the usual 'in'. No indicator is shown for IN.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/diag_logs_filter.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/local/www/diag_logs_filter.php b/usr/local/www/diag_logs_filter.php index edb43ca..c24f67e 100755 --- a/usr/local/www/diag_logs_filter.php +++ b/usr/local/www/diag_logs_filter.php @@ -325,7 +325,11 @@ include("head.inc"); <img border="0" src="<?php echo find_action_image($filterent['act']);?>" width="11" height="11" align="middle" alt="<?php echo $filterent['act'];?>" title="<?php echo $filterent['act'];?>" /> <?php if ($filterent['count']) echo $filterent['count'];?></a></center></td> <td class="listMRr" nowrap="nowrap"><?php echo htmlspecialchars($filterent['time']);?></td> - <td class="listMRr" nowrap="nowrap"><?php echo htmlspecialchars($filterent['interface']);?></td> + <td class="listMRr" nowrap="nowrap"> + <?php if ($filterent['direction'] == "out"): ?> + <img border="0" src="/themes/<?= $g['theme']; ?>/images/icons/out.gif" alt="Direction=OUT" title="Direction=OUT"/> + <?php endif; ?> + <?php echo htmlspecialchars($filterent['interface']);?></td> <?php if ($config['syslog']['filterdescriptions'] === "1") echo("<td class=\"listMRr\" nowrap=\"nowrap\">".find_rule_by_number_buffer($filterent['rulenum'],$filterent['act'])."</td>"); |