diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-10-22 19:50:10 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-10-22 19:50:10 +0000 |
commit | 49770eac57a6df1a7250593cd317fa55f5b33957 (patch) | |
tree | 43b7bbc6b7ab2f6a41096c3a5d7c5e095e845781 /usr | |
parent | e24b26e9f125eb62ff878137df58bb1671c6002b (diff) | |
download | pfsense-49770eac57a6df1a7250593cd317fa55f5b33957.zip pfsense-49770eac57a6df1a7250593cd317fa55f5b33957.tar.gz |
MFC 7057
Show reject icons for rejected rules
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/diag_logs_filter.php | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/usr/local/www/diag_logs_filter.php b/usr/local/www/diag_logs_filter.php index 1a05b65..196ea04 100755 --- a/usr/local/www/diag_logs_filter.php +++ b/usr/local/www/diag_logs_filter.php @@ -152,11 +152,14 @@ include("head.inc"); </tr><?php foreach ($filterlog as $filterent): ?> <tr> <td class="listlr" nowrap align="middle"> + <center> <?php if (strstr(strtolower($filterent['act']), "p")) - $img = "/themes/".$g['theme']."/images/icons/icon_pass.gif"; - else - $img = "/themes/".$g['theme']."/images/icons/icon_block.gif"; - ?> + $img = "/themes/{$g['theme']}/images/icons/icon_pass.gif"; + else if(strstr(strtolower($filterent['act']), "r")) + $img = "/themes/{$g['theme']}/images/icons/icon_reject.gif"; + else + $img = "/themes/{$g['theme']}/images/icons/icon_block.gif"; + ?> <img src="<?=$img;?>" width="11" height="11" align="absmiddle"> <?php if ($filterent['count']) echo $filterent['count'];?></td> <td class="listr" nowrap><?=htmlspecialchars($filterent['time']);?></td> |