diff options
author | Phil Davis <phil.davis@inf.org> | 2015-09-01 01:08:25 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2015-09-01 01:08:25 +0545 |
commit | e6f34d22cf841af5ee8cfeba9f71a9729dc113d9 (patch) | |
tree | 5f8b896bd756d3e322ba90cfd1df36781f9322fd /src/usr/local/www/firewall_virtual_ip.php | |
parent | 683ba309d50913828decb5fe3f6ade059c1dfab2 (diff) | |
download | pfsense-e6f34d22cf841af5ee8cfeba9f71a9729dc113d9.zip pfsense-e6f34d22cf841af5ee8cfeba9f71a9729dc113d9.tar.gz |
bootstrap usr\local\www\f minor changes
Diffstat (limited to 'src/usr/local/www/firewall_virtual_ip.php')
-rw-r--r-- | src/usr/local/www/firewall_virtual_ip.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/usr/local/www/firewall_virtual_ip.php b/src/usr/local/www/firewall_virtual_ip.php index e321603..ca80307 100644 --- a/src/usr/local/www/firewall_virtual_ip.php +++ b/src/usr/local/www/firewall_virtual_ip.php @@ -127,7 +127,7 @@ if ($_GET['act'] == "del") { /* make sure no inbound NAT mappings reference this entry */ if (is_array($config['nat']['rule'])) { foreach ($config['nat']['rule'] as $rule) { - if($rule['destination']['address'] != "") { + if ($rule['destination']['address'] != "") { if ($rule['destination']['address'] == $a_vip[$_GET['id']]['subnet']) { $input_errors[] = gettext("This entry cannot be deleted because it is still referenced by at least one NAT mapping."); break; @@ -272,7 +272,7 @@ $types = array('proxyarp' => 'Proxy ARP', 'ipalias' => 'IP Alias' ); -$pgtitle = array(gettext("Firewall"),gettext("Virtual IP Addresses")); +$pgtitle = array(gettext("Firewall"), gettext("Virtual IP Addresses")); include("head.inc"); if ($input_errors) @@ -314,20 +314,20 @@ $interfaces['lo0'] = "Localhost"; $i = 0; foreach ($a_vip as $vipent): - if( $vipent['subnet'] != "" or $vipent['range'] != "" or - $vipent['subnet_bits'] != "" or (isset($vipent['range']['from']) && $vipent['range']['from'] != "")): + if ($vipent['subnet'] != "" or $vipent['range'] != "" or + $vipent['subnet_bits'] != "" or (isset($vipent['range']['from']) && $vipent['range']['from'] != "")): ?> <tr> <td> <?php if (($vipent['type'] == "single") || ($vipent['type'] == "network")) - if($vipent['subnet_bits']) + if ($vipent['subnet_bits']) print("{$vipent['subnet']}/{$vipent['subnet_bits']}"); if ($vipent['type'] == "range") print("{$vipent['range']['from']}-{$vipent['range']['to']}"); - if($vipent['mode'] == "carp") + if ($vipent['mode'] == "carp") print(" (vhid: {$vipent['vhid']})"); ?> </td> |