Commit 2dd2fa1f authored by Franco Fichtner's avatar Franco Fichtner

Merge pull request #276 from fabianfrz/fix_firewall_log_dynamic

fixed issue also in dynamic view and corrected comment
parents b84506ac e99e5b9d
......@@ -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";
......
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment