Merge pull request #276 from fabianfrz/fix_firewall_log_dynamic

fixed issue also in dynamic view and corrected comment
This commit is contained in:
Franco Fichtner 2015-07-24 18:04:37 +02:00
commit 2dd2fa1f7b
2 changed files with 15 additions and 2 deletions

View File

@ -713,7 +713,7 @@ include("head.inc");
<td class="listMRlr nowrap" align="center" sorttable_customkey="<?=$filterent['act']?>">
<a onclick="javascript:getURL('diag_logs_filter.php?getrulenum=<?php echo "{$filterent['rulenum']},{$filterent['act']}"; ?>', outputrule);" title="<?php echo $filterent['act'];?>"><span class="glyphicon glyphicon-<?php switch ($filterent['act']) {
case 'pass':
echo "play"; /* icon for a tick */
echo "play"; /* icon triangle */
break;
case 'match':
echo "random";

View File

@ -126,7 +126,20 @@ include("head.inc");
$rowIndex++;?>
<tr class="<?=$evenRowClass?>">
<td class="listMRlr nowrap" align="center">
<a href="#" onclick="javascript:getURL('diag_logs_filter.php?getrulenum=<?php echo "{$filterent['rulenum']},{$filterent['act']}"; ?>', outputrule);" title="<?php echo $filterent['act'];?>"><span class="glyphicon glyphicon-remove"></span>
<a href="#" onclick="javascript:getURL('diag_logs_filter.php?getrulenum=<?php echo "{$filterent['rulenum']},{$filterent['act']}"; ?>', outputrule);" title="<?php echo $filterent['act'];?>"><span class="glyphicon glyphicon-<?php switch ($filterent['act']) {
case 'pass':
echo "play"; /* icon triangle */
break;
case 'match':
echo "random";
break;
case 'reject':
case 'block':
default:
echo 'remove'; /* a x*/
break;
}
?>"></span>
</a>
</td>
<td class="listMRr nowrap"><?php echo htmlspecialchars($filterent['time']);?></td>