diff options
author | Renato Botelho <renato@netgate.com> | 2016-01-19 10:28:51 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-01-19 10:28:51 -0200 |
commit | 1e79bb3a30f04acd44ba5505c487973d07fdf182 (patch) | |
tree | be62990277896ede1cbe9b9eccea1b0246dc81be /src/usr/local | |
parent | ebe7b5a53b26133187dc95329a2b107c9adde2b1 (diff) | |
parent | 5db29ca79323a2d7e8b002f66f08168f2a797e7a (diff) | |
download | pfsense-1e79bb3a30f04acd44ba5505c487973d07fdf182.zip pfsense-1e79bb3a30f04acd44ba5505c487973d07fdf182.tar.gz |
Merge pull request #2475 from phil-davis/patch-2
Diffstat (limited to 'src/usr/local')
-rw-r--r-- | src/usr/local/www/firewall_rules.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/usr/local/www/firewall_rules.php b/src/usr/local/www/firewall_rules.php index 615f3bc..f416353 100644 --- a/src/usr/local/www/firewall_rules.php +++ b/src/usr/local/www/firewall_rules.php @@ -528,7 +528,7 @@ for ($i = 0; isset($a_filter[$i]); $i++): $image = ""; if (!isset($filterent['disabled'])) { if ($schedstatus) { - if ($iconfn == "block" || $iconfn == "reject") { + if ($filterent['type'] == "block" || $filterent['type'] == "reject") { $image = "times-circle"; $dispcolor = "text-danger"; $alttext = gettext("Traffic matching this rule is currently being denied"); @@ -539,13 +539,13 @@ for ($i = 0; isset($a_filter[$i]); $i++): } $printicon = true; } else if ($filterent['sched']) { - if ($iconfn == "block" || $iconfn == "reject") { + if ($filterent['type'] == "block" || $filterent['type'] == "reject") { $image = "times-circle"; } else { - $image = "times-circle"; + $image = "play-circle"; } $alttext = gettext("This rule is not currently active because its period has expired"); - $dispcolor = "text-danger"; + $dispcolor = "text-warning"; $printicon = true; } } |