summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_virtual_ip.php
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2007-05-08 22:09:06 +0000
committerSeth Mos <seth.mos@xs4all.nl>2007-05-08 22:09:06 +0000
commitd415d821536c6a8e3689fcb344690169b9eac374 (patch)
treec015c28b00acc6ba6457329066f1d9b014cd45be /usr/local/www/firewall_virtual_ip.php
parent0baa37c501e15aa104298c302fa43e45395edcab (diff)
downloadpfsense-d415d821536c6a8e3689fcb344690169b9eac374.zip
pfsense-d415d821536c6a8e3689fcb344690169b9eac374.tar.gz
Add a plus button on the top header of these pages.
This to make it easier on large configurations.
Diffstat (limited to 'usr/local/www/firewall_virtual_ip.php')
-rwxr-xr-xusr/local/www/firewall_virtual_ip.php13
1 files changed, 11 insertions, 2 deletions
diff --git a/usr/local/www/firewall_virtual_ip.php b/usr/local/www/firewall_virtual_ip.php
index 352048b..bfd5c07 100755
--- a/usr/local/www/firewall_virtual_ip.php
+++ b/usr/local/www/firewall_virtual_ip.php
@@ -117,8 +117,15 @@ include("head.inc");
<td width="30%" class="listhdrr">Virtual IP address</td>
<td width="10%" class="listhdrr">Type</td>
<td width="40%" class="listhdr">Description</td>
- <td width="10%" class="list"></td>
- </tr>
+ <td width="10%" class="list">
+ <table border="0" cellspacing="0" cellpadding="1">
+ <tr>
+ <td width="17"></td>
+ <td valign="middle"><a href="firewall_virtual_ip_edit.php"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" width="17" height="17" border="0"></a></td>
+ </tr>
+ </table>
+ </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'] <> ""): ?>
@@ -129,6 +136,7 @@ include("head.inc");
if ($vipent['type'] == "range")
echo "{$vipent['range']['from']}-{$vipent['range']['to']}";
?>
+ <?php if($vipent['mode'] == "carp") echo " (vhid {$vipent['vhid']})"; ?>
</td>
<td class="listlr" align="center" ondblclick="document.location='firewall_virtual_ip_edit.php?id=<?=$i;?>';">
<? if($vipent['mode'] == "proxyarp") echo "<img src='./themes/".$g['theme']."/images/icons/icon_parp.gif' title='Proxy ARP'>"; elseif($vipent['mode'] == "carp") echo "<img src='./themes/".$g['theme']."/images/icons/icon_carp.gif' title='CARP'>"; elseif($vipent['mode'] == "other") echo "<img src='./themes/".$g['theme']."/images/icons/icon_other.gif' title='Other'>";?>
@@ -152,6 +160,7 @@ include("head.inc");
<td class="list">
<table border="0" cellspacing="0" cellpadding="1">
<tr>
+ <td width="17"></td>
<td valign="middle"><a href="firewall_virtual_ip_edit.php"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" width="17" height="17" border="0"></a></td>
</tr>
</table>
OpenPOWER on IntegriCloud