diff options
author | NOYB <Al_Stu@Frontier.com> | 2015-12-14 10:55:45 -0800 |
---|---|---|
committer | NOYB <Al_Stu@Frontier.com> | 2015-12-14 10:55:45 -0800 |
commit | 90bce3f49468a7286af562b5d6253c4a8001fbab (patch) | |
tree | 43247cab63ccb213a68cc06fe13dc357b3ed9350 | |
parent | 29125e6c4425fb6fffbe751f0226398e5c00776b (diff) | |
download | pfsense-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.php | 16 |
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&int={$int}&src={$filterent['srcip']}&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&int={$int}&src={$filterent['srcip']}&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&int={$int}&proto={$proto}&src={$filterent['srcip']}&dst={$filterent['dstip']}&dstport={$filterent['dstport']}&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&int={$int}&proto={$proto}&src={$filterent['srcip']}&dst={$filterent['dstip']}&dstport={$filterent['dstport']}&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 |