summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_rules.php
diff options
context:
space:
mode:
authorColin Fleming <cj_fleming@sky.com>2014-05-16 20:46:31 +0100
committerColin Fleming <cj_fleming@sky.com>2014-05-16 20:46:31 +0100
commitc739be2cf485e3ca36c885002005804a2315c14b (patch)
treed85ae441694efbdff47c851e0a7c8068344b26a0 /usr/local/www/firewall_rules.php
parent024068017f98572f6bd41b7ba542fc36fccee39a (diff)
downloadpfsense-c739be2cf485e3ca36c885002005804a2315c14b.zip
pfsense-c739be2cf485e3ca36c885002005804a2315c14b.tar.gz
Add "match" to floating rules
Add "match" to floating rules as proposed in the forums https://forum.pfsense.org/index.php?topic=76611.0 Remove Windows Thumbnail cache files
Diffstat (limited to 'usr/local/www/firewall_rules.php')
-rw-r--r--usr/local/www/firewall_rules.php16
1 files changed, 12 insertions, 4 deletions
diff --git a/usr/local/www/firewall_rules.php b/usr/local/www/firewall_rules.php
index 0c63a31..01be3f6 100644
--- a/usr/local/www/firewall_rules.php
+++ b/usr/local/www/firewall_rules.php
@@ -511,6 +511,8 @@ if($_REQUEST['undodrag']) {
$iconfn = "block";
else if ($filterent['type'] == "reject")
$iconfn = "reject";
+ else if ($filterent['type'] == "match")
+ $iconfn = "match";
else
$iconfn = "pass";
if (isset($filterent['disabled'])) {
@@ -829,21 +831,27 @@ if($_REQUEST['undodrag']) {
<table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0" summary="icons">
<tr>
<td width="16"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_pass.gif" width="11" height="11" alt="pass" /></td>
- <td><?=gettext("pass");?></td>
+ <td width="100"><?=gettext("pass");?></td>
+ <td width="14"></td>
+ <td width="16"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_match.gif" width="11" height="11" alt="match" /></td>
+ <td width="100"><?=gettext("match");?></td>
<td width="14"></td>
<td width="16"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_block.gif" width="11" height="11" alt="block" /></td>
- <td><?=gettext("block");?></td>
+ <td width="100"><?=gettext("block");?></td>
<td width="14"></td>
<td width="16"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_reject.gif" width="11" height="11" alt="reject" /></td>
- <td><?=gettext("reject");?></td>
+ <td width="100"><?=gettext("reject");?></td>
<td width="14"></td>
<td width="16"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_log.gif" width="11" height="11" alt="log" /></td>
- <td><?=gettext("log");?></td>
+ <td width="100"><?=gettext("log");?></td>
</tr>
<tr>
<td><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_pass_d.gif" width="11" height="11" alt="pass disabled" /></td>
<td class="nowrap"><?=gettext("pass (disabled)");?></td>
<td>&nbsp;</td>
+ <td><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_match_d.gif" width="11" height="11" alt="match disabled" /></td>
+ <td class="nowrap"><?=gettext("match (disabled)");?></td>
+ <td>&nbsp;</td>
<td><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_block_d.gif" width="11" height="11" alt="block disabled" /></td>
<td class="nowrap"><?=gettext("block (disabled)");?></td>
<td>&nbsp;</td>
OpenPOWER on IntegriCloud