summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNOYB <Al_Stu@Frontier.com>2015-12-14 10:55:45 -0800
committerNOYB <Al_Stu@Frontier.com>2015-12-14 10:55:45 -0800
commit90bce3f49468a7286af562b5d6253c4a8001fbab (patch)
tree43247cab63ccb213a68cc06fe13dc357b3ed9350
parent29125e6c4425fb6fffbe751f0226398e5c00776b (diff)
downloadpfsense-90bce3f49468a7286af562b5d6253c4a8001fbab.zip
pfsense-90bce3f49468a7286af562b5d6253c4a8001fbab.tar.gz
HTML Compliance - Status - System Logs - Firewall
Remove placeholder value from actpass and actblock checkboxes. Remove alt attribute from i tags. Replace href i tags with a tags. Combine a duplicate class section.
-rw-r--r--src/usr/local/www/status_logs_filter.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/usr/local/www/status_logs_filter.php b/src/usr/local/www/status_logs_filter.php
index d009f3e..b4bbb09 100644
--- a/src/usr/local/www/status_logs_filter.php
+++ b/src/usr/local/www/status_logs_filter.php
@@ -425,7 +425,7 @@ if (!$rawfilter) { // Advanced log filter form
$group->add(new Form_Checkbox(
'actpass',
- 'Pass',
+ null,
'Pass',
in_arrayi('Pass', $Include_Act),
'Pass'
@@ -466,7 +466,7 @@ if (!$rawfilter) { // Advanced log filter form
$group->add(new Form_Checkbox(
'actblock',
- 'Block',
+ null,
'Block',
in_arrayi('Block', $Include_Act),
'Block'
@@ -659,20 +659,20 @@ if (!$rawfilter) {
$dst_htmlclass = str_replace(array('.', ':'), '-', $filterent['dstip']);
?>
<td style="white-space:nowrap;">
- <i class="fa fa-info icon-pointer icon-primary" onclick="javascript:resolve_with_ajax('<?="{$filterent['srcip']}"; ?>');" title="<?=gettext("Click to resolve")?>" alt="Reverse Resolve with DNS"/>
+ <i class="fa fa-info icon-pointer icon-primary" onclick="javascript:resolve_with_ajax('<?="{$filterent['srcip']}"; ?>');" title="<?=gettext("Click to resolve")?>">
</i>
- <i class="fa fa-minus-square-o icon-pointer icon-primary" href="easyrule.php?<?="action=block&amp;int={$int}&amp;src={$filterent['srcip']}&amp;ipproto={$ipproto}"; ?>" alt="Easy Rule: Add to Block List" title="<?=gettext("Easy Rule: Add to Block List")?>" onclick="return confirm('<?=gettext("Do you really want to add this BLOCK rule?")?>')">
- </i>
+ <a class="fa fa-minus-square-o icon-pointer icon-primary" href="easyrule.php?<?="action=block&amp;int={$int}&amp;src={$filterent['srcip']}&amp;ipproto={$ipproto}"; ?>" title="<?=gettext("Easy Rule: Add to Block List")?>" onclick="return confirm('<?=gettext("Do you really want to add this BLOCK rule?")?>')">
+ </a>
<?=$srcstr . '<span class="RESOLVE-' . $src_htmlclass . '"></span>'?>
</td>
<td style="white-space:nowrap;">
- <i class="fa fa-info icon-pointer icon-primary" onclick="javascript:resolve_with_ajax('<?="{$filterent['dstip']}"; ?>');" title="<?=gettext("Click to resolve")?>" class="ICON-<?= $dst_htmlclass; ?>" alt="Reverse Resolve with DNS"/>
+ <i class="fa fa-info icon-pointer icon-primary; ICON-<?= $dst_htmlclass; ?>" onclick="javascript:resolve_with_ajax('<?="{$filterent['dstip']}"; ?>');" title="<?=gettext("Click to resolve")?>">
</i>
- <i class="fa fa-plus-square-o icon-pointer icon-primary" href="easyrule.php?<?="action=pass&amp;int={$int}&amp;proto={$proto}&amp;src={$filterent['srcip']}&amp;dst={$filterent['dstip']}&amp;dstport={$filterent['dstport']}&amp;ipproto={$ipproto}"; ?>" title="<?=gettext("Easy Rule: Pass this traffic")?>" onclick="return confirm('<?=gettext("Do you really want to add this PASS rule?")?>')">
- </i>
+ <a class="fa fa-plus-square-o icon-pointer icon-primary" href="easyrule.php?<?="action=pass&amp;int={$int}&amp;proto={$proto}&amp;src={$filterent['srcip']}&amp;dst={$filterent['dstip']}&amp;dstport={$filterent['dstport']}&amp;ipproto={$ipproto}"; ?>" title="<?=gettext("Easy Rule: Pass this traffic")?>" onclick="return confirm('<?=gettext("Do you really want to add this PASS rule?")?>')">
+ </a>
<?=$dststr . '<span class="RESOLVE-' . $dst_htmlclass . '"></span>'?>
</td>
<?php
OpenPOWER on IntegriCloud