summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-11-04 21:29:15 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-11-04 21:29:15 +0000
commit21784301d234d56963e136d0c57e70d1193ac792 (patch)
tree2567e9c83c7dbc0f92152721fb30749bd19a797e /usr
parent11c9bb94dbc1c4c0974adc6c9dfd95349fddd9a3 (diff)
downloadpfsense-21784301d234d56963e136d0c57e70d1193ac792.zip
pfsense-21784301d234d56963e136d0c57e70d1193ac792.tar.gz
Do not show blank entries
Ticket #664
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/firewall_virtual_ip.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/www/firewall_virtual_ip.php b/usr/local/www/firewall_virtual_ip.php
index 1bf1ec9..0d16091 100755
--- a/usr/local/www/firewall_virtual_ip.php
+++ b/usr/local/www/firewall_virtual_ip.php
@@ -119,6 +119,8 @@ include("head.inc");
<td width="10%" class="list"></td>
</tr>
<?php $i = 0; foreach ($a_vip as $vipent): ?>
+ <?php if($vipent['subnet'] <> "" or $vipent['range'] <> "" or
+ $vipent['subnet_bits'] <> "" or $vipent['range']['from'] <> ""): ?>
<tr>
<td class="listlr" ondblclick="document.location='firewall_virtual_ip_edit.php?id=<?=$i;?>';">
<?php if (($vipent['type'] == "single") || ($vipent['type'] == "network"))
@@ -142,6 +144,7 @@ include("head.inc");
</table>
</td>
</tr>
+ <?php endif; ?>
<?php $i++; endforeach; ?>
<tr>
<td class="list" colspan="3"></td>
OpenPOWER on IntegriCloud